struct
ACP::Protocol::SessionSetConfigOptionParams
- ACP::Protocol::SessionSetConfigOptionParams
- Struct
- Value
- Object
Overview
Params for the session/set_config_option method (Client → Agent).
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/types.crConstructors
- .new(session_id : String, config_id : String, value : String, meta : Hash(String, JSON::Any) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#config_id : String
The ID of the configuration option to change (required).
-
#config_id=(config_id : String)
The ID of the configuration option to change (required).
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#session_id : String
The session to set the config option for (required).
-
#session_id=(session_id : String)
The session to set the config option for (required).
-
#value : String
The new value to set (required).
-
#value=(value : String)
The new value to set (required).
Constructor Detail
def self.new(session_id : String, config_id : String, value : String, meta : Hash(String, JSON::Any) | Nil = nil)
#
Instance Method Detail
def value : String
#
The new value to set (required). Must be one of the values listed in the option's options array.
def value=(value : String)
#
The new value to set (required). Must be one of the values listed in the option's options array.