Package com.openai.models.realtime
Class RealtimeMcpToolExecutionError.Builder
-
- All Implemented Interfaces:
public final class RealtimeMcpToolExecutionError.Builder
A builder for RealtimeMcpToolExecutionError.
-
-
Method Summary
Modifier and Type Method Description final RealtimeMcpToolExecutionError.Builder
message(String message)
final RealtimeMcpToolExecutionError.Builder
message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value. final RealtimeMcpToolExecutionError.Builder
type(JsonValue type)
Sets the field to an arbitrary JSON value. final RealtimeMcpToolExecutionError.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final RealtimeMcpToolExecutionError.Builder
putAdditionalProperty(String key, JsonValue value)
final RealtimeMcpToolExecutionError.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final RealtimeMcpToolExecutionError.Builder
removeAdditionalProperty(String key)
final RealtimeMcpToolExecutionError.Builder
removeAllAdditionalProperties(Set<String> keys)
final RealtimeMcpToolExecutionError
build()
Returns an immutable instance of RealtimeMcpToolExecutionError. -
-
Method Detail
-
message
final RealtimeMcpToolExecutionError.Builder message(String message)
-
message
final RealtimeMcpToolExecutionError.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final RealtimeMcpToolExecutionError.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("tool_execution_error")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RealtimeMcpToolExecutionError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RealtimeMcpToolExecutionError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RealtimeMcpToolExecutionError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RealtimeMcpToolExecutionError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RealtimeMcpToolExecutionError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RealtimeMcpToolExecutionError build()
Returns an immutable instance of RealtimeMcpToolExecutionError.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.message()
-
-
-
-