UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

77 lines (71 loc) 1.82 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'); /** * Notification per User IDs * * @extends models['NotificationTarget'] */ class NotificationTargetUserIds extends models['NotificationTarget'] { /** * Create a NotificationTargetUserIds. * @property {array} userIds List of user IDs to target */ constructor() { super(); } /** * Defines the metadata of NotificationTargetUserIds * * @returns {object} metadata of NotificationTargetUserIds * */ mapper() { return { required: false, serializedName: 'user_ids_target', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'type', clientName: 'type' }, uberParent: 'NotificationTarget', className: 'NotificationTargetUserIds', modelProperties: { type: { required: true, serializedName: 'type', isPolymorphicDiscriminator: true, type: { name: 'String' } }, userIds: { required: true, serializedName: 'user_ids', type: { name: 'Sequence', element: { required: false, serializedName: 'StringElementType', type: { name: 'String' } } } } } } }; } } module.exports = NotificationTargetUserIds;