Package com.sap.ai.sdk.grounding.model
Class PostProcessingObjectReference
java.lang.Object
com.sap.ai.sdk.grounding.model.PostProcessingObjectReference
- All Implemented Interfaces:
RetrievalSearchInputPostProcessingInnerInputsInner
public class PostProcessingObjectReference
extends Object
implements RetrievalSearchInputPostProcessingInnerInputsInner
PostProcessingObjectReference
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for PostProcessingObjectReference. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newPostProcessingObjectReferenceinstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of thePostProcessingObjectReference.getId()PerFilterSearchResult ID or PostProcessingOperation ID.inthashCode()Set the id of thisPostProcessingObjectReferenceinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisPostProcessingObjectReferenceinstance.voidSet the id of thisPostProcessingObjectReferenceinstance.toMap()Get the value of all properties of thisPostProcessingObjectReferenceinstance including unrecognized properties.toString()
-
Constructor Details
-
PostProcessingObjectReference
protected PostProcessingObjectReference()Default constructor for PostProcessingObjectReference.
-
-
Method Details
-
id
Set the id of thisPostProcessingObjectReferenceinstance and return the same instance.- Parameters:
id- PerFilterSearchResult ID or PostProcessingOperation ID.- Returns:
- The same instance of this
PostProcessingObjectReferenceclass
-
getId
PerFilterSearchResult ID or PostProcessingOperation ID.- Returns:
- id The id of this
PostProcessingObjectReferenceinstance.
-
setId
Set the id of thisPostProcessingObjectReferenceinstance.- Parameters:
id- PerFilterSearchResult ID or PostProcessingOperation ID.
-
getCustomFieldNames
Get the names of the unrecognizable properties of thePostProcessingObjectReference.- 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 thisPostProcessingObjectReferenceinstance.- 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 thisPostProcessingObjectReferenceinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisPostProcessingObjectReferenceinstance. 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 newPostProcessingObjectReferenceinstance. No arguments are required.
-
toMap()instead.