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

automation.library.conversion2jmx.postman2jmx.model.postman.PostmanBody 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 automation.library.conversion2jmx.postman2jmx.utils.ResponseBodyMode;

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

@JsonIgnoreProperties(ignoreUnknown = true)
public class PostmanBody {

    @JsonProperty("mode")
    private String mode = ResponseBodyMode.EMPTY.getMode();

    @JsonProperty("file")
    private PostmanFileBody file;

    @JsonProperty("urlencoded")
    private List urlEncodes = new ArrayList<>();

    @JsonProperty("raw")
    private PostmanRawBody raw;

    @JsonProperty("formdata")
    private List formDataList = new ArrayList<>();


    public PostmanBody() {
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public PostmanFileBody getFile() {
        return file;
    }

    public void setFile(PostmanFileBody file) {
        this.file = file;
    }

    public List getUrlEncodes() {
        return urlEncodes;
    }

    public void setUrlEncodes(List urlEncodes) {
        this.urlEncodes = urlEncodes;
    }

    public PostmanRawBody getRaw() {
        return raw;
    }

    public void setRaw(PostmanRawBody raw) {
        this.raw = raw;
    }

    public List getFormDataList() {
        return formDataList;
    }

    public void setFormDataList(List formDataList) {
        this.formDataList = formDataList;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy