Class: Azure::Batch::Mgmt::V2017_01_01::Models::UpdateApplicationParameters
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2017_01_01::Models::UpdateApplicationParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-01-01/generated/azure_mgmt_batch/models/update_application_parameters.rb
Overview
Parameters for an ApplicationOperations.UpdateApplication request.
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.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UpdateApplicationParameters class as Ruby Hash.
Instance Attribute Details
#allow_updates ⇒ Boolean
application may be overwritten using the same version string.
17 18 19 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/update_application_parameters.rb', line 17 def allow_updates @allow_updates end |
#default_version ⇒ String
application but does not specify a version.
21 22 23 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/update_application_parameters.rb', line 21 def default_version @default_version end |
#display_name ⇒ String
Returns The display name for the application.
24 25 26 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/update_application_parameters.rb', line 24 def display_name @display_name end |
Class Method Details
.mapper ⇒ Object
Mapper for UpdateApplicationParameters class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 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 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/update_application_parameters.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UpdateApplicationParameters', type: { name: 'Composite', class_name: 'UpdateApplicationParameters', 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 |