UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

60 lines (55 loc) 1.2 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'; /** * Class representing a DataInstance. */ class DataInstance { /** * Create a DataInstance. * @property {string} id * @property {string} name */ constructor() { } /** * Defines the metadata of DataInstance * * @returns {object} metadata of DataInstance * */ mapper() { return { required: false, serializedName: 'DataInstance', type: { name: 'Composite', className: 'DataInstance', modelProperties: { id: { required: true, serializedName: 'id', type: { name: 'String' } }, name: { required: true, serializedName: 'name', type: { name: 'String' } } } } }; } } module.exports = DataInstance;