Class CodeInterpreterLogs.Builder
-
- All Implemented Interfaces:
public final class CodeInterpreterLogs.Builder
A builder for CodeInterpreterLogs.
-
-
Method Summary
-
-
Method Detail
-
index
final CodeInterpreterLogs.Builder index(Long index)
The index of the output in the outputs array.
-
index
final CodeInterpreterLogs.Builder index(JsonField<Long> index)
Sets Builder.index to an arbitrary JSON value.
You should usually call Builder.index 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 CodeInterpreterLogs.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("logs")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
logs
final CodeInterpreterLogs.Builder logs(String logs)
The text output from the Code Interpreter tool call.
-
logs
final CodeInterpreterLogs.Builder logs(JsonField<String> logs)
Sets Builder.logs to an arbitrary JSON value.
You should usually call Builder.logs 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 CodeInterpreterLogs.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CodeInterpreterLogs.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CodeInterpreterLogs.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CodeInterpreterLogs.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CodeInterpreterLogs.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CodeInterpreterLogs build()
Returns an immutable instance of CodeInterpreterLogs.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.index()
-
-
-
-