public final class CandidateOutcome extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CandidateOutcome.Builder
Collects the members of a new
CandidateOutcome. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<CandidateOutcome> |
READER
Reads a JSON object as a
CandidateOutcome. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static CandidateOutcome.Builder |
builder() |
static CandidateOutcome |
fromJson(Object json)
A
CandidateOutcome with the members of a JSON object, all kept. |
Map<String,Extension> |
getExtensions()
The member
extensions. |
List<CandidatePair> |
getPairs()
The member
pairs. |
CandidateOutcome.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<CandidateOutcome> READER
CandidateOutcome.public static CandidateOutcome fromJson(Object json)
CandidateOutcome with the members of a JSON object, all kept.public static CandidateOutcome.Builder builder()
public CandidateOutcome.Builder toBuilder()
public List<CandidatePair> getPairs()
pairs. Null when absent; throws IllegalStateException when the member
holds another JSON type.public Map<String,Extension> getExtensions()
extensions. Extension data keyed by namespace. Every core object may carry
it; it never takes part in a core identity. Null when absent; throws IllegalStateException
when the member holds another JSON type.