Class HostedToolPermissionUpdateParams.Body
-
- All Implemented Interfaces:
public final class HostedToolPermissionUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHostedToolPermissionUpdateParams.Body.BuilderA builder for Body.
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final HostedToolPermissionUpdateParams.Body.Builder toBuilder()
-
validate
final HostedToolPermissionUpdateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static HostedToolPermissionUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-