Package com.openai.models.realtime
Class RealtimeToolsConfigUnion.Mcp.RequireApproval.McpToolApprovalFilter.Never
-
- All Implemented Interfaces:
public final class RealtimeToolsConfigUnion.Mcp.RequireApproval.McpToolApprovalFilter.NeverA filter object to specify which tools are allowed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeToolsConfigUnion.Mcp.RequireApproval.McpToolApprovalFilter.Never.BuilderA builder for Never.
-
Method Summary
Modifier and Type Method Description final Optional<Boolean>readOnly()Indicates whether or not a tool modifies data or is read-only. final Optional<List<String>>toolNames()List of allowed tool names. final JsonField<Boolean>_readOnly()Returns the raw JSON value of readOnly. final JsonField<List<String>>_toolNames()Returns the raw JSON value of toolNames. final Map<String, JsonValue>_additionalProperties()final RealtimeToolsConfigUnion.Mcp.RequireApproval.McpToolApprovalFilter.Never.BuildertoBuilder()final RealtimeToolsConfigUnion.Mcp.RequireApproval.McpToolApprovalFilter.Nevervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeToolsConfigUnion.Mcp.RequireApproval.McpToolApprovalFilter.Never.Builderbuilder()Returns a mutable builder for constructing an instance of Never. -
-
Method Detail
-
readOnly
final Optional<Boolean> readOnly()
Indicates whether or not a tool modifies data or is read-only. If an MCP server is annotated with
readOnlyHint, it will match this filter.
-
_readOnly
final JsonField<Boolean> _readOnly()
Returns the raw JSON value of readOnly.
Unlike readOnly, this method doesn't throw if the JSON field has an unexpected type.
-
_toolNames
final JsonField<List<String>> _toolNames()
Returns the raw JSON value of toolNames.
Unlike toolNames, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeToolsConfigUnion.Mcp.RequireApproval.McpToolApprovalFilter.Never.Builder toBuilder()
-
validate
final RealtimeToolsConfigUnion.Mcp.RequireApproval.McpToolApprovalFilter.Never 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 RealtimeToolsConfigUnion.Mcp.RequireApproval.McpToolApprovalFilter.Never.Builder builder()
Returns a mutable builder for constructing an instance of Never.
-
-
-
-