/AWS1/CL_SGJSAMPLERESPONSE¶
SampleResponse
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_body TYPE /AWS1/SGJINFERENCERESPONSEBODY /AWS1/SGJINFERENCERESPONSEBODY¶
The raw inference response body from the model.
Optional arguments:¶
iv_contenttype TYPE /AWS1/SGJSTRING /AWS1/SGJSTRING¶
MIME type of the inference result.
Queryable Attributes¶
ContentType¶
MIME type of the inference result.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENTTYPE() |
Getter for CONTENTTYPE, with configurable default |
ASK_CONTENTTYPE() |
Getter for CONTENTTYPE w/ exceptions if field has no value |
HAS_CONTENTTYPE() |
Determine if CONTENTTYPE has a value |
Body¶
The raw inference response body from the model.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BODY() |
Getter for BODY, with configurable default |
ASK_BODY() |
Getter for BODY w/ exceptions if field has no value |
HAS_BODY() |
Determine if BODY has a value |