io.quarkiverse.openfga.client.model.dto.ListUsersResponse 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.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.quarkiverse.openfga.client.model.User;
public final class ListUsersResponse {
private final List users;
@JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
public ListUsersResponse(List users) {
this.users = users;
}
public List getUsers() {
return users;
}
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
var that = (ListUsersResponse) o;
return users.equals(that.users);
}
@Override
public int hashCode() {
return users.hashCode();
}
@Override
public String toString() {
return "ListUsersResponse[" +
"users=" + users + ']';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy