Class ProjectHostedToolPermissions.Mcp
-
- All Implemented Interfaces:
public final class ProjectHostedToolPermissions.McpPermission state for a single hosted tool on a project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectHostedToolPermissions.Mcp.BuilderA builder for Mcp.
-
Method Summary
Modifier and Type Method Description final Booleanenabled()Whether the hosted tool is enabled for the project. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final Map<String, JsonValue>_additionalProperties()final ProjectHostedToolPermissions.Mcp.BuildertoBuilder()final ProjectHostedToolPermissions.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 ProjectHostedToolPermissions.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 ProjectHostedToolPermissions.Mcp.Builder toBuilder()
-
validate
final ProjectHostedToolPermissions.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 ProjectHostedToolPermissions.Mcp.Builder builder()
Returns a mutable builder for constructing an instance of Mcp.
The following fields are required:
.enabled()
-
-
-
-