Class ResponseInputItem.Program
-
- All Implemented Interfaces:
public final class ResponseInputItem.Program
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputItem.Program.BuilderA builder for Program.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of this program item. final StringcallId()The stable call ID of the program item. final Stringcode()The JavaScript source executed by programmatic tool calling. final Stringfingerprint()Opaque program replay fingerprint that must be round-tripped. final JsonValue_type()The item type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_callId()Returns the raw JSON value of callId. final JsonField<String>_code()Returns the raw JSON value of code. final JsonField<String>_fingerprint()Returns the raw JSON value of fingerprint. final Map<String, JsonValue>_additionalProperties()final ResponseInputItem.Program.BuildertoBuilder()final ResponseInputItem.Programvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputItem.Program.Builderbuilder()Returns a mutable builder for constructing an instance of Program. -
-
Method Detail
-
fingerprint
final String fingerprint()
Opaque program replay fingerprint that must be round-tripped.
-
_type
final JsonValue _type()
The item type. Always
program.Expected to always return the following:
JsonValue.from("program")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_callId
final JsonField<String> _callId()
Returns the raw JSON value of callId.
Unlike callId, this method doesn't throw if the JSON field has an unexpected type.
-
_code
final JsonField<String> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
-
_fingerprint
final JsonField<String> _fingerprint()
Returns the raw JSON value of fingerprint.
Unlike fingerprint, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseInputItem.Program.Builder toBuilder()
-
validate
final ResponseInputItem.Program validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ResponseInputItem.Program.Builder builder()
Returns a mutable builder for constructing an instance of Program.
The following fields are required:
.id() .callId() .code() .fingerprint()
-
-
-
-