struct ACP::Protocol::SessionSetConfigOptionParams

Overview

Params for the session/set_config_option method (Client → Agent).

Included Modules

Defined in:

acp/protocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]

Instance Method Detail

def config_id : String #

The ID of the configuration option to change (required).


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

The ID of the configuration option to change (required).


[View source]
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 to set the config option for (required).


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

The session to set the config option for (required).


[View source]
def value : String #

The new value to set (required). Must be one of the values listed in the option's options array.


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

The new value to set (required). Must be one of the values listed in the option's options array.


[View source]