UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

53 lines (48 loc) 1.24 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 OrganizationUserPatchRequest. */ class OrganizationUserPatchRequest { /** * Create a OrganizationUserPatchRequest. * @property {string} [role] The user's role in the organizatiion. Possible * values include: 'admin', 'collaborator' */ constructor() { } /** * Defines the metadata of OrganizationUserPatchRequest * * @returns {object} metadata of OrganizationUserPatchRequest * */ mapper() { return { required: false, serializedName: 'OrganizationUserPatchRequest', type: { name: 'Composite', className: 'OrganizationUserPatchRequest', modelProperties: { role: { required: false, serializedName: 'role', type: { name: 'String' } } } } }; } } module.exports = OrganizationUserPatchRequest;