-
@Serializable() public final class TaskResult
-
-
Field Summary
Fields Modifier and Type Field Description private final StringrequestIdprivate final StringmodelIdprivate final StringmodelVersionprivate final JsonObjectresponseprivate final Booleanerrorprivate final StringerrorMessageprivate final TaskResultMetadatametadata
-
Constructor Summary
Constructors Constructor Description TaskResult(String requestId, String modelId, String modelVersion, JsonObject response, Boolean error, String errorMessage, TaskResultMetadata metadata)
-
Method Summary
Modifier and Type Method Description final StringgetRequestId()final StringgetModelId()final StringgetModelVersion()final JsonObjectgetResponse()Opaque output bag — produced by the adapter, never shaped by the SDK core. final BooleangetError()final StringgetErrorMessage()final TaskResultMetadatagetMetadata()-
-
Method Detail
-
getRequestId
final String getRequestId()
-
getModelId
final String getModelId()
-
getModelVersion
final String getModelVersion()
-
getResponse
final JsonObject getResponse()
Opaque output bag — produced by the adapter, never shaped by the SDK core.
-
getErrorMessage
final String getErrorMessage()
-
getMetadata
final TaskResultMetadata getMetadata()
-
-
-
-