Class: Telnyx::Models::MessagingError::Source
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MessagingError::Source
- Defined in:
- lib/telnyx/models/messaging_error.rb,
sig/telnyx/models/messaging_error.rbs
Overview
Instance Attribute Summary collapse
-
#parameter ⇒ String?
Indicates which query parameter caused the error.
-
#pointer ⇒ String?
JSON pointer (RFC6901) to the offending entity.
Instance Method Summary collapse
-
#initialize(parameter: nil, pointer: nil) ⇒ Source
constructor
A new instance of Source.
- #to_hash ⇒ { parameter: String, pointer: 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(parameter: nil, pointer: nil) ⇒ Source
Returns a new instance of Source.
|
|
# File 'lib/telnyx/models/messaging_error.rb', line 52
|
Instance Attribute Details
#parameter ⇒ String?
Indicates which query parameter caused the error.
44 |
# File 'lib/telnyx/models/messaging_error.rb', line 44 optional :parameter, String |
#pointer ⇒ String?
JSON pointer (RFC6901) to the offending entity.
50 |
# File 'lib/telnyx/models/messaging_error.rb', line 50 optional :pointer, String |
Instance Method Details
#to_hash ⇒ { parameter: String, pointer: String }
60 |
# File 'sig/telnyx/models/messaging_error.rbs', line 60
def to_hash: -> { parameter: String, pointer: String }
|