Class: Cadenya::Models::AIProviderKeySpec::Credentials::Headers
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::AIProviderKeySpec::Credentials::Headers
- 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 ⇒ Headers
constructor
A new instance of Headers.
- #to_hash ⇒ { headers: ::Hash[Symbol, 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 ⇒ Headers
Returns a new instance of Headers.
171 |
# File 'sig/cadenya/models/ai_provider_key_spec.rbs', line 171
def initialize: (?headers: ::Hash[Symbol, String]) -> void
|
Instance Attribute Details
#headers ⇒ Hash{Symbol=>String}?
177 |
# File 'lib/cadenya/models/ai_provider_key_spec.rb', line 177 optional :headers, Cadenya::Internal::Type::HashOf[String] |
Instance Method Details
#to_hash ⇒ { headers: ::Hash[Symbol, String] }
173 |
# File 'sig/cadenya/models/ai_provider_key_spec.rbs', line 173
def to_hash: -> { headers: ::Hash[Symbol, String] }
|