# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.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 ServiceBusAuthentication include MsRestAzure # @return [String] Gets or sets the SAS key. attr_accessor :sas_key # @return [String] Gets or sets the SAS key name. attr_accessor :sas_key_name # @return [ServiceBusAuthenticationType] Gets or sets the authentication # type. Possible values include: 'NotSpecified', 'SharedAccessKey' attr_accessor :type # # Mapper for ServiceBusAuthentication class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'ServiceBusAuthentication', type: { name: 'Composite', class_name: 'ServiceBusAuthentication', model_properties: { sas_key: { required: false, serialized_name: 'sasKey', type: { name: 'String' } }, sas_key_name: { required: false, serialized_name: 'sasKeyName', type: { name: 'String' } }, type: { required: false, serialized_name: 'type', type: { name: 'Enum', module: 'ServiceBusAuthenticationType' } } } } } end end end end