Sha256: db91b23c3c05df85cdab13c11a41c0f0992a5e0cd5d204be8af675330bf4e3a5

Contents?: true

Size: 1.53 KB

Versions: 4

Compression:

Stored size: 1.53 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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.
      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

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_scheduler-0.7.0 lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb
azure_mgmt_scheduler-0.6.0 lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb
azure_mgmt_scheduler-0.5.0 lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb
azure_mgmt_scheduler-0.4.0 lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb