appcenter-cli
Version:
Command line tool for Visual Studio App Center
131 lines (126 loc) • 3.88 kB
JavaScript
/*
* 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.
*/
;
/**
* Basic information on a release for private apis
*
*/
class PrivateBasicReleaseDetailsResponse {
/**
* Create a PrivateBasicReleaseDetailsResponse.
* @property {number} [id] ID identifying this unique release.
* @property {string} [version] The release's version.<br>
* For iOS: CFBundleVersion from info.plist.<br>
* For Android: android:versionCode from AppManifest.xml.
* @property {string} [shortVersion] The release's short version.<br>
* For iOS: CFBundleShortVersionString from info.plist.<br>
* For Android: android:versionName from AppManifest.xml.
* @property {string} [uploadedAt] UTC time in ISO 8601 format of the
* uploaded time.
* @property {string} [distributionGroupId] the destination id of release
* where it is distributed.
* @property {string} [destinationType] The destination type.<br>
* <b>group</b>: The release distributed to internal groups and
* distribution_groups details will be returned.<br>
* <b>store</b>: The release distributed to external stores and
* distribution_stores details will be returned. <br>
* . Possible values include: 'group', 'store'
* @property {boolean} [isLatest] Indicates if this is the latest release in
* the group.
* @property {boolean} [mandatoryUpdate] A boolean which determines whether
* the release is a mandatory update or not.
* @property {string} [publishingStatus] the publishing status of the
* distributed release
*/
constructor() {
}
/**
* Defines the metadata of PrivateBasicReleaseDetailsResponse
*
* @returns {object} metadata of PrivateBasicReleaseDetailsResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'PrivateBasicReleaseDetailsResponse',
type: {
name: 'Composite',
className: 'PrivateBasicReleaseDetailsResponse',
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'
}
},
distributionGroupId: {
required: false,
serializedName: 'distribution_group_id',
type: {
name: 'String'
}
},
destinationType: {
required: false,
serializedName: 'destination_type',
type: {
name: 'String'
}
},
isLatest: {
required: false,
serializedName: 'is_latest',
type: {
name: 'Boolean'
}
},
mandatoryUpdate: {
required: false,
serializedName: 'mandatory_update',
type: {
name: 'Boolean'
}
},
publishingStatus: {
required: false,
serializedName: 'publishing_status',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = PrivateBasicReleaseDetailsResponse;