Jev Result
The answers to one request. Read them with the handles you declared (result[Triage.department]) or by id (result.noul("urgent")). A missing or mismatched answer raises JevResponseValidationException when it is read; an id or handle that wasn't part of the request raises IllegalArgumentException.
Properties
The model that answered, as reported by the API (falls back to requestedModel).
The parsed response body. A JevResponseValidationException carries the body's text as received.
The model name that was sent, possibly an alias such as jev-latest.
Functions
Reads a Choice by id, keyed by option string. The chosen option is returned as the server sent it, even one the question didn't declare, as both official SDKs do; enumChoice rejects one, since it has no constant for it.
Reads a Choice by id as constants of E. E must have a constant for every option the question declared, else this is a mistake in the calling code, reported as IllegalArgumentException. An option the server returns that the question never declared is a JevResponseValidationException.