class Ittybit::Automations::AutomationsUpdateRequestTrigger

def initialize(event: OMIT, conditions: OMIT, additional_properties: nil)

Returns:
  • (Ittybit::Automations::AutomationsUpdateRequestTrigger) -

Parameters:
  • additional_properties (OpenStruct) -- Additional properties unmapped to the current class definition
  • conditions (Array) -- Conditions that must be met for the trigger to activate.
  • event (String) -- The event that triggers the automation
def initialize(event: OMIT, conditions: OMIT, additional_properties: nil)
  @event = event if event != OMIT
  @conditions = conditions if conditions != OMIT
  @additional_properties = additional_properties
  @_field_set = { "event": event, "conditions": conditions }.reject do |_k, v|
    v == OMIT
  end
end