# 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::ARM::Web module Models # # Web Job Information. # class WebJob < ProxyOnlyResource include MsRestAzure # @return [String] Job name. Used as job identifier in ARM resource URI. attr_accessor :web_job_name # @return [String] Run command. attr_accessor :run_command # @return [String] Job URL. attr_accessor :url # @return [String] Extra Info URL. attr_accessor :extra_info_url # @return [WebJobType] Job type. Possible values include: 'Continuous', # 'Triggered' attr_accessor :job_type # @return [String] Error information. attr_accessor :error # @return [Boolean] Using SDK? attr_accessor :using_sdk # @return Job settings. attr_accessor :settings # # Mapper for WebJob class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'WebJob', type: { name: 'Composite', class_name: 'WebJob', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, web_job_name: { required: false, read_only: true, serialized_name: 'properties.name', type: { name: 'String' } }, run_command: { required: false, serialized_name: 'properties.runCommand', type: { name: 'String' } }, url: { required: false, serialized_name: 'properties.url', type: { name: 'String' } }, extra_info_url: { required: false, serialized_name: 'properties.extraInfoUrl', type: { name: 'String' } }, job_type: { required: false, serialized_name: 'properties.jobType', type: { name: 'Enum', module: 'WebJobType' } }, error: { required: false, serialized_name: 'properties.error', type: { name: 'String' } }, using_sdk: { required: false, serialized_name: 'properties.usingSdk', type: { name: 'Boolean' } }, settings: { required: false, serialized_name: 'properties.settings', type: { name: 'Object' } } } } } end end end end