# 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 OAuthAuthentication < HttpAuthentication include MsRestAzure # @return [String] Gets or sets the secret, return value will always be # empty. attr_accessor :secret # @return [String] Gets or sets the tenant. attr_accessor :tenant # @return [String] Gets or sets the audience. attr_accessor :audience # @return [String] Gets or sets the client identifier. attr_accessor :client_id # # Mapper for OAuthAuthentication class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OAuthAuthentication', type: { name: 'Composite', class_name: 'OAuthAuthentication', model_properties: { type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'Enum', module: 'HttpAuthenticationType' } }, secret: { client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'String' } }, tenant: { client_side_validation: true, required: false, serialized_name: 'tenant', type: { name: 'String' } }, audience: { client_side_validation: true, required: false, serialized_name: 'audience', type: { name: 'String' } }, client_id: { client_side_validation: true, required: false, serialized_name: 'clientId', type: { name: 'String' } } } } } end end end end