UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

78 lines (72 loc) 1.84 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'); /** * WNS notification configuration. * * @extends models['NotificationConfig'] */ class NotificationConfigWindows extends models['NotificationConfig'] { /** * Create a NotificationConfigWindows. * @property {string} packageSid Package security identifier (SID). * @property {string} secretKey Secret key. */ constructor() { super(); } /** * Defines the metadata of NotificationConfigWindows * * @returns {object} metadata of NotificationConfigWindows * */ mapper() { return { required: false, serializedName: 'wns_config', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'type', clientName: 'type' }, uberParent: 'NotificationConfig', className: 'NotificationConfigWindows', modelProperties: { type: { required: true, serializedName: 'type', isPolymorphicDiscriminator: true, type: { name: 'String' } }, packageSid: { required: true, serializedName: 'package_sid', type: { name: 'String' } }, secretKey: { required: true, serializedName: 'secret_key', type: { name: 'String' } } } } }; } } module.exports = NotificationConfigWindows;