Class HostedToolPermissionUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class HostedToolPermissionUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
codeInterpreter
final HostedToolPermissionUpdateParams.Body.Builder codeInterpreter(HostedToolPermissionUpdateParams.CodeInterpreter codeInterpreter)
The code interpreter permission update.
-
codeInterpreter
final HostedToolPermissionUpdateParams.Body.Builder codeInterpreter(Optional<HostedToolPermissionUpdateParams.CodeInterpreter> codeInterpreter)
Alias for calling Builder.codeInterpreter with
codeInterpreter.orElse(null).
-
codeInterpreter
final HostedToolPermissionUpdateParams.Body.Builder codeInterpreter(JsonField<HostedToolPermissionUpdateParams.CodeInterpreter> codeInterpreter)
Sets Builder.codeInterpreter to an arbitrary JSON value.
You should usually call Builder.codeInterpreter with a well-typed CodeInterpreter value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileSearch
final HostedToolPermissionUpdateParams.Body.Builder fileSearch(HostedToolPermissionUpdateParams.FileSearch fileSearch)
The file search permission update.
-
fileSearch
final HostedToolPermissionUpdateParams.Body.Builder fileSearch(Optional<HostedToolPermissionUpdateParams.FileSearch> fileSearch)
Alias for calling Builder.fileSearch with
fileSearch.orElse(null).
-
fileSearch
final HostedToolPermissionUpdateParams.Body.Builder fileSearch(JsonField<HostedToolPermissionUpdateParams.FileSearch> fileSearch)
Sets Builder.fileSearch to an arbitrary JSON value.
You should usually call Builder.fileSearch with a well-typed FileSearch value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
imageGeneration
final HostedToolPermissionUpdateParams.Body.Builder imageGeneration(HostedToolPermissionUpdateParams.ImageGeneration imageGeneration)
The image generation permission update.
-
imageGeneration
final HostedToolPermissionUpdateParams.Body.Builder imageGeneration(Optional<HostedToolPermissionUpdateParams.ImageGeneration> imageGeneration)
Alias for calling Builder.imageGeneration with
imageGeneration.orElse(null).
-
imageGeneration
final HostedToolPermissionUpdateParams.Body.Builder imageGeneration(JsonField<HostedToolPermissionUpdateParams.ImageGeneration> imageGeneration)
Sets Builder.imageGeneration to an arbitrary JSON value.
You should usually call Builder.imageGeneration with a well-typed ImageGeneration value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mcp
final HostedToolPermissionUpdateParams.Body.Builder mcp(HostedToolPermissionUpdateParams.Mcp mcp)
The MCP permission update.
-
mcp
final HostedToolPermissionUpdateParams.Body.Builder mcp(Optional<HostedToolPermissionUpdateParams.Mcp> mcp)
Alias for calling Builder.mcp with
mcp.orElse(null).
-
mcp
final HostedToolPermissionUpdateParams.Body.Builder mcp(JsonField<HostedToolPermissionUpdateParams.Mcp> mcp)
Sets Builder.mcp to an arbitrary JSON value.
You should usually call Builder.mcp with a well-typed Mcp value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
webSearch
final HostedToolPermissionUpdateParams.Body.Builder webSearch(HostedToolPermissionUpdateParams.WebSearch webSearch)
The web search permission update.
-
webSearch
final HostedToolPermissionUpdateParams.Body.Builder webSearch(Optional<HostedToolPermissionUpdateParams.WebSearch> webSearch)
Alias for calling Builder.webSearch with
webSearch.orElse(null).
-
webSearch
final HostedToolPermissionUpdateParams.Body.Builder webSearch(JsonField<HostedToolPermissionUpdateParams.WebSearch> webSearch)
Sets Builder.webSearch to an arbitrary JSON value.
You should usually call Builder.webSearch with a well-typed WebSearch value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final HostedToolPermissionUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final HostedToolPermissionUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final HostedToolPermissionUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final HostedToolPermissionUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final HostedToolPermissionUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final HostedToolPermissionUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-