appcenter-cli
Version:
Command line tool for Visual Studio App Center
62 lines (57 loc) • 1.45 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.
*/
;
/**
* A response containing information about the uploaded release.
*
*/
class ReleaseUploadEndResponse {
/**
* Create a ReleaseUploadEndResponse.
* @property {number} [releaseId] The ID of the release.
* @property {string} [releaseUrl] A URL to the new release. If upload was
* aborted will be null.
*/
constructor() {
}
/**
* Defines the metadata of ReleaseUploadEndResponse
*
* @returns {object} metadata of ReleaseUploadEndResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'ReleaseUploadEndResponse',
type: {
name: 'Composite',
className: 'ReleaseUploadEndResponse',
modelProperties: {
releaseId: {
required: false,
serializedName: 'release_id',
type: {
name: 'Number'
}
},
releaseUrl: {
required: false,
serializedName: 'release_url',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = ReleaseUploadEndResponse;