Class ResponseInputItem.ProgramOutput
-
- All Implemented Interfaces:
public final class ResponseInputItem.ProgramOutput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputItem.ProgramOutput.BuilderA builder for ProgramOutput.
public final classResponseInputItem.ProgramOutput.StatusThe terminal status of the program output.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of this program output item. final StringcallId()The call ID of the program item. final Stringresult()The result produced by the program item. final ResponseInputItem.ProgramOutput.Statusstatus()The terminal status of the program output. 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>_result()Returns the raw JSON value of result. final JsonField<ResponseInputItem.ProgramOutput.Status>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final ResponseInputItem.ProgramOutput.BuildertoBuilder()final ResponseInputItem.ProgramOutputvalidate()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.ProgramOutput.Builderbuilder()Returns a mutable builder for constructing an instance of ProgramOutput. -
-
Method Detail
-
status
final ResponseInputItem.ProgramOutput.Status status()
The terminal status of the program output.
-
_type
final JsonValue _type()
The item type. Always
program_output.Expected to always return the following:
JsonValue.from("program_output")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.
-
_result
final JsonField<String> _result()
Returns the raw JSON value of result.
Unlike result, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<ResponseInputItem.ProgramOutput.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseInputItem.ProgramOutput.Builder toBuilder()
-
validate
final ResponseInputItem.ProgramOutput 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.ProgramOutput.Builder builder()
Returns a mutable builder for constructing an instance of ProgramOutput.
The following fields are required:
.id() .callId() .result() .status()
-
-
-
-