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

automation.library.conversion2jmx.postman2jmx.model.postman.PostmanRequest Maven / Gradle / Ivy

Go to download

The 'conversion2jmx' library to helps creating JMeter JMX files from different sources

The newest version!
package automation.library.conversion2jmx.postman2jmx.model.postman;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class PostmanRequest {

    @JsonProperty("url")
    private PostmanUrl url;

    @JsonProperty("method")
    private String method;

    @JsonProperty("header")
    private List headers = new ArrayList<>();

    @JsonProperty("body")
    private PostmanBody body;

    @JsonProperty("description")
    private String description;

    public PostmanRequest() {
    }

    public List getHeaders() {
        return headers;
    }

    public void setHeaders(List headers) {
        this.headers = headers;
    }

    public PostmanBody getBody() {
        return body;
    }

    public void setBody(PostmanBody body) {
        this.body = body;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public PostmanUrl getUrl() {
        return url;
    }

    public void setUrl(PostmanUrl url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }


}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy