dev.openfga.sdk.api.configuration.ClientReadOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openfga-sdk Show documentation
Show all versions of openfga-sdk Show documentation
This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).
/*
* 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.configuration;
import dev.openfga.sdk.api.model.ConsistencyPreference;
import java.util.Map;
public class ClientReadOptions implements AdditionalHeadersSupplier {
private Map additionalHeaders;
private Integer pageSize;
private String continuationToken;
private ConsistencyPreference consistency;
public ClientReadOptions additionalHeaders(Map additionalHeaders) {
this.additionalHeaders = additionalHeaders;
return this;
}
@Override
public Map getAdditionalHeaders() {
return this.additionalHeaders;
}
public ClientReadOptions pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return pageSize;
}
public ClientReadOptions continuationToken(String continuationToken) {
this.continuationToken = continuationToken;
return this;
}
public String getContinuationToken() {
return continuationToken;
}
public ClientReadOptions consistency(ConsistencyPreference consistency) {
this.consistency = consistency;
return this;
}
public ConsistencyPreference getConsistency() {
return consistency;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy