Class: Azure::Batch::Mgmt::V2017_01_01::Models::Application

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb

Overview

Contains information about an application in a Batch account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#allow_updatesBoolean

application may be overwritten using the same version string.

Returns:

  • (Boolean)

    A value indicating whether packages within the



28
29
30
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb', line 28

def allow_updates
  @allow_updates
end

#default_versionString

application but does not specify a version.

Returns:

  • (String)

    The package to use if a client requests the



32
33
34
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb', line 32

def default_version
  @default_version
end

#display_nameString

Returns The display name for the application.

Returns:

  • (String)

    The display name for the application.



20
21
22
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb', line 20

def display_name
  @display_name
end

#idString

within the account.

Returns:

  • (String)

    A string that uniquely identifies the application



17
18
19
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb', line 17

def id
  @id
end

#packagesArray<ApplicationPackage>

application.

Returns:



24
25
26
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb', line 24

def packages
  @packages
end

Class Method Details

.mapperObject

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



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'lib/2017-01-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