Sha256: 8d6bd43b08c271d4bfe15cd0e7ed321ff5343dc32385d62990b90e2f10afbac7

Contents?: true

Size: 1.84 KB

Versions: 6

Compression:

Stored size: 1.84 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 MpnsCredential.
    #
    class MpnsCredential

      include MsRestAzure

      # @return [String] The MPNS certificate.
      attr_accessor :mpns_certificate

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

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


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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_notification_hubs-0.17.3 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb
azure_mgmt_notification_hubs-0.17.2 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb
azure_mgmt_notification_hubs-0.17.1 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb
azure_mgmt_notification_hubs-0.17.0 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb
azure_mgmt_notification_hubs-0.16.0 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb
azure_mgmt_notification_hubs-0.15.2 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb