Package com.openai.models.responses
Class ResponseMcpListToolsFailedEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseMcpListToolsFailedEvent.Builder
A builder for ResponseMcpListToolsFailedEvent.
-
-
Method Summary
-
-
Method Detail
-
sequenceNumber
final ResponseMcpListToolsFailedEvent.Builder sequenceNumber(Long sequenceNumber)
The sequence number of this event.
-
sequenceNumber
final ResponseMcpListToolsFailedEvent.Builder sequenceNumber(JsonField<Long> sequenceNumber)
Sets Builder.sequenceNumber to an arbitrary JSON value.
You should usually call Builder.sequenceNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseMcpListToolsFailedEvent.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("response.mcp_list_tools.failed")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseMcpListToolsFailedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseMcpListToolsFailedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseMcpListToolsFailedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseMcpListToolsFailedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseMcpListToolsFailedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseMcpListToolsFailedEvent build()
Returns an immutable instance of ResponseMcpListToolsFailedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.sequenceNumber()
-
-
-
-