Class: Telnyx::Models::TexmlInitiateAICallParams::CustomHeader
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::TexmlInitiateAICallParams::CustomHeader
- Defined in:
- lib/telnyx/models/texml_initiate_ai_call_params.rb,
sig/telnyx/models/texml_initiate_ai_call_params.rbs
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the custom header.
-
#value ⇒ String
The value of the custom header.
Instance Method Summary collapse
-
#initialize ⇒ CustomHeader
constructor
A new instance of CustomHeader.
- #to_hash ⇒ { name: String, value: 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 ⇒ CustomHeader
Returns a new instance of CustomHeader.
352 |
# File 'sig/telnyx/models/texml_initiate_ai_call_params.rbs', line 352
def initialize: (name: String, value: String) -> void
|
Instance Attribute Details
#name ⇒ String
The name of the custom header
425 |
# File 'lib/telnyx/models/texml_initiate_ai_call_params.rb', line 425 required :name, String |
#value ⇒ String
The value of the custom header
431 |
# File 'lib/telnyx/models/texml_initiate_ai_call_params.rb', line 431 required :value, String |
Instance Method Details
#to_hash ⇒ { name: String, value: String }
354 |
# File 'sig/telnyx/models/texml_initiate_ai_call_params.rbs', line 354
def to_hash: -> { name: String, value: String }
|