# 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/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/Session_.java#L12
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-session_-session_/

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

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.
