com.yahoo.athenz.zms.DomainRoleMember 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.*;
//
// DomainRoleMember -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class DomainRoleMember {
public String memberName;
public List memberRoles;
public DomainRoleMember setMemberName(String memberName) {
this.memberName = memberName;
return this;
}
public String getMemberName() {
return memberName;
}
public DomainRoleMember setMemberRoles(List memberRoles) {
this.memberRoles = memberRoles;
return this;
}
public List getMemberRoles() {
return memberRoles;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != DomainRoleMember.class) {
return false;
}
DomainRoleMember a = (DomainRoleMember) another;
if (memberName == null ? a.memberName != null : !memberName.equals(a.memberName)) {
return false;
}
if (memberRoles == null ? a.memberRoles != null : !memberRoles.equals(a.memberRoles)) {
return false;
}
}
return true;
}
}