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

automation.library.conversion2jmx.postman2jmx.model.postman.PostmanHeader 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.common.utils.ValueUtils;

@JsonIgnoreProperties(ignoreUnknown = true)
public class PostmanHeader {

    @JsonProperty("key")
    private String key;

    @JsonProperty("value")
    private String value;

    public PostmanHeader() {
    }

    public PostmanHeader(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = ValueUtils.value(key);
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = ValueUtils.value(value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy