Package com.sap.ai.sdk.grounding.model
Class PerFilterSearchResultWithError
java.lang.Object
com.sap.ai.sdk.grounding.model.PerFilterSearchResultWithError
PerFilterSearchResultWithError
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for PerFilterSearchResultWithError. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newPerFilterSearchResultWithErrorinstance with all required arguments.booleanerror(PerFilterSearchResultError error) Set the error of thisPerFilterSearchResultWithErrorinstance and return the same instance.Set the filterId of thisPerFilterSearchResultWithErrorinstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of thePerFilterSearchResultWithError.getError()Get errorGet filterIdinthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisPerFilterSearchResultWithErrorinstance.voidSet the error of thisPerFilterSearchResultWithErrorinstance.voidsetFilterId(String filterId) Set the filterId of thisPerFilterSearchResultWithErrorinstance.toMap()Get the value of all properties of thisPerFilterSearchResultWithErrorinstance including unrecognized properties.toString()
-
Constructor Details
-
PerFilterSearchResultWithError
protected PerFilterSearchResultWithError()Default constructor for PerFilterSearchResultWithError.
-
-
Method Details
-
filterId
Set the filterId of thisPerFilterSearchResultWithErrorinstance and return the same instance.- Parameters:
filterId- The filterId of thisPerFilterSearchResultWithError- Returns:
- The same instance of this
PerFilterSearchResultWithErrorclass
-
getFilterId
Get filterId- Returns:
- filterId The filterId of this
PerFilterSearchResultWithErrorinstance.
-
setFilterId
Set the filterId of thisPerFilterSearchResultWithErrorinstance.- Parameters:
filterId- The filterId of thisPerFilterSearchResultWithError
-
error
Set the error of thisPerFilterSearchResultWithErrorinstance and return the same instance.- Parameters:
error- The error of thisPerFilterSearchResultWithError- Returns:
- The same instance of this
PerFilterSearchResultWithErrorclass
-
getError
Get error- Returns:
- error The error of this
PerFilterSearchResultWithErrorinstance.
-
setError
Set the error of thisPerFilterSearchResultWithErrorinstance.- Parameters:
error- The error of thisPerFilterSearchResultWithError
-
getCustomFieldNames
Get the names of the unrecognizable properties of thePerFilterSearchResultWithError.- 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 thisPerFilterSearchResultWithErrorinstance.- 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 thisPerFilterSearchResultWithErrorinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisPerFilterSearchResultWithErrorinstance. 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 newPerFilterSearchResultWithErrorinstance with all required arguments.
-
toMap()instead.