Class: Trycourier::Models::Automations::InvokeInvokeAdHocParams::Automation::Step::AutomationDelayStep

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb

Defined Under Namespace

Modules: Action

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(action: , duration: nil, until_: nil) ⇒ Object

Parameters:



# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 100


Instance Attribute Details

#actionSymbol, Trycourier::Models::Automations::InvokeInvokeAdHocParams::Automation::Step::AutomationDelayStep::Action



87
88
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 87

required :action,
enum: -> { Trycourier::Automations::InvokeInvokeAdHocParams::Automation::Step::AutomationDelayStep::Action }

#durationString?

Returns:

  • (String, nil)


93
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 93

optional :duration, String, nil?: true

#until_String?

Returns:

  • (String, nil)


98
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 98

optional :until_, String, api_name: :until, nil?: true