UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

57 lines (52 loc) 1.22 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'; /** * Error * */ class BillingError { /** * Create a BillingError. * @property {object} [error] * @property {number} [error.code] The status code return by the API. It can * be 400 or 403 or 500. * @property {string} [error.message] The reason for the request failed */ constructor() { } /** * Defines the metadata of BillingError * * @returns {object} metadata of BillingError * */ mapper() { return { required: false, serializedName: 'BillingError', type: { name: 'Composite', className: 'BillingError', modelProperties: { error: { required: false, serializedName: 'error', type: { name: 'Composite', className: 'BillingErrorError' } } } } }; } } module.exports = BillingError;