Package com.sap.ai.sdk.grounding.model
Class DocumentsStatusResponse
java.lang.Object
com.sap.ai.sdk.grounding.model.DocumentsStatusResponse
DocumentsStatusResponse
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for DocumentsStatusResponse. -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(DocumentsStatusResponseResourcesInner resourcesItem) Add one resources instance to thisDocumentsStatusResponse.Set the count of thisDocumentsStatusResponseinstance and return the same instance.static DocumentsStatusResponsecreate()Create a newDocumentsStatusResponseinstance.booleangetCount()Get countgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theDocumentsStatusResponse.Get resourcesinthashCode()resources(List<DocumentsStatusResponseResourcesInner> resources) Set the resources of thisDocumentsStatusResponseinstance and return the same instance.voidSet the count of thisDocumentsStatusResponseinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisDocumentsStatusResponseinstance.voidsetResources(List<DocumentsStatusResponseResourcesInner> resources) Set the resources of thisDocumentsStatusResponseinstance.toMap()Get the value of all properties of thisDocumentsStatusResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
DocumentsStatusResponse
protected DocumentsStatusResponse()Default constructor for DocumentsStatusResponse.
-
-
Method Details
-
count
Set the count of thisDocumentsStatusResponseinstance and return the same instance.- Parameters:
count- The count of thisDocumentsStatusResponse- Returns:
- The same instance of this
DocumentsStatusResponseclass
-
getCount
Get count- Returns:
- count The count of this
DocumentsStatusResponseinstance.
-
setCount
Set the count of thisDocumentsStatusResponseinstance.- Parameters:
count- The count of thisDocumentsStatusResponse
-
resources
@Nonnull public DocumentsStatusResponse resources(@Nullable List<DocumentsStatusResponseResourcesInner> resources) Set the resources of thisDocumentsStatusResponseinstance and return the same instance.- Parameters:
resources- The resources of thisDocumentsStatusResponse- Returns:
- The same instance of this
DocumentsStatusResponseclass
-
addResourcesItem
@Nonnull public DocumentsStatusResponse addResourcesItem(@Nonnull DocumentsStatusResponseResourcesInner resourcesItem) Add one resources instance to thisDocumentsStatusResponse.- Parameters:
resourcesItem- The resources that should be added- Returns:
- The same instance of type
DocumentsStatusResponse
-
getResources
Get resources- Returns:
- resources The resources of this
DocumentsStatusResponseinstance.
-
setResources
Set the resources of thisDocumentsStatusResponseinstance.- Parameters:
resources- The resources of thisDocumentsStatusResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theDocumentsStatusResponse.- 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 thisDocumentsStatusResponseinstance.- 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 thisDocumentsStatusResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisDocumentsStatusResponseinstance. 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 newDocumentsStatusResponseinstance. No arguments are required.
-
toMap()instead.