io.quarkiverse.openfga.client.model.nodes.Users Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-openfga-client-model Show documentation
Show all versions of quarkus-openfga-client-model Show documentation
OpenFGA Client API model classes
The newest version!
package io.quarkiverse.openfga.client.model.nodes;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
import io.quarkiverse.openfga.client.model.utils.Preconditions;
public final class Users {
private final List users;
public Users(List users) {
this.users = Preconditions.parameterNonNull(users, "users");
}
public List getUsers() {
return users;
}
@Override
public boolean equals(@Nullable Object obj) {
if (obj == this)
return true;
if (obj == null || obj.getClass() != this.getClass())
return false;
var that = (Users) obj;
return Objects.equals(this.users, that.users);
}
@Override
public int hashCode() {
return Objects.hash(users);
}
@Override
public String toString() {
return "Users[" +
"users=" + users + ']';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy