UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

77 lines (72 loc) 1.69 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'; /** * VSTS user profile * */ class VSTSProfile { /** * Create a VSTSProfile. * @property {string} [id] Profile id * @property {string} [displayName] Profile display name * @property {string} [publicAlias] Profile alias * @property {string} [emailAddress] Profile email */ constructor() { } /** * Defines the metadata of VSTSProfile * * @returns {object} metadata of VSTSProfile * */ mapper() { return { required: false, serializedName: 'VSTSProfile', type: { name: 'Composite', className: 'VSTSProfile', modelProperties: { id: { required: false, serializedName: 'id', type: { name: 'String' } }, displayName: { required: false, serializedName: 'displayName', type: { name: 'String' } }, publicAlias: { required: false, serializedName: 'publicAlias', type: { name: 'String' } }, emailAddress: { required: false, serializedName: 'emailAddress', type: { name: 'String' } } } } }; } } module.exports = VSTSProfile;