-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d790fc0
commit 31870f6
Showing
2 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/main/java/dev/openfga/sdk/api/configuration/ClientBatchCheckOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* OpenFGA | ||
* A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. | ||
* | ||
* The version of the OpenAPI document: 0.1 | ||
* 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; | ||
|
||
public class ClientBatchCheckOptions { | ||
private Integer maxParallelRequests; | ||
private String authorizationModelId; | ||
|
||
public ClientBatchCheckOptions maxParallelRequests(Integer maxParallelRequests) { | ||
this.maxParallelRequests = maxParallelRequests; | ||
return this; | ||
} | ||
|
||
public Integer getMaxParallelRequests() { | ||
return maxParallelRequests; | ||
} | ||
|
||
public ClientBatchCheckOptions authorizationModelId(String authorizationModelId) { | ||
this.authorizationModelId = authorizationModelId; | ||
return this; | ||
} | ||
|
||
public String getAuthorizationModelId() { | ||
return authorizationModelId; | ||
} | ||
|
||
public ClientCheckOptions asClientCheckOptions() { | ||
return new ClientCheckOptions().authorizationModelId(authorizationModelId); | ||
} | ||
} |