Package com.sap.ai.sdk.grounding.model
Class BatchUpdateDocumentSuccess
java.lang.Object
com.sap.ai.sdk.grounding.model.BatchUpdateDocumentSuccess
BatchUpdateDocumentSuccess
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BatchUpdateDocumentSuccess. -
Method Summary
Modifier and TypeMethodDescriptionaddMetadataItem(DocumentMetadata metadataItem) Add one metadata instance to thisBatchUpdateDocumentSuccess.create()Create a type-safe, fluent-api builder object to construct a newBatchUpdateDocumentSuccessinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBatchUpdateDocumentSuccess.getId()Unique identifier of the document.Metadata updates for this document.inthashCode()Set the id of thisBatchUpdateDocumentSuccessinstance and return the same instance.metadata(List<DocumentMetadata> metadata) Set the metadata of thisBatchUpdateDocumentSuccessinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBatchUpdateDocumentSuccessinstance.voidSet the id of thisBatchUpdateDocumentSuccessinstance.voidsetMetadata(List<DocumentMetadata> metadata) Set the metadata of thisBatchUpdateDocumentSuccessinstance.toMap()Get the value of all properties of thisBatchUpdateDocumentSuccessinstance including unrecognized properties.toString()
-
Constructor Details
-
BatchUpdateDocumentSuccess
protected BatchUpdateDocumentSuccess()Default constructor for BatchUpdateDocumentSuccess.
-
-
Method Details
-
id
Set the id of thisBatchUpdateDocumentSuccessinstance and return the same instance.- Parameters:
id- Unique identifier of the document.- Returns:
- The same instance of this
BatchUpdateDocumentSuccessclass
-
getId
Unique identifier of the document.- Returns:
- id The id of this
BatchUpdateDocumentSuccessinstance.
-
setId
Set the id of thisBatchUpdateDocumentSuccessinstance.- Parameters:
id- Unique identifier of the document.
-
metadata
Set the metadata of thisBatchUpdateDocumentSuccessinstance and return the same instance.- Parameters:
metadata- Metadata updates for this document.- Returns:
- The same instance of this
BatchUpdateDocumentSuccessclass
-
addMetadataItem
Add one metadata instance to thisBatchUpdateDocumentSuccess.- Parameters:
metadataItem- The metadata that should be added- Returns:
- The same instance of type
BatchUpdateDocumentSuccess
-
getMetadata
Metadata updates for this document.- Returns:
- metadata The metadata of this
BatchUpdateDocumentSuccessinstance.
-
setMetadata
Set the metadata of thisBatchUpdateDocumentSuccessinstance.- Parameters:
metadata- Metadata updates for this document.
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBatchUpdateDocumentSuccess.- 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 thisBatchUpdateDocumentSuccessinstance.- 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 thisBatchUpdateDocumentSuccessinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBatchUpdateDocumentSuccessinstance. 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 newBatchUpdateDocumentSuccessinstance with all required arguments.
-
toMap()instead.