com.yahoo.athenz.zts.TransportRules Maven / Gradle / Ivy
The newest version!
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.zts;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.List;
import com.yahoo.rdl.*;
//
// TransportRules -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class TransportRules {
public List ingressRules;
public List egressRules;
public TransportRules setIngressRules(List ingressRules) {
this.ingressRules = ingressRules;
return this;
}
public List getIngressRules() {
return ingressRules;
}
public TransportRules setEgressRules(List egressRules) {
this.egressRules = egressRules;
return this;
}
public List getEgressRules() {
return egressRules;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != TransportRules.class) {
return false;
}
TransportRules a = (TransportRules) another;
if (ingressRules == null ? a.ingressRules != null : !ingressRules.equals(a.ingressRules)) {
return false;
}
if (egressRules == null ? a.egressRules != null : !egressRules.equals(a.egressRules)) {
return false;
}
}
return true;
}
}