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