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

com.testdroid.api.model.APITestRunParameter Maven / Gradle / Ivy

package com.testdroid.api.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.testdroid.api.APIEntity;

import java.io.Serializable;

/**
 * @author Łukasz Kajda 
 */
public class APITestRunParameter extends APIEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String key;

    private String value;

    public APITestRunParameter() {
    }

    public APITestRunParameter(String key, String value) {
        this(null, key, value);
    }

    public APITestRunParameter(Long id, String key, String value) {
        super(id);
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

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

    public String getValue() {
        return value;
    }

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

    @Override
    @JsonIgnore
    protected  void clone(T from) {
        APITestRunParameter apiTestRunParameter = (APITestRunParameter) from;
        cloneBase(from);
        this.key = apiTestRunParameter.key;
        this.value = apiTestRunParameter.value;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy