UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

87 lines (81 loc) 2.2 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 certificate configuration result. * * @extends models['NotificationConfigResult'] */ class NotificationConfigAppleResult extends models['NotificationConfigResult'] { /** * Create a NotificationConfigAppleResult. * @property {string} endpointType Possible values include: 'production', * 'sandbox' * @property {date} certExpiration Certificate expiration date. * @property {string} certFilename Certificate file name */ constructor() { super(); } /** * Defines the metadata of NotificationConfigAppleResult * * @returns {object} metadata of NotificationConfigAppleResult * */ mapper() { return { required: false, serializedName: 'apns_config', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'type', clientName: 'type' }, uberParent: 'NotificationConfigResult', className: 'NotificationConfigAppleResult', modelProperties: { type: { required: true, serializedName: 'type', isPolymorphicDiscriminator: true, type: { name: 'String' } }, endpointType: { required: true, serializedName: 'endpoint_type', type: { name: 'String' } }, certExpiration: { required: true, serializedName: 'cert_expiration', type: { name: 'DateTime' } }, certFilename: { required: true, serializedName: 'cert_filename', type: { name: 'String' } } } } }; } } module.exports = NotificationConfigAppleResult;