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

dev.openfga.sdk.api.client.model.ClientListRelationsRequest Maven / Gradle / Ivy

Go to download

This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).

There is a newer version: 0.7.2
Show newest version
/*
 * OpenFGA
 * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar.
 *
 * The version of the OpenAPI document: 1.x
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

package dev.openfga.sdk.api.client.model;

import java.util.List;

public class ClientListRelationsRequest {
    private String user;
    private String _object;
    private List relations;
    private List contextualTupleKeys;
    private Object context;

    public ClientListRelationsRequest user(String user) {
        this.user = user;
        return this;
    }

    /**
     * Get user
     * @return user
     **/
    public String getUser() {
        return user;
    }

    public ClientListRelationsRequest _object(String _object) {
        this._object = _object;
        return this;
    }

    public String getObject() {
        return _object;
    }

    public ClientListRelationsRequest relations(List relations) {
        this.relations = relations;
        return this;
    }

    /**
     * Get relations
     * @return relations
     **/
    public List getRelations() {
        return relations;
    }

    public ClientListRelationsRequest contextualTupleKeys(List contextualTupleKeys) {
        this.contextualTupleKeys = contextualTupleKeys;
        return this;
    }

    public List getContextualTupleKeys() {
        return contextualTupleKeys;
    }

    public ClientListRelationsRequest context(Object context) {
        this.context = context;
        return this;
    }

    /**
     * Get context
     * @return context
     **/
    public Object getContext() {
        return context;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy