Sha256: 39e63759e302044bd99d93f4fc74c2b29a3332c2b72ec2271c7422568e61ae2e

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 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::ARM::NotificationHubs
  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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_notification_hubs-0.14.0 lib/generated/azure_mgmt_notification_hubs/models/adm_credential.rb