UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

68 lines (63 loc) 1.43 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 UserResponse. */ class UserResponse { /** * Create a UserResponse. * @property {uuid} accountId * @property {string} [mail] * @property {string} displayName */ constructor() { } /** * Defines the metadata of UserResponse * * @returns {object} metadata of UserResponse * */ mapper() { return { required: false, serializedName: 'UserResponse', type: { name: 'Composite', className: 'UserResponse', modelProperties: { accountId: { required: true, serializedName: 'accountId', type: { name: 'String' } }, mail: { required: false, serializedName: 'mail', type: { name: 'String' } }, displayName: { required: true, serializedName: 'displayName', type: { name: 'String' } } } } }; } } module.exports = UserResponse;