UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

70 lines (65 loc) 1.56 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'; /** * @summary Device Set update information * * The name of the device set and the list of device IDs * */ class DeviceSetUpdate { /** * Create a DeviceSetUpdate. * @property {array} devices List of device IDs * @property {string} name The name of the device set */ constructor() { } /** * Defines the metadata of DeviceSetUpdate * * @returns {object} metadata of DeviceSetUpdate * */ mapper() { return { required: false, serializedName: 'DeviceSetUpdate', type: { name: 'Composite', className: 'DeviceSetUpdate', modelProperties: { devices: { required: true, serializedName: 'devices', type: { name: 'Sequence', element: { required: false, serializedName: 'StringElementType', type: { name: 'String' } } } }, name: { required: true, serializedName: 'name', type: { name: 'String' } } } } }; } } module.exports = DeviceSetUpdate;