Sha256: 531786c6035994f7c9bfa85d1a8bfc40ad5680a1e329764d95e7776f2a91a0b5

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 KB

Contents

# 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::NotificationHubs
  module Models
    #
    # Description of a NotificationHub ApnsCredential.
    #
    class ApnsCredential

      include MsRestAzure

      # @return [String] The APNS certificate.
      attr_accessor :apns_certificate

      # @return [String] The certificate key.
      attr_accessor :certificate_key

      # @return [String] The endpoint of this credential.
      attr_accessor :endpoint

      # @return [String] The Apns certificate Thumbprint
      attr_accessor :thumbprint


      #
      # Mapper for ApnsCredential class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ApnsCredential',
          type: {
            name: 'Composite',
            class_name: 'ApnsCredential',
            model_properties: {
              apns_certificate: {
                required: false,
                serialized_name: 'properties.apnsCertificate',
                type: {
                  name: 'String'
                }
              },
              certificate_key: {
                required: false,
                serialized_name: 'properties.certificateKey',
                type: {
                  name: 'String'
                }
              },
              endpoint: {
                required: false,
                serialized_name: 'properties.endpoint',
                type: {
                  name: 'String'
                }
              },
              thumbprint: {
                required: false,
                serialized_name: 'properties.thumbprint',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_notification_hubs-0.9.0 lib/generated/azure_mgmt_notification_hubs/models/apns_credential.rb
azure_mgmt_notification_hubs-0.8.0 lib/generated/azure_mgmt_notification_hubs/models/apns_credential.rb