UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

99 lines (94 loc) 2.67 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'; /** * Basic information on a release * */ class StoresBasicReleaseDetails { /** * Create a StoresBasicReleaseDetails. * @property {number} [id] ID identifying this unique release. * @property {string} [version] The release's version. * For iOS: CFBundleVersion from info.plist. * For Android: android:versionCode from AppManifest.xml. * @property {string} [shortVersion] The release's short version. * For iOS: CFBundleShortVersionString from info.plist. * For Android: android:versionName from AppManifest.xml. * @property {string} [uploadedAt] UTC time in ISO 8601 format of the * uploaded time. * @property {array} [distributionStores] a list of distribution stores that * are associated with this release. */ constructor() { } /** * Defines the metadata of StoresBasicReleaseDetails * * @returns {object} metadata of StoresBasicReleaseDetails * */ mapper() { return { required: false, serializedName: 'StoresBasicReleaseDetails', type: { name: 'Composite', className: 'StoresBasicReleaseDetails', modelProperties: { id: { required: false, serializedName: 'id', type: { name: 'Number' } }, version: { required: false, serializedName: 'version', type: { name: 'String' } }, shortVersion: { required: false, serializedName: 'short_version', type: { name: 'String' } }, uploadedAt: { required: false, serializedName: 'uploaded_at', type: { name: 'String' } }, distributionStores: { required: false, serializedName: 'distribution_stores', type: { name: 'Sequence', element: { required: false, serializedName: 'StoresDetailsElementType', type: { name: 'Composite', className: 'StoresDetails' } } } } } } }; } } module.exports = StoresBasicReleaseDetails;