Class: Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::Properties

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

Overview

See Also:

  • Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent#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 ⇒ Properties

Returns a new instance of Properties.

Parameters:

  • completed_at: (Time)
  • started_at: (Time)


41
# File 'sig/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbs', line 41

def initialize: (completed_at: Time, started_at: Time) -> void

Instance Attribute Details

#completed_at ⇒ Time

Parameters:

  • value (Time)

Returns:

  • (Time)


45
# File 'lib/orb/models/invoice_due_date_recalculation_completed_webhook_event.rb', line 45

required :completed_at, Time

#started_at ⇒ Time

Parameters:

  • value (Time)

Returns:

  • (Time)


50
# File 'lib/orb/models/invoice_due_date_recalculation_completed_webhook_event.rb', line 50

required :started_at, Time

Instance Method Details

#to_hash ⇒ { completed_at: Time, started_at: Time }

Returns:

  • ({ completed_at: Time, started_at: Time })


43
# File 'sig/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbs', line 43

def to_hash: -> { completed_at: Time, started_at: Time }