Sha256: 32737eb2965906af820926b3430ff6db58767207cb031b5349293177a28f8c02
Contents?: true
Size: 1.77 KB
Versions: 4
Compression:
Stored size: 1.77 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::Scheduler::Mgmt::V2016_03_01 module Models # # Model object. # # class BasicAuthentication < HttpAuthentication include MsRestAzure def initialize @type = "Basic" end attr_accessor :type # @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() { client_side_validation: true, required: false, serialized_name: 'Basic', type: { name: 'Composite', class_name: 'BasicAuthentication', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, username: { client_side_validation: true, required: false, serialized_name: 'username', type: { name: 'String' } }, password: { client_side_validation: true, required: false, serialized_name: 'password', type: { name: 'String' } } } } } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems