Sha256: efd721ffbc68323d6da06749ca2802ded2dadc60d0378822831a1983b8edfff7

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.1.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.10.0 lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb