Class: Cadenya::Types::AgentVariationSpec_ProgressiveDiscovery
- Inherits:
-
Object
- Object
- Cadenya::Types::AgentVariationSpec_ProgressiveDiscovery
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#hints ⇒ Object
readonly
Returns the value of attribute hints.
-
#max_tools ⇒ Object
readonly
Returns the value of attribute max_tools.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_tools: nil, hints: nil) ⇒ AgentVariationSpec_ProgressiveDiscovery
constructor
A new instance of AgentVariationSpec_ProgressiveDiscovery.
- #to_h ⇒ Object
Constructor Details
#initialize(max_tools: nil, hints: nil) ⇒ AgentVariationSpec_ProgressiveDiscovery
Returns a new instance of AgentVariationSpec_ProgressiveDiscovery.
818 819 820 821 |
# File 'lib/cadenya/types.rb', line 818 def initialize(max_tools: nil, hints: nil) @max_tools = max_tools @hints = hints end |
Instance Attribute Details
#hints ⇒ Object (readonly)
Returns the value of attribute hints.
816 817 818 |
# File 'lib/cadenya/types.rb', line 816 def hints @hints end |
#max_tools ⇒ Object (readonly)
Returns the value of attribute max_tools.
816 817 818 |
# File 'lib/cadenya/types.rb', line 816 def max_tools @max_tools end |
Class Method Details
.from_json(data) ⇒ Object
823 824 825 826 827 828 |
# File 'lib/cadenya/types.rb', line 823 def self.from_json(data) new( max_tools: data["maxTools"], hints: data["hints"], ) end |