com.github.petruki.switcher.client.domain.CriteriaResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of switcher-client Show documentation
Show all versions of switcher-client Show documentation
Switcher Client for working with Switcher API
package com.github.petruki.switcher.client.domain;
/**
* @author rogerio
* @since 2019-12-24
*/
public class CriteriaResponse {
private boolean result;
private String reason;
public CriteriaResponse() {}
public CriteriaResponse(final boolean result, final String reason) {
this.result = result;
this.reason = reason;
}
public boolean isItOn() {
return result;
}
public void setResult(boolean result) {
this.result = result;
}
public String getReason() {
return reason;
}
public void setReason(String reason) {
this.reason = reason;
}
@Override
public String toString() {
return "CriteriaResponse [result=" + result + ", reason=" + reason + "]";
}
}