UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

106 lines (101 loc) 2.8 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 AppGroupResponse. */ class AppGroupResponse { /** * Create a AppGroupResponse. * @property {uuid} id The unique ID (UUID) of the app * @property {uuid} groupId The unique ID (UUID) of the group that the app * belongs to * @property {string} [displayName] The display name of the app * @property {string} [releaseType] A one-word descriptive release-type value * that starts with a capital letter but is otherwise lowercase * @property {string} name The name of the app used in URLs * @property {string} os The OS the app will be running on. Possible values * include: 'Android', 'iOS', 'macOS', 'Tizen', 'tvOS', 'Windows', 'Linux', * 'Custom' * @property {string} platform The platform of the app. Possible values * include: 'Java', 'Objective-C-Swift', 'UWP', 'Cordova', 'React-Native', * 'Unity', 'Electron', 'Xamarin', 'Unknown' */ constructor() { } /** * Defines the metadata of AppGroupResponse * * @returns {object} metadata of AppGroupResponse * */ mapper() { return { required: false, serializedName: 'AppGroupResponse', type: { name: 'Composite', className: 'AppGroupResponse', modelProperties: { id: { required: true, serializedName: 'id', type: { name: 'String' } }, groupId: { required: true, serializedName: 'group_id', type: { name: 'String' } }, displayName: { required: false, serializedName: 'display_name', type: { name: 'String' } }, releaseType: { required: false, serializedName: 'release_type', type: { name: 'String' } }, name: { required: true, serializedName: 'name', type: { name: 'String' } }, os: { required: true, serializedName: 'os', type: { name: 'String' } }, platform: { required: true, serializedName: 'platform', type: { name: 'String' } } } } }; } } module.exports = AppGroupResponse;