struct
ACP::Protocol::SessionSetConfigOptionResult
- ACP::Protocol::SessionSetConfigOptionResult
- Struct
- Value
- Object
Overview
Result of the session/set_config_option method (Agent → Client).
The response always contains the complete configuration state.
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(config_options : Array(ConfigOption) = [] of ConfigOption, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#config_options : Array(ConfigOption)
The full set of configuration options and their current values (required).
-
#config_options=(config_options : Array(ConfigOption))
The full set of configuration options and their current values (required).
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
Constructor Detail
def self.new(config_options : Array(ConfigOption) = [] of ConfigOption, meta : Hash(String, JSON::Any) | Nil = nil)
#
Instance Method Detail
def config_options : Array(ConfigOption)
#
The full set of configuration options and their current values (required).
def config_options=(config_options : Array(ConfigOption))
#
The full set of configuration options and their current values (required).