Class: Straddle::Models::PlatformEventV1WebhookEvent::Data::StatusDetail
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::PlatformEventV1WebhookEvent::Data::StatusDetail
- Defined in:
- lib/straddle/models/platform_event_v1_webhook_event.rb,
sig/straddle/models/platform_event_v1_webhook_event.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#code ⇒ String
Machine-readable code for the current platform status.
-
#message ⇒ String
Human-readable explanation of the current platform status.
-
#reason ⇒ Symbol, Straddle::Models::PlatformEventV1WebhookEvent::Data::StatusDetail::Reason
Machine-readable reason for the current platform status.
-
#source ⇒ Symbol, Straddle::Models::PlatformEventV1WebhookEvent::Data::StatusDetail::Source
Source that produced the current platform status.
Class Method Summary collapse
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(code:, message:, reason:, source:) ⇒ Object
|
|
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 145
|
Instance Attribute Details
#code ⇒ String
Machine-readable code for the current platform status.
125 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 125 required :code, String |
#message ⇒ String
Human-readable explanation of the current platform status.
131 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 131 required :message, String |
#reason ⇒ Symbol, Straddle::Models::PlatformEventV1WebhookEvent::Data::StatusDetail::Reason
Machine-readable reason for the current platform status.
137 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 137 required :reason, enum: -> { Straddle::PlatformEventV1WebhookEvent::Data::StatusDetail::Reason } |
#source ⇒ Symbol, Straddle::Models::PlatformEventV1WebhookEvent::Data::StatusDetail::Source
Source that produced the current platform status.
143 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 143 required :source, enum: -> { Straddle::PlatformEventV1WebhookEvent::Data::StatusDetail::Source } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 170
|
Instance Method Details
#to_hash ⇒ {
127 |
# File 'sig/straddle/models/platform_event_v1_webhook_event.rbs', line 127
def to_hash: -> {
|