import { Schema } from "../swagger/swaggerTypes"; /** * @class * Initializes a new instance of the RequestResponse class. * @constructor * Describes the live request and response to be validated. * * @member {object} liveRequest Schema for the live request to be validated * * @member {object} [liveRequest.headers] Headers of the request. * * @member {string} [liveRequest.method] Http verb of the request. Possible * values include: 'GET', 'PUT', 'PATCH', 'POST', 'DELETE', 'HEAD', 'OPTIONS', * 'TRACE' * * @member {string} [liveRequest.url] Url of the request. * * @member {object} [liveRequest.body] Parsed body of the request as a JSON. * * @member {object} liveResponse Schema for the live response to be validated * * @member {string} [liveResponse.statusCode] The Response status code. * * @member {object} [liveResponse.headers] Headers of the response. * * @member {object} [liveResponse.body] Body of the response. * * @member {string} [liveResponse.encoding] The encoding of the response body * when the body is a buffer. * */ export declare class RequestResponse { /** * Defines the metadata of RequestResponse * * @returns {object} metadata of RequestResponse * */ mapper(): { required: boolean; serializedName: string; type: { name: string; className: string; modelProperties: { liveRequest: { required: boolean; serializedName: string; type: { name: string; className: string; }; }; liveResponse: { required: boolean; serializedName: string; type: { name: string; className: string; }; }; }; }; }; } export declare const requestResponseDefinition: Schema; //# sourceMappingURL=requestResponse.d.ts.map