Class: Telnyx::Models::HTTP::Request
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::HTTP::Request
- Defined in:
- lib/telnyx/models/http.rb,
sig/telnyx/models/http.rbs
Overview
Instance Attribute Summary collapse
-
#headers ⇒ Array<Array<String>>?
List of headers, limited to 10kB.
- #url ⇒ String?
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
36 |
# File 'sig/telnyx/models/http.rbs', line 36
def initialize: (
|
Instance Attribute Details
#headers ⇒ Array<Array<String>>?
List of headers, limited to 10kB.
31 |
# File 'lib/telnyx/models/http.rb', line 31 optional :headers, Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::ArrayOf[String]] |
#url ⇒ String?
36 |
# File 'lib/telnyx/models/http.rb', line 36 optional :url, String |
Instance Method Details
#to_hash ⇒ { headers: ::Array[::Array[String]], url: String }
41 |
# File 'sig/telnyx/models/http.rbs', line 41
def to_hash: -> { headers: ::Array[::Array[String]], url: String }
|