UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

106 lines (101 loc) 2.83 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'; /** * The information needed to fetch the status of an application * */ class ApplicationStatusRequest { /** * Create a ApplicationStatusRequest. * @property {string} username The username for the Apple Developer account. * @property {string} password The password for the Apple Developer account. * @property {string} bundleIdentifier Bundle Identifier of application in * Apple Itunes portal. * @property {string} trackIdentifier Track Identifier for which the status * is to be fetched. * @property {string} [buildVersion] The version of build for which real time * status is to be fetched. * @property {string} [teamIdentifier] Identifier of the team to use when * logged in. * @property {string} [trainVersion] The Train version for which the status * is to be fetched. */ constructor() { } /** * Defines the metadata of ApplicationStatusRequest * * @returns {object} metadata of ApplicationStatusRequest * */ mapper() { return { required: false, serializedName: 'ApplicationStatusRequest', type: { name: 'Composite', className: 'ApplicationStatusRequest', modelProperties: { username: { required: true, serializedName: 'username', type: { name: 'String' } }, password: { required: true, serializedName: 'password', type: { name: 'String' } }, bundleIdentifier: { required: true, serializedName: 'bundle_identifier', type: { name: 'String' } }, trackIdentifier: { required: true, serializedName: 'track_identifier', type: { name: 'String' } }, buildVersion: { required: false, serializedName: 'build_version', type: { name: 'String' } }, teamIdentifier: { required: false, serializedName: 'team_identifier', type: { name: 'String' } }, trainVersion: { required: false, serializedName: 'train_version', type: { name: 'String' } } } } }; } } module.exports = ApplicationStatusRequest;