Class: Azure::Batch::Mgmt::V2017_01_01::Models::Application
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2017_01_01::Models::Application
- 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
-
#allow_updates ⇒ Boolean
application may be overwritten using the same version string.
-
#default_version ⇒ String
application but does not specify a version.
-
#display_name ⇒ String
The display name for the application.
-
#id ⇒ String
within the account.
-
#packages ⇒ Array<ApplicationPackage>
application.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Application class as Ruby Hash.
Instance Attribute Details
#allow_updates ⇒ Boolean
application may be overwritten using the same version string.
28 29 30 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb', line 28 def allow_updates @allow_updates end |
#default_version ⇒ String
application but does not specify a version.
32 33 34 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb', line 32 def default_version @default_version end |
#display_name ⇒ String
Returns 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 |
#id ⇒ String
within the account.
17 18 19 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb', line 17 def id @id end |
#packages ⇒ Array<ApplicationPackage>
application.
24 25 26 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb', line 24 def packages @packages end |
Class Method Details
.mapper ⇒ Object
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 |