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 classPermissionRetrieveParams.BuilderA builder for PermissionRetrieveParams.
public final classPermissionRetrieveParams.OrderThe order in which to retrieve permissions.
-
Method Summary
Modifier and Type Method Description final Optional<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()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final PermissionRetrieveParams.BuildertoBuilder()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. Booleanequals(Object other)IntegerhashCode()StringtoString()final static PermissionRetrieveParamsnone()final static PermissionRetrieveParams.Builderbuilder()Returns a mutable builder for constructing an instance of PermissionRetrieveParams. -
-
Method Detail
-
fineTunedModelCheckpoint
final Optional<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()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
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.
-
none
final static PermissionRetrieveParams none()
-
builder
final static PermissionRetrieveParams.Builder builder()
Returns a mutable builder for constructing an instance of PermissionRetrieveParams.
-
-
-
-