com.yahoo.athenz.zms.AssertionConditionData Maven / Gradle / Ivy
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.zms;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yahoo.rdl.*;
//
// AssertionConditionData - A representation of details associated with an
// assertion condition key
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class AssertionConditionData {
public AssertionConditionOperator operator;
public String value;
public AssertionConditionData setOperator(AssertionConditionOperator operator) {
this.operator = operator;
return this;
}
public AssertionConditionOperator getOperator() {
return operator;
}
public AssertionConditionData setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return value;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != AssertionConditionData.class) {
return false;
}
AssertionConditionData a = (AssertionConditionData) another;
if (operator == null ? a.operator != null : !operator.equals(a.operator)) {
return false;
}
if (value == null ? a.value != null : !value.equals(a.value)) {
return false;
}
}
return true;
}
}