Class: Cadenya::Models::AIProviderKeySpec::Config::OpenAI
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::AIProviderKeySpec::Config::OpenAI
- Defined in:
- lib/cadenya/models/ai_provider_key_spec.rb,
sig/cadenya/models/ai_provider_key_spec.rbs
Overview
Instance Attribute Summary collapse
-
#organization_id ⇒ String?
Sent as the OpenAI-Organization header when set.
-
#project_id ⇒ String?
Sent as the OpenAI-Project header when set.
Instance Method Summary collapse
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 ⇒ Object
90 |
# File 'sig/cadenya/models/ai_provider_key_spec.rbs', line 90
def initialize: (
|
Instance Attribute Details
#organization_id ⇒ String?
Sent as the OpenAI-Organization header when set.
86 |
# File 'lib/cadenya/models/ai_provider_key_spec.rb', line 86 optional :organization_id, String, api_name: :organizationId |
#project_id ⇒ String?
Sent as the OpenAI-Project header when set.
92 |
# File 'lib/cadenya/models/ai_provider_key_spec.rb', line 92 optional :project_id, String, api_name: :projectId |
Instance Method Details
#to_hash ⇒ { organization_id: String, project_id: String }
95 |
# File 'sig/cadenya/models/ai_provider_key_spec.rbs', line 95
def to_hash: -> { organization_id: String, project_id: String }
|