# io.github.libtmux.Session_.Session_

- **Module:** io.github.libtmux.Session_
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/Session_.java#L12
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-session_-session_/

Typed fields of {@link Session}, for building an expression that can be read as well as run.

<p>Each field exposes only the operators its type supports, so asking a flag to start with a
string does not compile. Every field names a tmux format, so a backend model can bind the handle
before translating the expression into tmux's own {@code -f} filter.

## Members

- `id` (method) — The session id, as text, so it can be compared and listed.
- `name` (method) — The session name.
- `attached` (method) — Whether a client was attached when this was captured.
- `windows` (method) — This session's windows.
