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

com.yahoo.athenz.zms.AssertionConditionData Maven / Gradle / Ivy

The newest version!
//
// 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy