class Ittybit::AutomationListResponseItem

def initialize(id:, trigger:, workflow:, status:, created:, updated:, name: OMIT, description: OMIT,

Returns:
  • (Ittybit::AutomationListResponseItem) -

Parameters:
  • additional_properties (OpenStruct) -- Additional properties unmapped to the current class definition
  • updated (DateTime) --
  • created (DateTime) --
  • status (Ittybit::AutomationListResponseItemStatus) --
  • workflow (Array) --
  • trigger (Ittybit::AutomationListResponseItemTrigger) --
  • description (String) --
  • name (String) --
  • id (String) --
def initialize(id:, trigger:, workflow:, status:, created:, updated:, name: OMIT, description: OMIT,
               additional_properties: nil)
  @id = id
  @name = name if name != OMIT
  @description = description if description != OMIT
  @trigger = trigger
  @workflow = workflow
  @status = status
  @created = created
  @updated = updated
  @additional_properties = additional_properties
  @_field_set = {
    "id": id,
    "name": name,
    "description": description,
    "trigger": trigger,
    "workflow": workflow,
    "status": status,
    "created": created,
    "updated": updated
  }.reject do |_k, v|
    v == OMIT
  end
end