com.yahoo.athenz.zms.UserAuthorityAttributeMap 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.Map;
import com.yahoo.rdl.*;
//
// UserAuthorityAttributeMap - Map of user authority attributes
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserAuthorityAttributeMap {
public Map attributes;
public UserAuthorityAttributeMap setAttributes(Map attributes) {
this.attributes = attributes;
return this;
}
public Map getAttributes() {
return attributes;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != UserAuthorityAttributeMap.class) {
return false;
}
UserAuthorityAttributeMap a = (UserAuthorityAttributeMap) another;
if (attributes == null ? a.attributes != null : !attributes.equals(a.attributes)) {
return false;
}
}
return true;
}
}