Class McpListToolsInProgress
-
- All Implemented Interfaces:
public final class McpListToolsInProgressReturned when listing MCP tools is in progress for an item.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMcpListToolsInProgress.BuilderA builder for McpListToolsInProgress.
-
Method Summary
Modifier and Type Method Description final StringeventId()The unique ID of the server event. final StringitemId()The ID of the MCP list tools item. final JsonValue_type()The event type, must be mcp_list_tools.in_progress.final JsonField<String>_eventId()Returns the raw JSON value of eventId. final JsonField<String>_itemId()Returns the raw JSON value of itemId. final Map<String, JsonValue>_additionalProperties()final McpListToolsInProgress.BuildertoBuilder()final McpListToolsInProgressvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static McpListToolsInProgress.Builderbuilder()Returns a mutable builder for constructing an instance of McpListToolsInProgress. -
-
Method Detail
-
_type
final JsonValue _type()
The event type, must be
mcp_list_tools.in_progress.Expected to always return the following:
JsonValue.from("mcp_list_tools.in_progress")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_eventId
final JsonField<String> _eventId()
Returns the raw JSON value of eventId.
Unlike eventId, this method doesn't throw if the JSON field has an unexpected type.
-
_itemId
final JsonField<String> _itemId()
Returns the raw JSON value of itemId.
Unlike itemId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final McpListToolsInProgress.Builder toBuilder()
-
validate
final McpListToolsInProgress 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 McpListToolsInProgress.Builder builder()
Returns a mutable builder for constructing an instance of McpListToolsInProgress.
The following fields are required:
.eventId() .itemId()
-
-
-
-