Class HostedToolPermissionUpdateParams.CodeInterpreter
-
- All Implemented Interfaces:
public final class HostedToolPermissionUpdateParams.CodeInterpreterThe code interpreter permission update.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHostedToolPermissionUpdateParams.CodeInterpreter.BuilderA builder for CodeInterpreter.
-
Method Summary
Modifier and Type Method Description final Booleanenabled()Whether to enable the hosted tool for the project. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final Map<String, JsonValue>_additionalProperties()final HostedToolPermissionUpdateParams.CodeInterpreter.BuildertoBuilder()final HostedToolPermissionUpdateParams.CodeInterpretervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static HostedToolPermissionUpdateParams.CodeInterpreter.Builderbuilder()Returns a mutable builder for constructing an instance of CodeInterpreter. -
-
Method Detail
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final HostedToolPermissionUpdateParams.CodeInterpreter.Builder toBuilder()
-
validate
final HostedToolPermissionUpdateParams.CodeInterpreter 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.CodeInterpreter.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreter.
The following fields are required:
.enabled()
-
-
-
-