# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Logic::Mgmt::V2015_02_01_preview module Models # # Model object. # # class WorkflowTriggerHistory < SubResource include MsRestAzure # @return [DateTime] Gets the start time. attr_accessor :start_time # @return [DateTime] Gets the end time. attr_accessor :end_time # @return [WorkflowStatus] Gets the status. Possible values include: # 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', # 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted' attr_accessor :status # @return [String] Gets the code. attr_accessor :code # @return Gets the error. attr_accessor :error # @return [String] Gets the tracking id. attr_accessor :tracking_id # @return [ContentLink] Gets the link to input parameters. attr_accessor :inputs_link # @return [ContentLink] Gets the link to output parameters. attr_accessor :outputs_link # @return [Boolean] Gets a value indicating whether trigger was fired. attr_accessor :fired # @return [ResourceReference] Gets the reference to workflow run. attr_accessor :run # @return [String] Gets the workflow trigger history name. attr_accessor :name # @return [String] Gets the workflow trigger history type. attr_accessor :type # # Mapper for WorkflowTriggerHistory class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WorkflowTriggerHistory', type: { name: 'Composite', class_name: 'WorkflowTriggerHistory', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endTime', type: { name: 'DateTime' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', type: { name: 'Enum', module: 'WorkflowStatus' } }, code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.code', type: { name: 'String' } }, error: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.error', type: { name: 'Object' } }, tracking_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.trackingId', type: { name: 'String' } }, inputs_link: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inputsLink', type: { name: 'Composite', class_name: 'ContentLink' } }, outputs_link: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outputsLink', type: { name: 'Composite', class_name: 'ContentLink' } }, fired: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fired', type: { name: 'Boolean' } }, run: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.run', type: { name: 'Composite', class_name: 'ResourceReference' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end end end end