UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

95 lines (89 loc) 2.39 kB
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ 'use strict'; const models = require('./index'); /** * Apple notification auth token configuration result. * * @extends models['NotificationConfigResult'] */ class NotificationConfigAppleTokenResult extends models['NotificationConfigResult'] { /** * Create a NotificationConfigAppleTokenResult. * @property {string} keyId A 10-character key identifier (kid). * @property {string} id Application ID. * @property {string} prefix Application Prefix. * @property {string} endpointType Possible values include: 'production', * 'sandbox' */ constructor() { super(); } /** * Defines the metadata of NotificationConfigAppleTokenResult * * @returns {object} metadata of NotificationConfigAppleTokenResult * */ mapper() { return { required: false, serializedName: 'apns_token_config', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'type', clientName: 'type' }, uberParent: 'NotificationConfigResult', className: 'NotificationConfigAppleTokenResult', modelProperties: { type: { required: true, serializedName: 'type', isPolymorphicDiscriminator: true, type: { name: 'String' } }, keyId: { required: true, serializedName: 'key_id', type: { name: 'String' } }, id: { required: true, serializedName: 'id', type: { name: 'String' } }, prefix: { required: true, serializedName: 'prefix', type: { name: 'String' } }, endpointType: { required: true, serializedName: 'endpoint_type', type: { name: 'String' } } } } }; } } module.exports = NotificationConfigAppleTokenResult;