Class: Cadenya::Models::AIProviderKey::Info
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::AIProviderKey::Info
- Defined in:
- lib/cadenya/models/ai_provider_key.rb,
sig/cadenya/models/ai_provider_key.rbs
Overview
Instance Attribute Summary collapse
-
#disabled_model_count ⇒ Integer?
readonly
Returns the value of attribute disabled_model_count.
-
#enabled_model_count ⇒ Integer?
readonly
Returns the value of attribute enabled_model_count.
-
#is_promotional ⇒ Boolean?
readonly
Returns the value of attribute is_promotional.
Instance Method Summary collapse
- #disabled_model_count ⇒ Integer readonly
- #enabled_model_count ⇒ Integer readonly
-
#initialize(disabled_model_count: nil, enabled_model_count: nil, is_promotional: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Info for more details.
- #is_promotional ⇒ Boolean 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(disabled_model_count: nil, enabled_model_count: nil, is_promotional: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::AIProviderKey::Info for more details.
AIProviderKeyInfo carries server-derived, read-only details about a key, for AI provider management UIs.
|
|
# File 'lib/cadenya/models/ai_provider_key.rb', line 65
|
Instance Attribute Details
#disabled_model_count ⇒ Integer? (readonly)
Returns the value of attribute disabled_model_count.
39 40 41 |
# File 'sig/cadenya/models/ai_provider_key.rbs', line 39 def disabled_model_count @disabled_model_count end |
#enabled_model_count ⇒ Integer? (readonly)
Returns the value of attribute enabled_model_count.
43 44 45 |
# File 'sig/cadenya/models/ai_provider_key.rbs', line 43 def enabled_model_count @enabled_model_count end |
#is_promotional ⇒ Boolean? (readonly)
Returns the value of attribute is_promotional.
47 48 49 |
# File 'sig/cadenya/models/ai_provider_key.rbs', line 47 def is_promotional @is_promotional end |
Instance Method Details
#disabled_model_count= ⇒ Integer (readonly)
41 |
# File 'sig/cadenya/models/ai_provider_key.rbs', line 41
def disabled_model_count=: (Integer) -> Integer
|
#enabled_model_count= ⇒ Integer (readonly)
45 |
# File 'sig/cadenya/models/ai_provider_key.rbs', line 45
def enabled_model_count=: (Integer) -> Integer
|
#is_promotional= ⇒ Boolean (readonly)
49 |
# File 'sig/cadenya/models/ai_provider_key.rbs', line 49
def is_promotional=: (bool) -> bool
|
#to_hash ⇒ {
57 |
# File 'sig/cadenya/models/ai_provider_key.rbs', line 57
def to_hash: -> {
|