appcenter-cli
Version:
Command line tool for Visual Studio App Center
78 lines (72 loc) • 1.93 kB
JavaScript
/*
* 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.
*/
;
const models = require('./index');
/**
* WNS notification configuration result.
*
* @extends models['NotificationConfigResult']
*/
class NotificationConfigWindowsResult extends models['NotificationConfigResult'] {
/**
* Create a NotificationConfigWindowsResult.
* @property {string} packageSid Package security identifier (SID).
* @property {string} [secretKey] windows push configuration secret key.
*/
constructor() {
super();
}
/**
* Defines the metadata of NotificationConfigWindowsResult
*
* @returns {object} metadata of NotificationConfigWindowsResult
*
*/
mapper() {
return {
required: false,
serializedName: 'wns_config',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'NotificationConfigResult',
className: 'NotificationConfigWindowsResult',
modelProperties: {
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
},
packageSid: {
required: true,
serializedName: 'package_sid',
type: {
name: 'String'
}
},
secretKey: {
required: false,
serializedName: 'secret_key',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = NotificationConfigWindowsResult;