struct ACP::Protocol::SessionUpdateParams

Included Modules

Defined in:

acp/protocol/updates.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(session_id : String, update : SessionUpdate, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]
def session_id : String #

The session this update belongs to.


[View source]
def session_id=(session_id : String) #

The session this update belongs to.


[View source]
def update : SessionUpdate #

The update payload. Deserialized using the "sessionUpdate" discriminator.


[View source]
def update=(update : SessionUpdate) #

The update payload. Deserialized using the "sessionUpdate" discriminator.


[View source]