Class: Believe::Models::WebhookTriggerEventParams::Payload::MatchCompleted
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Believe::Models::WebhookTriggerEventParams::Payload::MatchCompleted
- Defined in:
- lib/believe/models/webhook_trigger_event_params.rb
Defined Under Namespace
Modules: EventType Classes: Data
Instance Attribute Summary collapse
-
#data ⇒ ::Believe::Models::WebhookTriggerEventParams::Payload::MatchCompleted::Data
Event data.
-
#event_type ⇒ Symbol, ...
The type of webhook event.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data:, event_type: nil) ⇒ Object
constructor
Payload for match.completed event.
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(data:, event_type: nil) ⇒ Object
Payload for match.completed event.
|
|
# File 'lib/believe/models/webhook_trigger_event_params.rb', line 67
|
Instance Attribute Details
#data ⇒ ::Believe::Models::WebhookTriggerEventParams::Payload::MatchCompleted::Data
Event data
58 |
# File 'lib/believe/models/webhook_trigger_event_params.rb', line 58 required :data, -> { ::Believe::WebhookTriggerEventParams::Payload::MatchCompleted::Data } |
#event_type ⇒ Symbol, ...
The type of webhook event
64 65 |
# File 'lib/believe/models/webhook_trigger_event_params.rb', line 64 optional :event_type, enum: -> { ::Believe::WebhookTriggerEventParams::Payload::MatchCompleted::EventType } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/believe/models/webhook_trigger_event_params.rb', line 194
|