Class: Telnyx::Models::Attempt
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Attempt
- Defined in:
- lib/telnyx/models/attempt.rb
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#errors ⇒ Array<Integer>?
Webhook delivery error codes.
-
#finished_at ⇒ Time?
ISO 8601 timestamp indicating when the attempt has finished.
-
#http ⇒ Telnyx::Models::HTTP?
HTTP request and response information.
-
#started_at ⇒ Time?
ISO 8601 timestamp indicating when the attempt was initiated.
- #status ⇒ Symbol, ...
Instance Method Summary collapse
-
#initialize(errors: nil, finished_at: nil, http: nil, started_at: nil, status: nil) ⇒ Object
constructor
Webhook delivery attempt details.
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(errors: nil, finished_at: nil, http: nil, started_at: nil, status: nil) ⇒ Object
Webhook delivery attempt details.
|
|
# File 'lib/telnyx/models/attempt.rb', line 35
|
Instance Attribute Details
#errors ⇒ Array<Integer>?
Webhook delivery error codes.
10 |
# File 'lib/telnyx/models/attempt.rb', line 10 optional :errors, Telnyx::Internal::Type::ArrayOf[Integer] |
#finished_at ⇒ Time?
ISO 8601 timestamp indicating when the attempt has finished.
16 |
# File 'lib/telnyx/models/attempt.rb', line 16 optional :finished_at, Time |
#http ⇒ Telnyx::Models::HTTP?
HTTP request and response information.
22 |
# File 'lib/telnyx/models/attempt.rb', line 22 optional :http, -> { Telnyx::HTTP } |
#started_at ⇒ Time?
ISO 8601 timestamp indicating when the attempt was initiated.
28 |
# File 'lib/telnyx/models/attempt.rb', line 28 optional :started_at, Time |