Class: Cadenya::Models::ToolSetInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ToolSetInfo
- Defined in:
- lib/cadenya/models/tool_set_info.rb,
sig/cadenya/models/tool_set_info.rbs
Instance Attribute Summary collapse
-
#agent_count ⇒ Integer?
readonly
Returns the value of attribute agent_count.
- #available_tools ⇒ Integer?
-
#created_by ⇒ Cadenya::Models::Profile?
A profile identifies a user or non-human principal (such as an API key) at the account level.
-
#last_sync ⇒ Time?
readonly
Returns the value of attribute last_sync.
- #omitted_tools ⇒ Integer?
-
#tool_count ⇒ Integer?
readonly
Returns the value of attribute tool_count.
Instance Method Summary collapse
- #agent_count ⇒ Integer readonly
-
#initialize(agent_count: nil, available_tools: nil, created_by: nil, last_sync: nil, omitted_tools: nil, tool_count: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ToolSetInfo for more details.
- #last_sync ⇒ Time readonly
- #to_hash ⇒ {
- #tool_count ⇒ Integer readonly
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(agent_count: nil, available_tools: nil, created_by: nil, last_sync: nil, omitted_tools: nil, tool_count: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::ToolSetInfo for more details.
|
|
# File 'lib/cadenya/models/tool_set_info.rb', line 41
|
Instance Attribute Details
#agent_count ⇒ Integer? (readonly)
Returns the value of attribute agent_count.
26 27 28 |
# File 'sig/cadenya/models/tool_set_info.rbs', line 26 def agent_count @agent_count end |
#available_tools ⇒ Integer?
9 |
# File 'lib/cadenya/models/tool_set_info.rb', line 9 optional :available_tools, Integer, api_name: :availableTools |
#created_by ⇒ Cadenya::Models::Profile?
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
17 |
# File 'lib/cadenya/models/tool_set_info.rb', line 17 optional :created_by, -> { Cadenya::Profile }, api_name: :createdBy |
#last_sync ⇒ Time? (readonly)
Returns the value of attribute last_sync.
30 31 32 |
# File 'sig/cadenya/models/tool_set_info.rbs', line 30 def last_sync @last_sync end |
#omitted_tools ⇒ Integer?
22 |
# File 'lib/cadenya/models/tool_set_info.rb', line 22 optional :omitted_tools, Integer, api_name: :omittedTools |
#tool_count ⇒ Integer? (readonly)
Returns the value of attribute tool_count.
34 35 36 |
# File 'sig/cadenya/models/tool_set_info.rbs', line 34 def tool_count @tool_count end |
Instance Method Details
#agent_count= ⇒ Integer (readonly)
28 |
# File 'sig/cadenya/models/tool_set_info.rbs', line 28
def agent_count=: (Integer) -> Integer
|
#last_sync= ⇒ Time (readonly)
32 |
# File 'sig/cadenya/models/tool_set_info.rbs', line 32
def last_sync=: (Time) -> Time
|
#to_hash ⇒ {
47 |
# File 'sig/cadenya/models/tool_set_info.rbs', line 47
def to_hash: -> {
|
#tool_count= ⇒ Integer (readonly)
36 |
# File 'sig/cadenya/models/tool_set_info.rbs', line 36
def tool_count=: (Integer) -> Integer
|