Sha256: 151f563693adad79ff2ea30be6fb744456a7731e733d5e021e1157d119499e57

Contents?: true

Size: 1.64 KB

Versions: 2

Compression:

Stored size: 1.64 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::NotificationHubs::Mgmt::V2017_04_01
  module Models
    #
    # Description of a NotificationHub AdmCredential.
    #
    class AdmCredential

      include MsRestAzure

      # @return [String] The client identifier.
      attr_accessor :client_id

      # @return [String] The credential secret access key.
      attr_accessor :client_secret

      # @return [String] The URL of the authorization token.
      attr_accessor :auth_token_url


      #
      # Mapper for AdmCredential class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AdmCredential',
          type: {
            name: 'Composite',
            class_name: 'AdmCredential',
            model_properties: {
              client_id: {
                required: false,
                serialized_name: 'properties.clientId',
                type: {
                  name: 'String'
                }
              },
              client_secret: {
                required: false,
                serialized_name: 'properties.clientSecret',
                type: {
                  name: 'String'
                }
              },
              auth_token_url: {
                required: false,
                serialized_name: 'properties.authTokenUrl',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_notification_hubs-0.15.1 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/adm_credential.rb
azure_mgmt_notification_hubs-0.15.0 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/adm_credential.rb