Class PermissionRetrieveParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class PermissionRetrieveParams implements Params
NOTE: This endpoint requires an ../admin-api-keys.
Organization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
PermissionRetrieveParams.Builder
A builder for PermissionRetrieveParams.
public final class
PermissionRetrieveParams.Order
The order in which to retrieve permissions.
-
Method Summary
Modifier and Type Method Description final String
fineTunedModelCheckpoint()
final Optional<String>
after()
Identifier for the last permission ID from the previous pagination request. final Optional<Long>
limit()
Number of permissions to retrieve. final Optional<PermissionRetrieveParams.Order>
order()
The order in which to retrieve permissions. final Optional<String>
projectId()
The ID of the project to get permissions for. final Headers
_additionalHeaders()
final QueryParams
_additionalQueryParams()
final PermissionRetrieveParams.Builder
toBuilder()
final String
_pathParam(Integer index)
Headers
_headers()
The full set of headers in the parameters, including both fixed and additional headers. QueryParams
_queryParams()
The full set of query params in the parameters, including both fixed and additional query params. Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static PermissionRetrieveParams.Builder
builder()
Returns a mutable builder for constructing an instance of PermissionRetrieveParams. -
-
Method Detail
-
fineTunedModelCheckpoint
final String fineTunedModelCheckpoint()
-
after
final Optional<String> after()
Identifier for the last permission ID from the previous pagination request.
-
order
final Optional<PermissionRetrieveParams.Order> order()
The order in which to retrieve permissions.
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final PermissionRetrieveParams.Builder toBuilder()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static PermissionRetrieveParams.Builder builder()
Returns a mutable builder for constructing an instance of PermissionRetrieveParams.
The following fields are required:
.fineTunedModelCheckpoint()
-
-
-
-