Package com.sap.ai.sdk.grounding.model
Class SearchScoresAggregatedScore
java.lang.Object
com.sap.ai.sdk.grounding.model.SearchScoresAggregatedScore
SearchScoresAggregatedScore
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for SearchScoresAggregatedScore. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchScoresAggregatedScorecreate()Create a newSearchScoresAggregatedScoreinstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theSearchScoresAggregatedScore.getValue()Get valueinthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisSearchScoresAggregatedScoreinstance.voidsetValue(BigDecimal value) Set the value of thisSearchScoresAggregatedScoreinstance.toMap()Get the value of all properties of thisSearchScoresAggregatedScoreinstance including unrecognized properties.toString()value(BigDecimal value) Set the value of thisSearchScoresAggregatedScoreinstance and return the same instance.
-
Constructor Details
-
SearchScoresAggregatedScore
protected SearchScoresAggregatedScore()Default constructor for SearchScoresAggregatedScore.
-
-
Method Details
-
value
Set the value of thisSearchScoresAggregatedScoreinstance and return the same instance.- Parameters:
value- The value of thisSearchScoresAggregatedScore- Returns:
- The same instance of this
SearchScoresAggregatedScoreclass
-
getValue
Get value- Returns:
- value The value of this
SearchScoresAggregatedScoreinstance.
-
setValue
Set the value of thisSearchScoresAggregatedScoreinstance.- Parameters:
value- The value of thisSearchScoresAggregatedScore
-
getCustomFieldNames
Get the names of the unrecognizable properties of theSearchScoresAggregatedScore.- 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 thisSearchScoresAggregatedScoreinstance.- 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 thisSearchScoresAggregatedScoreinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisSearchScoresAggregatedScoreinstance. 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 newSearchScoresAggregatedScoreinstance. No arguments are required.
-
toMap()instead.