Class: Orb::Models::DataExportsTransferErrorWebhookEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/orb/models/data_exports_transfer_error_webhook_event.rb,
sig/orb/models/data_exports_transfer_error_webhook_event.rbs

Defined Under Namespace

Modules: Type Classes: Properties

Instance Attribute 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(description:, destination_name:, resources:, rows_transferred:, transfer_blamed_party:, transfer_ended_at:, transfer_started_at:) ⇒ Object

Parameters:



# File 'lib/orb/models/data_exports_transfer_error_webhook_event.rb', line 29

Instance Attribute Details

#created_at ⇒ Time

The time at which this event was created, to the second.

Parameters:

Returns:



16
# File 'lib/orb/models/data_exports_transfer_error_webhook_event.rb', line 16

required :created_at, Time

#id ⇒ String

The ID of this webhook event.

Parameters:

Returns:



10
# File 'lib/orb/models/data_exports_transfer_error_webhook_event.rb', line 10

required :id, String

#properties ⇒ Orb::Models::DataExportsTransferErrorWebhookEvent::Properties

Parameters:

Returns:



21
# File 'lib/orb/models/data_exports_transfer_error_webhook_event.rb', line 21

required :properties, -> { Orb::DataExportsTransferErrorWebhookEvent::Properties }

#type ⇒ Symbol, Orb::Models::DataExportsTransferErrorWebhookEvent::Type

The event this payload describes.

Parameters:

Returns:



27
# File 'lib/orb/models/data_exports_transfer_error_webhook_event.rb', line 27

required :type, enum: -> { Orb::DataExportsTransferErrorWebhookEvent::Type }

Instance Method Details

#to_hash ⇒ {

Returns:



27
# File 'sig/orb/models/data_exports_transfer_error_webhook_event.rbs', line 27

def to_hash: -> {