Sha256: 4c73d36f5771d92f53f711da5187805f2eff31c43d905686669e0209f8be3bf1

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 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 HttpAuthentication

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["ClientCertificate"] = "ClientCertAuthentication"
      @@discriminatorMap["Basic"] = "BasicAuthentication"
      @@discriminatorMap["ActiveDirectoryOAuth"] = "OAuthAuthentication"

      def initialize
        @type = "HttpAuthentication"
      end

      attr_accessor :type


      #
      # Mapper for HttpAuthentication class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'HttpAuthentication',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'HttpAuthentication',
            class_name: 'HttpAuthentication',
            model_properties: {
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_scheduler-0.17.2 lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication.rb
azure_mgmt_scheduler-0.17.1 lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication.rb
azure_mgmt_scheduler-0.17.0 lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication.rb
azure_mgmt_scheduler-0.16.0 lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication.rb