/** * Selling Partner API for Services * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources. * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ /** * The Error model module. * @module services_v1/model/Error * @version v1 */ export declare class Error { code: string; message: string; /** * Constructs a new Error. * Error response returned when the request is unsuccessful. * @alias module:services_v1/model/Error * @class * @param code {String} An error code that identifies the type of error that occurred. * @param message {String} A message that describes the error condition. */ constructor(code: string, message: string); /** * Constructs a Error from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {Error} obj Optional instance to populate. * @return {Error} The populated Error instance. */ static constructFromObject(data: Object, obj: Error): Error; } export declare namespace Error { var ErrorLevelEnum: { /** * value: "ERROR" * @const */ ERROR: string; /** * value: "WARNING" * @const */ WARNING: string; }; } //# sourceMappingURL=Error.d.ts.map