class Azure::Batch::Mgmt::V2017_09_01::Models::Application

Contains information about an application in a Batch account.

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.

id[RW]

@return [String] A string that uniquely identifies the application within the account.

packages[RW]

@return [Array<ApplicationPackage>] The list of packages under this application.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-09-01/generated/azure_mgmt_batch/models/application.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Application',
    type: {
      name: 'Composite',
      class_name: 'Application',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        packages: {
          client_side_validation: true,
          required: false,
          serialized_name: 'packages',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationPackageElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationPackage'
                }
            }
          }
        },
        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'
          }
        }
      }
    }
  }
end