Class: Cadenya::Models::AIProviderKeySpec::Config::OpenAICompatible
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::AIProviderKeySpec::Config::OpenAICompatible
- Defined in:
- lib/cadenya/models/ai_provider_key_spec.rb,
sig/cadenya/models/ai_provider_key_spec.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ OpenAICompatible
constructor
A new instance of OpenAICompatible.
- #to_hash ⇒ { base_url: String }
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 ⇒ OpenAICompatible
Returns a new instance of OpenAICompatible.
105 |
# File 'sig/cadenya/models/ai_provider_key_spec.rbs', line 105
def initialize: (?base_url: String) -> void
|
Instance Attribute Details
#base_url ⇒ String?
107 |
# File 'lib/cadenya/models/ai_provider_key_spec.rb', line 107 optional :base_url, String, api_name: :baseUrl |
Instance Method Details
#to_hash ⇒ { base_url: String }
107 |
# File 'sig/cadenya/models/ai_provider_key_spec.rbs', line 107
def to_hash: -> { base_url: String }
|