Class ResponseInputItem.Program.Builder
-
- All Implemented Interfaces:
public final class ResponseInputItem.Program.BuilderA builder for Program.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseInputItem.Program.Builder id(String id)
The unique ID of this program item.
-
id
final ResponseInputItem.Program.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
callId
final ResponseInputItem.Program.Builder callId(String callId)
The stable call ID of the program item.
-
callId
final ResponseInputItem.Program.Builder callId(JsonField<String> callId)
Sets Builder.callId to an arbitrary JSON value.
You should usually call Builder.callId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
code
final ResponseInputItem.Program.Builder code(String code)
The JavaScript source executed by programmatic tool calling.
-
code
final ResponseInputItem.Program.Builder code(JsonField<String> code)
Sets Builder.code to an arbitrary JSON value.
You should usually call Builder.code with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fingerprint
final ResponseInputItem.Program.Builder fingerprint(String fingerprint)
Opaque program replay fingerprint that must be round-tripped.
-
fingerprint
final ResponseInputItem.Program.Builder fingerprint(JsonField<String> fingerprint)
Sets Builder.fingerprint to an arbitrary JSON value.
You should usually call Builder.fingerprint 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 ResponseInputItem.Program.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("program")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseInputItem.Program.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputItem.Program.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputItem.Program.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputItem.Program.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputItem.Program.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputItem.Program build()
Returns an immutable instance of Program.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .callId() .code() .fingerprint()
-
-
-
-