Sha256: 76c8e069bf9d31aff6626110e2c9a5e3b50c961ea0e59c71915aedfa3431498e

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Batch::Mgmt::V2015_12_01
  module Models
    #
    # Parameters for an ApplicationOperations.UpdateApplication request.
    #
    class UpdateApplicationParameters

      include MsRestAzure

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

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

      # @return [String] The display name for the application.
      attr_accessor :display_name


      #
      # Mapper for UpdateApplicationParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'UpdateApplicationParameters',
          type: {
            name: 'Composite',
            class_name: 'UpdateApplicationParameters',
            model_properties: {
              allow_updates: {
                required: false,
                serialized_name: 'allowUpdates',
                type: {
                  name: 'Boolean'
                }
              },
              default_version: {
                required: false,
                serialized_name: 'defaultVersion',
                type: {
                  name: 'String'
                }
              },
              display_name: {
                required: false,
                serialized_name: 'displayName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.15.1 lib/2015-12-01/generated/azure_mgmt_batch/models/update_application_parameters.rb
azure_mgmt_batch-0.15.0 lib/2015-12-01/generated/azure_mgmt_batch/models/update_application_parameters.rb