Class: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties::Action::SendEmail

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

Defined Under Namespace

Modules: ActionType

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(recipient:, sent:, action_type: nil) ⇒ Object

Parameters:



# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 228

Instance Attribute Details

#action_type ⇒ Symbol, ...



225
226
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 225

optional :action_type,
enum: -> { Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties::Action::SendEmail::ActionType }

#recipient ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


215
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 215

required :recipient, String, nil?: true

#sent ⇒ Boolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


220
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 220

required :sent, Orb::Internal::Type::Boolean

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


203
# File 'sig/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbs', line 203

def to_hash: -> {