com.yahoo.athenz.zms.DomainRoleMembers 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 java.util.List;
import com.yahoo.rdl.*;
//
// DomainRoleMembers -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class DomainRoleMembers {
public String domainName;
public List members;
public DomainRoleMembers setDomainName(String domainName) {
this.domainName = domainName;
return this;
}
public String getDomainName() {
return domainName;
}
public DomainRoleMembers setMembers(List members) {
this.members = members;
return this;
}
public List getMembers() {
return members;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != DomainRoleMembers.class) {
return false;
}
DomainRoleMembers a = (DomainRoleMembers) another;
if (domainName == null ? a.domainName != null : !domainName.equals(a.domainName)) {
return false;
}
if (members == null ? a.members != null : !members.equals(a.members)) {
return false;
}
}
return true;
}
}