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