appcenter-cli
Version:
Command line tool for Visual Studio App Center
61 lines (56 loc) • 1.36 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 BillingErrorError.
*/
class BillingErrorError {
/**
* Create a BillingErrorError.
* @property {number} [code] The status code return by the API. It can be 400
* or 403 or 500.
* @property {string} [message] The reason for the request failed
*/
constructor() {
}
/**
* Defines the metadata of BillingErrorError
*
* @returns {object} metadata of BillingErrorError
*
*/
mapper() {
return {
required: false,
serializedName: 'BillingError_error',
type: {
name: 'Composite',
className: 'BillingErrorError',
modelProperties: {
code: {
required: false,
serializedName: 'code',
type: {
name: 'Number'
}
},
message: {
required: false,
serializedName: 'message',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = BillingErrorError;