Package ai.extend.types
Class StepRunOutputRulesItem
- java.lang.Object
-
- ai.extend.types.StepRunOutputRulesItem
-
public final class StepRunOutputRulesItem extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStepRunOutputRulesItem._FinalStagestatic classStepRunOutputRulesItem.Builderstatic interfaceStepRunOutputRulesItem.NameStagestatic interfaceStepRunOutputRulesItem.ValidStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StepRunOutputRulesItem.NameStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getError()java.util.Optional<StepRunOutputRulesItemFailureReason>getFailureReason()java.lang.StringgetName()booleangetValid()java.util.Optional<java.util.List<java.lang.String>>getValidArray()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- The name of the validation rule.
-
getValid
public boolean getValid()
- Returns:
- Indicates whether this validation rule passed or not. This field will be
trueonly if the formula evaluates totrue. If the rule's formula is array valued, then this field will only betrueif the formula evaluates totruefor every item in the array.
-
getValidArray
public java.util.Optional<java.util.List<java.lang.String>> getValidArray()
- Returns:
- Only present if the validation rule's formula is array valued. This field contains the formula's evaluated result for every item in the array.
-
getFailureReason
public java.util.Optional<StepRunOutputRulesItemFailureReason> getFailureReason()
- Returns:
- If the validation rule is not valid, then this describes why the rule failed.
"RULE_FAILED"- The formula evaluated tofalseornull"PARSE_ERROR"- The formula could not be parsed"VALUE_ERROR"- An error occurred while evaluating the formula
-
getError
public java.util.Optional<java.lang.String> getError()
- Returns:
- If the
failureReasonisPARSE_ERRORorVALUE_ERROR, then this field contains the error's details.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static StepRunOutputRulesItem.NameStage builder()
-
-