Package com.sap.ai.sdk.grounding.model
Class PipelineDocumentResponse
java.lang.Object
com.sap.ai.sdk.grounding.model.PipelineDocumentResponse
PipelineDocumentResponse
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for PipelineDocumentResponse. -
Method Summary
Modifier and TypeMethodDescriptionabsoluteUrl(String absoluteUrl) Set the absoluteUrl of thisPipelineDocumentResponseinstance and return the same instance.static PipelineDocumentResponsecreate()Create a newPipelineDocumentResponseinstance.createdTimestamp(String createdTimestamp) Set the createdTimestamp of thisPipelineDocumentResponseinstance and return the same instance.downloadLocation(String downloadLocation) Set the downloadLocation of thisPipelineDocumentResponseinstance and return the same instance.booleanGet absoluteUrlGet createdTimestampgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of thePipelineDocumentResponse.Get downloadLocationgetId()Get idGet lastUpdatedTimestampGet metadataIdGet statusgetTitle()Get titleGet viewLocationinthashCode()Set the id of thisPipelineDocumentResponseinstance and return the same instance.lastUpdatedTimestamp(String lastUpdatedTimestamp) Set the lastUpdatedTimestamp of thisPipelineDocumentResponseinstance and return the same instance.metadataId(String metadataId) Set the metadataId of thisPipelineDocumentResponseinstance and return the same instance.voidsetAbsoluteUrl(String absoluteUrl) Set the absoluteUrl of thisPipelineDocumentResponseinstance.voidsetCreatedTimestamp(String createdTimestamp) Set the createdTimestamp of thisPipelineDocumentResponseinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisPipelineDocumentResponseinstance.voidsetDownloadLocation(String downloadLocation) Set the downloadLocation of thisPipelineDocumentResponseinstance.voidSet the id of thisPipelineDocumentResponseinstance.voidsetLastUpdatedTimestamp(String lastUpdatedTimestamp) Set the lastUpdatedTimestamp of thisPipelineDocumentResponseinstance.voidsetMetadataId(String metadataId) Set the metadataId of thisPipelineDocumentResponseinstance.voidsetStatus(DocumentStatus status) Set the status of thisPipelineDocumentResponseinstance.voidSet the title of thisPipelineDocumentResponseinstance.voidsetViewLocation(String viewLocation) Set the viewLocation of thisPipelineDocumentResponseinstance.status(DocumentStatus status) Set the status of thisPipelineDocumentResponseinstance and return the same instance.Set the title of thisPipelineDocumentResponseinstance and return the same instance.toMap()Get the value of all properties of thisPipelineDocumentResponseinstance including unrecognized properties.toString()viewLocation(String viewLocation) Set the viewLocation of thisPipelineDocumentResponseinstance and return the same instance.
-
Constructor Details
-
PipelineDocumentResponse
protected PipelineDocumentResponse()Default constructor for PipelineDocumentResponse.
-
-
Method Details
-
id
Set the id of thisPipelineDocumentResponseinstance and return the same instance.- Parameters:
id- The id of thisPipelineDocumentResponse- Returns:
- The same instance of this
PipelineDocumentResponseclass
-
getId
Get id- Returns:
- id The id of this
PipelineDocumentResponseinstance.
-
setId
Set the id of thisPipelineDocumentResponseinstance.- Parameters:
id- The id of thisPipelineDocumentResponse
-
status
Set the status of thisPipelineDocumentResponseinstance and return the same instance.- Parameters:
status- The status of thisPipelineDocumentResponse- Returns:
- The same instance of this
PipelineDocumentResponseclass
-
getStatus
Get status- Returns:
- status The status of this
PipelineDocumentResponseinstance.
-
setStatus
Set the status of thisPipelineDocumentResponseinstance.- Parameters:
status- The status of thisPipelineDocumentResponse
-
viewLocation
Set the viewLocation of thisPipelineDocumentResponseinstance and return the same instance.- Parameters:
viewLocation- The viewLocation of thisPipelineDocumentResponse- Returns:
- The same instance of this
PipelineDocumentResponseclass
-
getViewLocation
Get viewLocation- Returns:
- viewLocation The viewLocation of this
PipelineDocumentResponseinstance.
-
setViewLocation
Set the viewLocation of thisPipelineDocumentResponseinstance.- Parameters:
viewLocation- The viewLocation of thisPipelineDocumentResponse
-
downloadLocation
Set the downloadLocation of thisPipelineDocumentResponseinstance and return the same instance.- Parameters:
downloadLocation- The downloadLocation of thisPipelineDocumentResponse- Returns:
- The same instance of this
PipelineDocumentResponseclass
-
getDownloadLocation
Get downloadLocation- Returns:
- downloadLocation The downloadLocation of this
PipelineDocumentResponseinstance.
-
setDownloadLocation
Set the downloadLocation of thisPipelineDocumentResponseinstance.- Parameters:
downloadLocation- The downloadLocation of thisPipelineDocumentResponse
-
absoluteUrl
Set the absoluteUrl of thisPipelineDocumentResponseinstance and return the same instance.- Parameters:
absoluteUrl- The absoluteUrl of thisPipelineDocumentResponse- Returns:
- The same instance of this
PipelineDocumentResponseclass
-
getAbsoluteUrl
Get absoluteUrl- Returns:
- absoluteUrl The absoluteUrl of this
PipelineDocumentResponseinstance.
-
setAbsoluteUrl
Set the absoluteUrl of thisPipelineDocumentResponseinstance.- Parameters:
absoluteUrl- The absoluteUrl of thisPipelineDocumentResponse
-
title
Set the title of thisPipelineDocumentResponseinstance and return the same instance.- Parameters:
title- The title of thisPipelineDocumentResponse- Returns:
- The same instance of this
PipelineDocumentResponseclass
-
getTitle
Get title- Returns:
- title The title of this
PipelineDocumentResponseinstance.
-
setTitle
Set the title of thisPipelineDocumentResponseinstance.- Parameters:
title- The title of thisPipelineDocumentResponse
-
metadataId
Set the metadataId of thisPipelineDocumentResponseinstance and return the same instance.- Parameters:
metadataId- The metadataId of thisPipelineDocumentResponse- Returns:
- The same instance of this
PipelineDocumentResponseclass
-
getMetadataId
Get metadataId- Returns:
- metadataId The metadataId of this
PipelineDocumentResponseinstance.
-
setMetadataId
Set the metadataId of thisPipelineDocumentResponseinstance.- Parameters:
metadataId- The metadataId of thisPipelineDocumentResponse
-
createdTimestamp
Set the createdTimestamp of thisPipelineDocumentResponseinstance and return the same instance.- Parameters:
createdTimestamp- The createdTimestamp of thisPipelineDocumentResponse- Returns:
- The same instance of this
PipelineDocumentResponseclass
-
getCreatedTimestamp
Get createdTimestamp- Returns:
- createdTimestamp The createdTimestamp of this
PipelineDocumentResponseinstance.
-
setCreatedTimestamp
Set the createdTimestamp of thisPipelineDocumentResponseinstance.- Parameters:
createdTimestamp- The createdTimestamp of thisPipelineDocumentResponse
-
lastUpdatedTimestamp
@Nonnull public PipelineDocumentResponse lastUpdatedTimestamp(@Nullable String lastUpdatedTimestamp) Set the lastUpdatedTimestamp of thisPipelineDocumentResponseinstance and return the same instance.- Parameters:
lastUpdatedTimestamp- The lastUpdatedTimestamp of thisPipelineDocumentResponse- Returns:
- The same instance of this
PipelineDocumentResponseclass
-
getLastUpdatedTimestamp
Get lastUpdatedTimestamp- Returns:
- lastUpdatedTimestamp The lastUpdatedTimestamp of this
PipelineDocumentResponseinstance.
-
setLastUpdatedTimestamp
Set the lastUpdatedTimestamp of thisPipelineDocumentResponseinstance.- Parameters:
lastUpdatedTimestamp- The lastUpdatedTimestamp of thisPipelineDocumentResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of thePipelineDocumentResponse.- 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 thisPipelineDocumentResponseinstance.- 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 thisPipelineDocumentResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisPipelineDocumentResponseinstance. 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 newPipelineDocumentResponseinstance. No arguments are required.
-
toMap()instead.