class Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential

Description of a NotificationHub MpnsCredential.

Attributes

certificate_key[RW]

@return [String] The certificate key for this credential.

mpns_certificate[RW]

@return [String] The MPNS certificate.

thumbprint[RW]

@return [String] The Mpns certificate Thumbprint

Private Class Methods

mapper() click to toggle source

Mapper for MpnsCredential class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb, line 29
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