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

com.yahoo.athenz.zms.ResourceAccess 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 java.util.List;
import com.yahoo.rdl.*;

//
// ResourceAccess -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class ResourceAccess {
    public String principal;
    public List assertions;

    public ResourceAccess setPrincipal(String principal) {
        this.principal = principal;
        return this;
    }
    public String getPrincipal() {
        return principal;
    }
    public ResourceAccess setAssertions(List assertions) {
        this.assertions = assertions;
        return this;
    }
    public List getAssertions() {
        return assertions;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy