UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

60 lines (55 loc) 1.38 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'; /** * Generic notification configuration. Is a base type and caller should choose * one of the derived types specified in the enum. * */ class NotificationConfig { /** * Create a NotificationConfig. * @property {string} type Polymorphic Discriminator */ constructor() { } /** * Defines the metadata of NotificationConfig * * @returns {object} metadata of NotificationConfig * */ mapper() { return { required: false, serializedName: 'NotificationConfig', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'type', clientName: 'type' }, uberParent: 'NotificationConfig', className: 'NotificationConfig', modelProperties: { type: { required: true, serializedName: 'type', isPolymorphicDiscriminator: true, type: { name: 'String' } } } } }; } } module.exports = NotificationConfig;