Class: Straddle::Models::PlatformEventV1WebhookEvent::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::PlatformEventV1WebhookEvent::Data
- Defined in:
- lib/straddle/models/platform_event_v1_webhook_event.rb,
sig/straddle/models/platform_event_v1_webhook_event.rbs
Overview
Defined Under Namespace
Modules: Status Classes: BusinessProfile, StatusDetail
Instance Attribute Summary collapse
- #business_profile ⇒ Straddle::Models::PlatformEventV1WebhookEvent::Data::BusinessProfile?
-
#created_at ⇒ Time?
Timestamp when the platform was created.
-
#external_id ⇒ String?
Your unique identifier for the platform.
-
#id ⇒ String
Unique identifier for the platform.
-
#metadata ⇒ Hash{Symbol=>String, nil}?
Key-value metadata associated with the platform.
-
#status ⇒ Symbol, Straddle::Models::PlatformEventV1WebhookEvent::Data::Status
Current lifecycle status of the platform.
- #status_detail ⇒ Straddle::Models::PlatformEventV1WebhookEvent::Data::StatusDetail
-
#updated_at ⇒ Time?
Timestamp when the platform was last updated.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(id:, status:, status_detail:, business_profile: nil, created_at: nil, external_id: nil, metadata: nil, updated_at: nil) ⇒ Object constructor
- #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:, status:, status_detail:, business_profile: nil, created_at: nil, external_id: nil, metadata: nil, updated_at: nil) ⇒ Object
|
|
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 86
|
Instance Attribute Details
#business_profile ⇒ Straddle::Models::PlatformEventV1WebhookEvent::Data::BusinessProfile?
60 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 60 optional :business_profile, -> { Straddle::PlatformEventV1WebhookEvent::Data::BusinessProfile } |
#created_at ⇒ Time?
Timestamp when the platform was created.
66 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 66 optional :created_at, Time, nil?: true |
#external_id ⇒ String?
Your unique identifier for the platform.
72 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 72 optional :external_id, String, nil?: true |
#id ⇒ String
Unique identifier for the platform.
44 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 44 required :id, String |
#metadata ⇒ Hash{Symbol=>String, nil}?
Key-value metadata associated with the platform.
78 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 78 optional :metadata, Straddle::Internal::Type::HashOf[String, nil?: true], nil?: true |
#status ⇒ Symbol, Straddle::Models::PlatformEventV1WebhookEvent::Data::Status
Current lifecycle status of the platform.
50 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 50 required :status, enum: -> { Straddle::PlatformEventV1WebhookEvent::Data::Status } |
#status_detail ⇒ Straddle::Models::PlatformEventV1WebhookEvent::Data::StatusDetail
55 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 55 required :status_detail, -> { Straddle::PlatformEventV1WebhookEvent::Data::StatusDetail } |
#updated_at ⇒ Time?
Timestamp when the platform was last updated.
84 |
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 84 optional :updated_at, Time, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/straddle/models/platform_event_v1_webhook_event.rb', line 115
|
Instance Method Details
#to_hash ⇒ {
78 |
# File 'sig/straddle/models/platform_event_v1_webhook_event.rbs', line 78
def to_hash: -> {
|