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

io.quarkiverse.openfga.client.model.dto.ListUsersResponse Maven / Gradle / Ivy

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