UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

82 lines (77 loc) 2.13 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'; /** * Apple Mapping Request Type * */ class AppleMappingRequest { /** * Create a AppleMappingRequest. * @property {string} serviceConnectionId Id for the shared service * connection. In case of Apple AppStore, this connection will be used to * create and connect to the Apple AppStore in Mobile Center. * @property {string} [appleId] ID of the apple application in apple store, * takes precedence over bundle_identifier when both are provided * @property {string} [bundleIdentifier] Bundle Identifier of the apple * package * @property {string} teamIdentifier ID of the Team associated with the app * in apple store */ constructor() { } /** * Defines the metadata of AppleMappingRequest * * @returns {object} metadata of AppleMappingRequest * */ mapper() { return { required: false, serializedName: 'AppleMappingRequest', type: { name: 'Composite', className: 'AppleMappingRequest', modelProperties: { serviceConnectionId: { required: true, serializedName: 'service_connection_id', type: { name: 'String' } }, appleId: { required: false, serializedName: 'apple_id', type: { name: 'String' } }, bundleIdentifier: { required: false, serializedName: 'bundle_identifier', type: { name: 'String' } }, teamIdentifier: { required: true, serializedName: 'team_identifier', type: { name: 'String' } } } } }; } } module.exports = AppleMappingRequest;