class Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential

Description of a NotificationHub ApnsCredential.

Attributes

apns_certificate[RW]

@return [String] The APNS certificate.

app_id[RW]

@return [String] The issuer (iss) registered claim key, whose value is your 10-character Team ID, obtained from your developer account

app_name[RW]

@return [String] The name of the application

certificate_key[RW]

@return [String] The certificate key.

endpoint[RW]

@return [String] The endpoint of this credential.

key_id[RW]

@return [String] A 10-character key identifier (kid) key, obtained from your developer account

thumbprint[RW]

@return [String] The Apns certificate Thumbprint

token[RW]

@return [String] Provider Authentication Token, obtained through your developer account

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/apns_credential.rb, line 47
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApnsCredential',
    type: {
      name: 'Composite',
      class_name: 'ApnsCredential',
      model_properties: {
        apns_certificate: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.apnsCertificate',
          type: {
            name: 'String'
          }
        },
        certificate_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.certificateKey',
          type: {
            name: 'String'
          }
        },
        endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.endpoint',
          type: {
            name: 'String'
          }
        },
        thumbprint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.thumbprint',
          type: {
            name: 'String'
          }
        },
        key_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.keyId',
          type: {
            name: 'String'
          }
        },
        app_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.appName',
          type: {
            name: 'String'
          }
        },
        app_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.appId',
          type: {
            name: 'String'
          }
        },
        token: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.token',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end