Class: Privy::Models::KrakenEmbedCustomOrderOccurrence
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::KrakenEmbedCustomOrderOccurrence
- Defined in:
- lib/privy/models/kraken_embed_custom_order_occurrence.rb,
sig/privy/models/kraken_embed_custom_order_occurrence.rbs
Instance Attribute Summary collapse
- #created_at ⇒ Time
-
#executed_action ⇒ Privy::Models::KrakenEmbedCustomOrderOccurrenceExecutedAction?
Executed action details for a custom order occurrence.
- #failure_reason ⇒ String?
- #id ⇒ String
- #skip_reason ⇒ String?
-
#status ⇒ Symbol, Privy::Models::KrakenEmbedCustomOrderOccurrenceStatus
Outcome status of a custom order execution occurrence.
-
#trigger ⇒ Privy::Models::KrakenEmbedCustomOrderOccurrenceTrigger
Trigger metadata for a custom order occurrence.
- #updated_at ⇒ Time
Instance Method Summary collapse
-
#initialize(id:, created_at:, status:, trigger:, updated_at:, executed_action: nil, failure_reason: nil, skip_reason: nil) ⇒ Object
constructor
A single execution occurrence of a custom order.
- #to_hash ⇒ {
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(id:, created_at:, status:, trigger:, updated_at:, executed_action: nil, failure_reason: nil, skip_reason: nil) ⇒ Object
A single execution occurrence of a custom order.
|
|
# File 'lib/privy/models/kraken_embed_custom_order_occurrence.rb', line 49
|
Instance Attribute Details
#created_at ⇒ Time
14 |
# File 'lib/privy/models/kraken_embed_custom_order_occurrence.rb', line 14 required :created_at, Time |
#executed_action ⇒ Privy::Models::KrakenEmbedCustomOrderOccurrenceExecutedAction?
Executed action details for a custom order occurrence.
37 |
# File 'lib/privy/models/kraken_embed_custom_order_occurrence.rb', line 37 optional :executed_action, -> { Privy::KrakenEmbedCustomOrderOccurrenceExecutedAction }, nil?: true |
#failure_reason ⇒ String?
42 |
# File 'lib/privy/models/kraken_embed_custom_order_occurrence.rb', line 42 optional :failure_reason, String |
#id ⇒ String
9 |
# File 'lib/privy/models/kraken_embed_custom_order_occurrence.rb', line 9 required :id, String |
#skip_reason ⇒ String?
47 |
# File 'lib/privy/models/kraken_embed_custom_order_occurrence.rb', line 47 optional :skip_reason, String |
#status ⇒ Symbol, Privy::Models::KrakenEmbedCustomOrderOccurrenceStatus
Outcome status of a custom order execution occurrence.
20 |
# File 'lib/privy/models/kraken_embed_custom_order_occurrence.rb', line 20 required :status, enum: -> { Privy::KrakenEmbedCustomOrderOccurrenceStatus } |
#trigger ⇒ Privy::Models::KrakenEmbedCustomOrderOccurrenceTrigger
Trigger metadata for a custom order occurrence.
26 |
# File 'lib/privy/models/kraken_embed_custom_order_occurrence.rb', line 26 required :trigger, -> { Privy::KrakenEmbedCustomOrderOccurrenceTrigger } |
#updated_at ⇒ Time
31 |
# File 'lib/privy/models/kraken_embed_custom_order_occurrence.rb', line 31 required :updated_at, Time |
Instance Method Details
#to_hash ⇒ {
47 |
# File 'sig/privy/models/kraken_embed_custom_order_occurrence.rbs', line 47
def to_hash: -> {
|