com.yahoo.athenz.msd.NetworkPolicyChangeImpactDetail Maven / Gradle / Ivy
The newest version!
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.msd;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yahoo.rdl.*;
//
// NetworkPolicyChangeImpactDetail -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class NetworkPolicyChangeImpactDetail {
public String domain;
public String policy;
public long transportPolicyId;
public NetworkPolicyChangeImpactDetail setDomain(String domain) {
this.domain = domain;
return this;
}
public String getDomain() {
return domain;
}
public NetworkPolicyChangeImpactDetail setPolicy(String policy) {
this.policy = policy;
return this;
}
public String getPolicy() {
return policy;
}
public NetworkPolicyChangeImpactDetail setTransportPolicyId(long transportPolicyId) {
this.transportPolicyId = transportPolicyId;
return this;
}
public long getTransportPolicyId() {
return transportPolicyId;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != NetworkPolicyChangeImpactDetail.class) {
return false;
}
NetworkPolicyChangeImpactDetail a = (NetworkPolicyChangeImpactDetail) another;
if (domain == null ? a.domain != null : !domain.equals(a.domain)) {
return false;
}
if (policy == null ? a.policy != null : !policy.equals(a.policy)) {
return false;
}
if (transportPolicyId != a.transportPolicyId) {
return false;
}
}
return true;
}
}