Class: Lithic::Models::MessageAttempt
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::MessageAttempt
- Defined in:
- lib/lithic/models/message_attempt.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#created ⇒ Time
An RFC 3339 timestamp for when the event was created.
-
#event_subscription_token ⇒ String
Globally unique identifier.
-
#event_token ⇒ String
Globally unique identifier.
-
#response ⇒ String
The response body from the event subscription’s URL.
-
#response_status_code ⇒ Integer
The response status code from the event subscription’s URL.
-
#status ⇒ Symbol, Lithic::Models::MessageAttempt::Status
The status of the event attempt.
-
#token ⇒ String
Globally unique identifier.
- #url ⇒ String
Instance Method Summary collapse
-
#initialize(token:, created:, event_subscription_token:, event_token:, response:, response_status_code:, status:, url:) ⇒ Object
constructor
Some parameter documentations has been truncated, see MessageAttempt for more 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(token:, created:, event_subscription_token:, event_token:, response:, response_status_code:, status:, url:) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::MessageAttempt for more details.
A subscription to specific event types.
|
|
# File 'lib/lithic/models/message_attempt.rb', line 56
|
Instance Attribute Details
#created ⇒ Time
An RFC 3339 timestamp for when the event was created. UTC time zone.
If no timezone is specified, UTC will be used.
19 |
# File 'lib/lithic/models/message_attempt.rb', line 19 required :created, Time |
#event_subscription_token ⇒ String
Globally unique identifier.
25 |
# File 'lib/lithic/models/message_attempt.rb', line 25 required :event_subscription_token, String |
#event_token ⇒ String
Globally unique identifier.
31 |
# File 'lib/lithic/models/message_attempt.rb', line 31 required :event_token, String |
#response ⇒ String
The response body from the event subscription’s URL.
37 |
# File 'lib/lithic/models/message_attempt.rb', line 37 required :response, String |
#response_status_code ⇒ Integer
The response status code from the event subscription’s URL.
43 |
# File 'lib/lithic/models/message_attempt.rb', line 43 required :response_status_code, Integer |
#status ⇒ Symbol, Lithic::Models::MessageAttempt::Status
The status of the event attempt.
49 |
# File 'lib/lithic/models/message_attempt.rb', line 49 required :status, enum: -> { Lithic::MessageAttempt::Status } |
#token ⇒ String
Globally unique identifier.
11 |
# File 'lib/lithic/models/message_attempt.rb', line 11 required :token, String |
#url ⇒ String
54 |
# File 'lib/lithic/models/message_attempt.rb', line 54 required :url, String |