com.yahoo.athenz.zms.TenantRoleAction Maven / Gradle / Ivy
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.zms;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yahoo.rdl.*;
//
// TenantRoleAction - A representation of tenant role action.
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class TenantRoleAction {
public String role;
public String action;
public TenantRoleAction setRole(String role) {
this.role = role;
return this;
}
public String getRole() {
return role;
}
public TenantRoleAction setAction(String action) {
this.action = action;
return this;
}
public String getAction() {
return action;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != TenantRoleAction.class) {
return false;
}
TenantRoleAction a = (TenantRoleAction) another;
if (role == null ? a.role != null : !role.equals(a.role)) {
return false;
}
if (action == null ? a.action != null : !action.equals(a.action)) {
return false;
}
}
return true;
}
}