Class HostedToolPermissionUpdateParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class HostedToolPermissionUpdateParams implements Params
Updates hosted tool permissions for a project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHostedToolPermissionUpdateParams.BuilderA builder for HostedToolPermissionUpdateParams.
public final classHostedToolPermissionUpdateParams.Bodypublic final classHostedToolPermissionUpdateParams.CodeInterpreterThe code interpreter permission update.
public final classHostedToolPermissionUpdateParams.FileSearchThe file search permission update.
public final classHostedToolPermissionUpdateParams.ImageGenerationThe image generation permission update.
public final classHostedToolPermissionUpdateParams.McpThe MCP permission update.
public final classHostedToolPermissionUpdateParams.WebSearchThe web search permission update.
-
Method Summary
-
-
Method Detail
-
codeInterpreter
final Optional<HostedToolPermissionUpdateParams.CodeInterpreter> codeInterpreter()
The code interpreter permission update.
-
fileSearch
final Optional<HostedToolPermissionUpdateParams.FileSearch> fileSearch()
The file search permission update.
-
imageGeneration
final Optional<HostedToolPermissionUpdateParams.ImageGeneration> imageGeneration()
The image generation permission update.
-
mcp
final Optional<HostedToolPermissionUpdateParams.Mcp> mcp()
The MCP permission update.
-
webSearch
final Optional<HostedToolPermissionUpdateParams.WebSearch> webSearch()
The web search permission update.
-
_codeInterpreter
final JsonField<HostedToolPermissionUpdateParams.CodeInterpreter> _codeInterpreter()
Returns the raw JSON value of codeInterpreter.
Unlike codeInterpreter, this method doesn't throw if the JSON field has an unexpected type.
-
_fileSearch
final JsonField<HostedToolPermissionUpdateParams.FileSearch> _fileSearch()
Returns the raw JSON value of fileSearch.
Unlike fileSearch, this method doesn't throw if the JSON field has an unexpected type.
-
_imageGeneration
final JsonField<HostedToolPermissionUpdateParams.ImageGeneration> _imageGeneration()
Returns the raw JSON value of imageGeneration.
Unlike imageGeneration, this method doesn't throw if the JSON field has an unexpected type.
-
_mcp
final JsonField<HostedToolPermissionUpdateParams.Mcp> _mcp()
Returns the raw JSON value of mcp.
Unlike mcp, this method doesn't throw if the JSON field has an unexpected type.
-
_webSearch
final JsonField<HostedToolPermissionUpdateParams.WebSearch> _webSearch()
Returns the raw JSON value of webSearch.
Unlike webSearch, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_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 HostedToolPermissionUpdateParams.Builder toBuilder()
-
_body
final HostedToolPermissionUpdateParams.Body _body()
-
_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 HostedToolPermissionUpdateParams none()
-
builder
final static HostedToolPermissionUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of HostedToolPermissionUpdateParams.
-
-
-
-