Class: Orb::Models::EventUnmatchedEventWebhookEvent::Properties::Event

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

Overview

See Also:

  • Orb::Models::EventUnmatchedEventWebhookEvent::Properties#event

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 ⇒ Object



71
# File 'sig/orb/models/event_unmatched_event_webhook_event.rbs', line 71

def initialize: (

Instance Attribute Details

#customer_id ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


55
# File 'lib/orb/models/event_unmatched_event_webhook_event.rb', line 55

required :customer_id, String, nil?: true

#event_name ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


60
# File 'lib/orb/models/event_unmatched_event_webhook_event.rb', line 60

required :event_name, String

#external_customer_id ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


65
# File 'lib/orb/models/event_unmatched_event_webhook_event.rb', line 65

required :external_customer_id, String, nil?: true

#idempotency_key ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


70
# File 'lib/orb/models/event_unmatched_event_webhook_event.rb', line 70

required :idempotency_key, String

#properties ⇒ Hash{Symbol=>Object}

Parameters:

  • value (::Hash[Symbol, top])

Returns:

  • (Hash{Symbol=>Object})


75
# File 'lib/orb/models/event_unmatched_event_webhook_event.rb', line 75

required :properties, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]

#timestamp ⇒ Time

Parameters:

  • value (Time)

Returns:

  • (Time)


80
# File 'lib/orb/models/event_unmatched_event_webhook_event.rb', line 80

required :timestamp, Time

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


80
# File 'sig/orb/models/event_unmatched_event_webhook_event.rbs', line 80

def to_hash: -> {