Class HostedToolPermissionUpdateParams.Mcp
-
- All Implemented Interfaces:
public final class HostedToolPermissionUpdateParams.McpThe MCP permission update.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHostedToolPermissionUpdateParams.Mcp.BuilderA builder for Mcp.
-
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.Mcp.BuildertoBuilder()final HostedToolPermissionUpdateParams.Mcpvalidate()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.Mcp.Builderbuilder()Returns a mutable builder for constructing an instance of Mcp. -
-
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.Mcp.Builder toBuilder()
-
validate
final HostedToolPermissionUpdateParams.Mcp 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.Mcp.Builder builder()
Returns a mutable builder for constructing an instance of Mcp.
The following fields are required:
.enabled()
-
-
-
-