Class: Cadenya::Models::Model::Info
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Model::Info
- Defined in:
- lib/cadenya/models/model.rb,
sig/cadenya/models/model.rbs
Overview
Instance Attribute Summary collapse
-
#agent_variation_count ⇒ Integer?
readonly
Returns the value of attribute agent_variation_count.
-
#ai_provider_key ⇒ Cadenya::AIProviderKey?
readonly
Returns the value of attribute ai_provider_key.
-
#last_used_at ⇒ Time?
readonly
Returns the value of attribute last_used_at.
Instance Method Summary collapse
- #agent_variation_count ⇒ Integer readonly
- #ai_provider_key ⇒ Cadenya::AIProviderKey readonly
-
#initialize(agent_variation_count: nil, ai_provider_key: nil, last_used_at: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Info for more details.
- #last_used_at ⇒ Time readonly
- #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(agent_variation_count: nil, ai_provider_key: nil, last_used_at: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::Model::Info for more details.
ModelInfo carries server-derived, read-only details about a model.
|
|
# File 'lib/cadenya/models/model.rb', line 87
|
Instance Attribute Details
#agent_variation_count ⇒ Integer? (readonly)
Returns the value of attribute agent_variation_count.
56 57 58 |
# File 'sig/cadenya/models/model.rbs', line 56 def agent_variation_count @agent_variation_count end |
#ai_provider_key ⇒ Cadenya::AIProviderKey? (readonly)
Returns the value of attribute ai_provider_key.
60 61 62 |
# File 'sig/cadenya/models/model.rbs', line 60 def ai_provider_key @ai_provider_key end |
#last_used_at ⇒ Time? (readonly)
Returns the value of attribute last_used_at.
64 65 66 |
# File 'sig/cadenya/models/model.rbs', line 64 def last_used_at @last_used_at end |
Instance Method Details
#agent_variation_count= ⇒ Integer (readonly)
58 |
# File 'sig/cadenya/models/model.rbs', line 58
def agent_variation_count=: (Integer) -> Integer
|
#ai_provider_key= ⇒ Cadenya::AIProviderKey (readonly)
62 |
# File 'sig/cadenya/models/model.rbs', line 62
def ai_provider_key=: (Cadenya::AIProviderKey) -> Cadenya::AIProviderKey
|
#last_used_at= ⇒ Time (readonly)
66 |
# File 'sig/cadenya/models/model.rbs', line 66
def last_used_at=: (Time) -> Time
|
#to_hash ⇒ {
74 |
# File 'sig/cadenya/models/model.rbs', line 74
def to_hash: -> {
|