Class Input
java.lang.Object
com.google.genai.gaos.models.decisions.Input
Input
Required. Shared input prefix evaluated once across all decision questions.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>asJson()Returns anOptionalcontaining the value as aJsonNode.booleaninthashCode()static Inputof(DecisionInputContent value) static Inputstatic Inputof(List<DecisionInputContent> value) string()toString()
-
Method Details
-
of
-
of
-
of
-
decisionInputContent
Returns anOptionalcontaining the value if it is of typeDecisionInputContent, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theDecisionInputContentvalue, or empty if not of this type
-
arrayOfDecisionInputContent
Returns anOptionalcontaining the value if it is of typeList<DecisionInputContent>, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theList<DecisionInputContent>value, or empty if not of this type
-
string
Returns anOptionalcontaining the value if it is of typeString, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theStringvalue, or empty if not of this type
-
asJson
Returns anOptionalcontaining the value as aJsonNode. This accessor returns the raw JSON when the value doesn't match any of the defined union types.- Returns:
- an
Optionalcontaining theJsonNodevalue, or empty if value matched a known type
-
equals
-
hashCode
public int hashCode() -
toString
-