Sha256: 9194da2f1762decabed4016c4c331b8f33df250a52dbf98ed6fd5895621752ca

Contents?: true

Size: 1.84 KB

Versions: 1

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::ARM::Batch
  module Models
    #
    # Parameters for an update application request.
    #
    class ApplicationUpdateParameters

      include MsRestAzure

      include MsRest::JSONable
      # @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 ApplicationUpdateParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ApplicationUpdateParameters',
          type: {
            name: 'Composite',
            class_name: 'ApplicationUpdateParameters',
            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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.13.0 lib/generated/azure_mgmt_batch/models/application_update_parameters.rb