class Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters

Parameters for an update application request.

Attributes

allow_updates[RW]

@return [Boolean] A value indicating whether packages within the application may be overwritten using the same version string.

default_version[RW]

@return [String] The package to use if a client requests the application but does not specify a version.

display_name[RW]

@return [String] The display name for the application.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-09-01/generated/azure_mgmt_batch/models/application_update_parameters.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'ApplicationUpdateParameters',
      model_properties: {
        allow_updates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'allowUpdates',
          type: {
            name: 'Boolean'
          }
        },
        default_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'defaultVersion',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end