UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

61 lines (56 loc) 1.41 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'; /** * Type of Notification target (audiences, devices, user ids or account ids). * The object must include the correct properties for the specified target * type. * */ class NotificationTarget { /** * Create a NotificationTarget. * @property {string} type Polymorphic Discriminator */ constructor() { } /** * Defines the metadata of NotificationTarget * * @returns {object} metadata of NotificationTarget * */ mapper() { return { required: false, serializedName: 'NotificationTarget', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'type', clientName: 'type' }, uberParent: 'NotificationTarget', className: 'NotificationTarget', modelProperties: { type: { required: true, serializedName: 'type', isPolymorphicDiscriminator: true, type: { name: 'String' } } } } }; } } module.exports = NotificationTarget;