All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mockserver.model.LogEventRequestAndResponse Maven / Gradle / Ivy

package org.mockserver.model;

/**
 * @author jamesdbloom
 */
public class LogEventRequestAndResponse extends ObjectWithJsonToString {

    private String timestamp;
    private RequestDefinition httpRequest;
    private HttpResponse httpResponse;

    public String getTimestamp() {
        return timestamp;
    }

    public LogEventRequestAndResponse withTimestamp(String timestamp) {
        this.timestamp = timestamp;
        return this;
    }

    public RequestDefinition getHttpRequest() {
        return httpRequest;
    }

    public LogEventRequestAndResponse withHttpRequest(RequestDefinition httpRequest) {
        this.httpRequest = httpRequest;
        return this;
    }

    public HttpResponse getHttpResponse() {
        return httpResponse;
    }

    public LogEventRequestAndResponse withHttpResponse(HttpResponse httpResponse) {
        this.httpResponse = httpResponse;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy