Package com.sap.ai.sdk.grounding.model
Class ResultsInner1
java.lang.Object
com.sap.ai.sdk.grounding.model.ResultsInner1
ResultsInner1
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResultsItem(RetrievalDataRepositorySearchResult resultsItem) Add one results instance to thisResultsInner1.static ResultsInner1.Buildercreate()Create a type-safe, fluent-api builder object to construct a newResultsInner1instance with all required arguments.booleanSet the error of thisResultsInner1instance and return the same instance.Set the filterId of thisResultsInner1instance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theResultsInner1.getError()Get errorGet filterIdFriendly Destination Name of remote instance (grounding.name).List of returned results.inthashCode()remoteGroundingName(String remoteGroundingName) Set the remoteGroundingName of thisResultsInner1instance and return the same instance.results(List<RetrievalDataRepositorySearchResult> results) Set the results of thisResultsInner1instance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisResultsInner1instance.voidSet the error of thisResultsInner1instance.voidsetFilterId(String filterId) Set the filterId of thisResultsInner1instance.voidsetRemoteGroundingName(String remoteGroundingName) Set the remoteGroundingName of thisResultsInner1instance.voidSet the results of thisResultsInner1instance.toMap()Get the value of all properties of thisResultsInner1instance including unrecognized properties.toString()
-
Constructor Details
-
ResultsInner1
protected ResultsInner1()Default constructor for ResultsInner1.
-
-
Method Details
-
filterId
Set the filterId of thisResultsInner1instance and return the same instance.- Parameters:
filterId- The filterId of thisResultsInner1- Returns:
- The same instance of this
ResultsInner1class
-
getFilterId
Get filterId- Returns:
- filterId The filterId of this
ResultsInner1instance.
-
setFilterId
Set the filterId of thisResultsInner1instance.- Parameters:
filterId- The filterId of thisResultsInner1
-
results
Set the results of thisResultsInner1instance and return the same instance.- Parameters:
results- List of returned results.- Returns:
- The same instance of this
ResultsInner1class
-
addResultsItem
@Nonnull public ResultsInner1 addResultsItem(@Nonnull RetrievalDataRepositorySearchResult resultsItem) Add one results instance to thisResultsInner1.- Parameters:
resultsItem- The results that should be added- Returns:
- The same instance of type
ResultsInner1
-
getResults
List of returned results.- Returns:
- results The results of this
ResultsInner1instance.
-
setResults
Set the results of thisResultsInner1instance.- Parameters:
results- List of returned results.
-
remoteGroundingName
Set the remoteGroundingName of thisResultsInner1instance and return the same instance.- Parameters:
remoteGroundingName- Friendly Destination Name of remote instance (grounding.name). Only present if dataRepositoryType = remote:dg.- Returns:
- The same instance of this
ResultsInner1class
-
getRemoteGroundingName
Friendly Destination Name of remote instance (grounding.name). Only present if dataRepositoryType = remote:dg.- Returns:
- remoteGroundingName The remoteGroundingName of this
ResultsInner1instance.
-
setRemoteGroundingName
Set the remoteGroundingName of thisResultsInner1instance.- Parameters:
remoteGroundingName- Friendly Destination Name of remote instance (grounding.name). Only present if dataRepositoryType = remote:dg.
-
error
Set the error of thisResultsInner1instance and return the same instance.- Parameters:
error- The error of thisResultsInner1- Returns:
- The same instance of this
ResultsInner1class
-
getError
Get error- Returns:
- error The error of this
ResultsInner1instance.
-
setError
Set the error of thisResultsInner1instance.- Parameters:
error- The error of thisResultsInner1
-
getCustomFieldNames
Get the names of the unrecognizable properties of theResultsInner1.- 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 thisResultsInner1instance.- 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 thisResultsInner1instance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisResultsInner1instance. 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 newResultsInner1instance with all required arguments.
-
toMap()instead.