Class: Cadenya::Models::ToolSets::ToolSpecConfigMCP
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ToolSets::ToolSpecConfigMCP
- Defined in:
- lib/cadenya/models/tool_sets/tool_spec_config_mcp.rb,
sig/cadenya/models/tool_sets/tool_spec_config_mcp.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
- #mcp ⇒ Cadenya::Models::ToolSets::ConfigMCP
- #type ⇒ Symbol, Cadenya::Models::ToolSets::ToolSpecConfigMCP::Type
Instance Method Summary collapse
- #initialize(mcp:, type:) ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(mcp:, type:) ⇒ Object
|
|
# File 'lib/cadenya/models/tool_sets/tool_spec_config_mcp.rb', line 17
|
Instance Attribute Details
#mcp ⇒ Cadenya::Models::ToolSets::ConfigMCP
10 |
# File 'lib/cadenya/models/tool_sets/tool_spec_config_mcp.rb', line 10 required :mcp, -> { Cadenya::ToolSets::ConfigMCP } |
#type ⇒ Symbol, Cadenya::Models::ToolSets::ToolSpecConfigMCP::Type
15 |
# File 'lib/cadenya/models/tool_sets/tool_spec_config_mcp.rb', line 15 required :type, enum: -> { Cadenya::ToolSets::ToolSpecConfigMCP::Type } |
Instance Method Details
#to_hash ⇒ {
20 |
# File 'sig/cadenya/models/tool_sets/tool_spec_config_mcp.rbs', line 20
def to_hash: -> {
|