package com.eactive.testmaster.client.dto;

import java.io.Serializable;

public class ApiRequestKeyValueDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private boolean enabled;

    private String key;
    private String value;


    public ApiRequestKeyValueDTO(boolean enabled, String key, String value) {
        this.enabled = enabled;
        this.key = key;
        this.value = value;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    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;
    }

    public String toString() {
        return (enabled?"":"//")+ key + "::" + value;
    }
}
