Sha256: 32e61b2a4f3b77c83afa377fd24816125a04f41071b4cdacc8c64b546b022496

Contents?: true

Size: 1.98 KB

Versions: 4

Compression:

Stored size: 1.98 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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 ApnsCredentialProperties

      include MsRestAzure

      # @return [String] Gets or sets the APNS certificate.
      attr_accessor :apns_certificate

      # @return [String] Gets or sets the certificate key.
      attr_accessor :certificate_key

      # @return [String] Gets or sets the endpoint of this credential.
      attr_accessor :endpoint

      # @return [String] Gets or sets the Apns certificate Thumbprint
      attr_accessor :thumbprint


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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_notification_hubs-0.7.0 lib/generated/azure_mgmt_notification_hubs/models/apns_credential_properties.rb
azure_mgmt_notification_hubs-0.6.0 lib/generated/azure_mgmt_notification_hubs/models/apns_credential_properties.rb
azure_mgmt_notification_hubs-0.5.0 lib/generated/azure_mgmt_notification_hubs/models/apns_credential_properties.rb
azure_mgmt_notification_hubs-0.4.0 lib/generated/azure_mgmt_notification_hubs/models/apns_credential_properties.rb