appcenter-cli
Version:
Command line tool for Visual Studio App Center
63 lines (58 loc) • 1.39 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.
*/
;
/**
* @summary Test Cloud Error Details
*
* Details of a failed operation
*
*/
class TestCloudErrorDetails {
/**
* Create a TestCloudErrorDetails.
* @property {string} status Status of the operation
* @property {string} message Human-readable message that describes the error
*/
constructor() {
}
/**
* Defines the metadata of TestCloudErrorDetails
*
* @returns {object} metadata of TestCloudErrorDetails
*
*/
mapper() {
return {
required: false,
serializedName: 'TestCloudErrorDetails',
type: {
name: 'Composite',
className: 'TestCloudErrorDetails',
modelProperties: {
status: {
required: true,
serializedName: 'status',
type: {
name: 'String'
}
},
message: {
required: true,
serializedName: 'message',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = TestCloudErrorDetails;