All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.athenz.zms.TenantRoleAction Maven / Gradle / Ivy

There is a newer version: 1.12.5
Show 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 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy