struct
ACP::Protocol::SessionListParams
- ACP::Protocol::SessionListParams
- Struct
- Value
- Object
Overview
Params for the session/list method (Client → Agent).
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(cwd : String | Nil = nil, cursor : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#cursor : String | Nil
Optional pagination cursor from a previous
nextCursorresponse. -
#cursor=(cursor : String | Nil)
Optional pagination cursor from a previous
nextCursorresponse. -
#cwd : String | Nil
Optional filter: only return sessions with this working directory.
-
#cwd=(cwd : String | Nil)
Optional filter: only return sessions with this working directory.
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
Constructor Detail
def self.new(cwd : String | Nil = nil, cursor : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
#
Instance Method Detail
def cursor=(cursor : String | Nil)
#
Optional pagination cursor from a previous nextCursor response.