UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

66 lines (61 loc) 1.57 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'; /** * @summary Test Cloud Hash Upload Status * * Result of uploading a single file hash * */ class TestCloudHashUploadStatus { /** * Create a TestCloudHashUploadStatus. * @property {number} statusCode HTTP status code that represent result of * upload * @property {string} [location] URI that should be used to make POST request * if file with given hash doesn't exist. This is set when status_code is * equal to 412 */ constructor() { } /** * Defines the metadata of TestCloudHashUploadStatus * * @returns {object} metadata of TestCloudHashUploadStatus * */ mapper() { return { required: false, serializedName: 'TestCloudHashUploadStatus', type: { name: 'Composite', className: 'TestCloudHashUploadStatus', modelProperties: { statusCode: { required: true, serializedName: 'statusCode', type: { name: 'Number' } }, location: { required: false, serializedName: 'location', type: { name: 'String' } } } } }; } } module.exports = TestCloudHashUploadStatus;