class Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::RunRequest

The request parameters for scheduling a run.

Attributes

is_archive_enabled[RW]

@return [Boolean] The value that indicates whether archiving is enabled for the run or not. Default value: false .

type[RW]

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_request.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RunRequest',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'type',
      uber_parent: 'RunRequest',
      class_name: 'RunRequest',
      model_properties: {
        is_archive_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isArchiveEnabled',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_request.rb, line 21
def initialize
  @type = "RunRequest"
end