/** * Selling Partner API for Messaging * With the Messaging API you can build applications that send messages to buyers. You can get a list of message types that are available for an order that you specify, then call an operation that sends a message to the buyer for that order. The Messaging API returns responses that are formed according to the JSON Hypertext Application Language (HAL) standard. * * 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 messaging_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:messaging_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; } //# sourceMappingURL=Error.d.ts.map