Sha256: 74c71262b76351266a5148376647d8b9a9e32cc265b728d0ce76a23f572ca7b1

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

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

module Azure::ARM::Scheduler
  module Models
    #
    # Model object.
    #
    #
    class BasicAuthentication < HttpAuthentication

      include MsRestAzure

      # @return [String] Gets or sets the username.
      attr_accessor :username

      # @return [String] Gets or sets the password, return value will always be
      # empty.
      attr_accessor :password


      #
      # Mapper for BasicAuthentication class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'BasicAuthentication',
          type: {
            name: 'Composite',
            class_name: 'BasicAuthentication',
            model_properties: {
              type: {
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'Enum',
                  module: 'HttpAuthenticationType'
                }
              },
              username: {
                required: false,
                serialized_name: 'username',
                type: {
                  name: 'String'
                }
              },
              password: {
                required: false,
                serialized_name: 'password',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_scheduler-0.9.0 lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb