appcenter-cli
Version:
Command line tool for Visual Studio App Center
62 lines (57 loc) • 1.57 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.
*/
;
/**
* Class representing a PatchReleaseUploadStatusResponse.
*/
class PatchReleaseUploadStatusResponse {
/**
* Create a PatchReleaseUploadStatusResponse.
* @property {uuid} id The ID for the upload.
* @property {string} uploadStatus The current upload status. Possible values
* include: 'uploadStarted', 'uploadFinished', 'uploadCanceled',
* 'readyToBePublished', 'malwareDetected', 'error'
*/
constructor() {
}
/**
* Defines the metadata of PatchReleaseUploadStatusResponse
*
* @returns {object} metadata of PatchReleaseUploadStatusResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'PatchReleaseUploadStatusResponse',
type: {
name: 'Composite',
className: 'PatchReleaseUploadStatusResponse',
modelProperties: {
id: {
required: true,
serializedName: 'id',
type: {
name: 'String'
}
},
uploadStatus: {
required: true,
serializedName: 'upload_status',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = PatchReleaseUploadStatusResponse;