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

com.yahoo.athenz.zms.PrincipalMember 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 com.yahoo.rdl.*;

//
// PrincipalMember -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class PrincipalMember {
    public String principalName;
    public int suspendedState;

    public PrincipalMember setPrincipalName(String principalName) {
        this.principalName = principalName;
        return this;
    }
    public String getPrincipalName() {
        return principalName;
    }
    public PrincipalMember setSuspendedState(int suspendedState) {
        this.suspendedState = suspendedState;
        return this;
    }
    public int getSuspendedState() {
        return suspendedState;
    }

    @Override
    public boolean equals(Object another) {
        if (this != another) {
            if (another == null || another.getClass() != PrincipalMember.class) {
                return false;
            }
            PrincipalMember a = (PrincipalMember) another;
            if (principalName == null ? a.principalName != null : !principalName.equals(a.principalName)) {
                return false;
            }
            if (suspendedState != a.suspendedState) {
                return false;
            }
        }
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy