class Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition

Model object.

Attributes

id[RW]

@return [String] Gets the job history identifier.

name[RW]

@return [String] Gets the job history name.

properties[RW]

@return [JobHistoryDefinitionProperties] Gets or sets the job history properties.

type[RW]

@return [String] Gets the job history resource type.

Private Class Methods

mapper() click to toggle source

Mapper for JobHistoryDefinition class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_history_definition.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobHistoryDefinition',
    type: {
      name: 'Composite',
      class_name: 'JobHistoryDefinition',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties',
          type: {
            name: 'Composite',
            class_name: 'JobHistoryDefinitionProperties'
          }
        }
      }
    }
  }
end