Package com.sap.ai.sdk.grounding.model
Class RetrievalBinaryBooleanFilter
java.lang.Object
com.sap.ai.sdk.grounding.model.RetrievalBinaryBooleanFilter
RetrievalBinaryBooleanFilter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static enumGets or Sets operator -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RetrievalBinaryBooleanFilter. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newRetrievalBinaryBooleanFilterinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRetrievalBinaryBooleanFilter.getLeft()Get leftGet operatorgetRight()Get rightinthashCode()Set the left of thisRetrievalBinaryBooleanFilterinstance and return the same instance.Set the operator of thisRetrievalBinaryBooleanFilterinstance and return the same instance.Set the right of thisRetrievalBinaryBooleanFilterinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRetrievalBinaryBooleanFilterinstance.voidSet the left of thisRetrievalBinaryBooleanFilterinstance.voidSet the operator of thisRetrievalBinaryBooleanFilterinstance.voidSet the right of thisRetrievalBinaryBooleanFilterinstance.toMap()Get the value of all properties of thisRetrievalBinaryBooleanFilterinstance including unrecognized properties.toString()
-
Constructor Details
-
RetrievalBinaryBooleanFilter
protected RetrievalBinaryBooleanFilter()Default constructor for RetrievalBinaryBooleanFilter.
-
-
Method Details
-
operator
@Nonnull public RetrievalBinaryBooleanFilter operator(@Nonnull RetrievalBinaryBooleanFilter.OperatorEnum operator) Set the operator of thisRetrievalBinaryBooleanFilterinstance and return the same instance.- Parameters:
operator- The operator of thisRetrievalBinaryBooleanFilter- Returns:
- The same instance of this
RetrievalBinaryBooleanFilterclass
-
getOperator
Get operator- Returns:
- operator The operator of this
RetrievalBinaryBooleanFilterinstance.
-
setOperator
Set the operator of thisRetrievalBinaryBooleanFilterinstance.- Parameters:
operator- The operator of thisRetrievalBinaryBooleanFilter
-
left
Set the left of thisRetrievalBinaryBooleanFilterinstance and return the same instance.- Parameters:
left- The left of thisRetrievalBinaryBooleanFilter- Returns:
- The same instance of this
RetrievalBinaryBooleanFilterclass
-
getLeft
Get left- Returns:
- left The left of this
RetrievalBinaryBooleanFilterinstance.
-
setLeft
Set the left of thisRetrievalBinaryBooleanFilterinstance.- Parameters:
left- The left of thisRetrievalBinaryBooleanFilter
-
right
Set the right of thisRetrievalBinaryBooleanFilterinstance and return the same instance.- Parameters:
right- The right of thisRetrievalBinaryBooleanFilter- Returns:
- The same instance of this
RetrievalBinaryBooleanFilterclass
-
getRight
Get right- Returns:
- right The right of this
RetrievalBinaryBooleanFilterinstance.
-
setRight
Set the right of thisRetrievalBinaryBooleanFilterinstance.- Parameters:
right- The right of thisRetrievalBinaryBooleanFilter
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRetrievalBinaryBooleanFilter.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisRetrievalBinaryBooleanFilterinstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisRetrievalBinaryBooleanFilterinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRetrievalBinaryBooleanFilterinstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newRetrievalBinaryBooleanFilterinstance with all required arguments.
-
toMap()instead.