# 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 Workflow < Resource include MsRestAzure # @return [WorkflowProvisioningState] Gets the provisioning state. # Possible values include: 'NotSpecified', 'Moving', 'Succeeded' attr_accessor :provisioning_state # @return [DateTime] Gets the created time. attr_accessor :created_time # @return [DateTime] Gets the changed time. attr_accessor :changed_time # @return [WorkflowState] Gets or sets the state. Possible values # include: 'NotSpecified', 'Enabled', 'Disabled', 'Deleted', 'Suspended' attr_accessor :state # @return [String] Gets the version. attr_accessor :version # @return [String] Gets the access endpoint. attr_accessor :access_endpoint # @return [Sku] Gets or sets the sku. attr_accessor :sku # @return [ContentLink] Gets or sets the link to definition. attr_accessor :definition_link # @return Gets or sets the definition. attr_accessor :definition # @return [ContentLink] Gets or sets the link to parameters. attr_accessor :parameters_link # @return [Hash{String => WorkflowParameter}] Gets or sets the # parameters. attr_accessor :parameters # # Mapper for Workflow class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Workflow', type: { name: 'Composite', class_name: 'Workflow', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'Enum', module: 'WorkflowProvisioningState' } }, created_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdTime', type: { name: 'DateTime' } }, changed_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.changedTime', type: { name: 'DateTime' } }, state: { client_side_validation: true, required: false, serialized_name: 'properties.state', type: { name: 'Enum', module: 'WorkflowState' } }, version: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.version', type: { name: 'String' } }, access_endpoint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accessEndpoint', type: { name: 'String' } }, sku: { client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { name: 'Composite', class_name: 'Sku' } }, definition_link: { client_side_validation: true, required: false, serialized_name: 'properties.definitionLink', type: { name: 'Composite', class_name: 'ContentLink' } }, definition: { client_side_validation: true, required: false, serialized_name: 'properties.definition', type: { name: 'Object' } }, parameters_link: { client_side_validation: true, required: false, serialized_name: 'properties.parametersLink', type: { name: 'Composite', class_name: 'ContentLink' } }, parameters: { client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'WorkflowParameterElementType', type: { name: 'Composite', class_name: 'WorkflowParameter' } } } } } } } end end end end