struct
ACP::Protocol::SessionUpdateParams
- ACP::Protocol::SessionUpdateParams
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/updates.crConstructors
- .new(session_id : String, update : SessionUpdate, meta : Hash(String, JSON::Any) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#session_id : String
The session this update belongs to.
-
#session_id=(session_id : String)
The session this update belongs to.
-
#update : SessionUpdate
The update payload.
-
#update=(update : SessionUpdate)
The update payload.
Constructor Detail
def self.new(session_id : String, update : SessionUpdate, meta : Hash(String, JSON::Any) | Nil = nil)
#
Instance Method Detail
def update : SessionUpdate
#
The update payload. Deserialized using the "sessionUpdate" discriminator.
def update=(update : SessionUpdate)
#
The update payload. Deserialized using the "sessionUpdate" discriminator.