com.yahoo.athenz.zts.PolicyData Maven / Gradle / Ivy
//
// 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.*;
//
// PolicyData -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class PolicyData {
public String domain;
public List policies;
public PolicyData setDomain(String domain) {
this.domain = domain;
return this;
}
public String getDomain() {
return domain;
}
public PolicyData setPolicies(List policies) {
this.policies = policies;
return this;
}
public List getPolicies() {
return policies;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != PolicyData.class) {
return false;
}
PolicyData a = (PolicyData) another;
if (domain == null ? a.domain != null : !domain.equals(a.domain)) {
return false;
}
if (policies == null ? a.policies != null : !policies.equals(a.policies)) {
return false;
}
}
return true;
}
}