Package com.sap.ai.sdk.grounding.model
Class ListConfigurationDocumentsFullDetails
java.lang.Object
com.sap.ai.sdk.grounding.model.ListConfigurationDocumentsFullDetails
ListConfigurationDocumentsFullDetails
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for ListConfigurationDocumentsFullDetails. -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(ConfigurationDocumentFullDetails resourcesItem) Add one resources instance to thisListConfigurationDocumentsFullDetails.Set the count of thisListConfigurationDocumentsFullDetailsinstance and return the same instance.create()Create a newListConfigurationDocumentsFullDetailsinstance.booleangetCount()Total number of documents returned.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theListConfigurationDocumentsFullDetails.List of document objects.inthashCode()resources(List<ConfigurationDocumentFullDetails> resources) Set the resources of thisListConfigurationDocumentsFullDetailsinstance and return the same instance.voidSet the count of thisListConfigurationDocumentsFullDetailsinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisListConfigurationDocumentsFullDetailsinstance.voidsetResources(List<ConfigurationDocumentFullDetails> resources) Set the resources of thisListConfigurationDocumentsFullDetailsinstance.toMap()Get the value of all properties of thisListConfigurationDocumentsFullDetailsinstance including unrecognized properties.toString()
-
Constructor Details
-
ListConfigurationDocumentsFullDetails
protected ListConfigurationDocumentsFullDetails()Default constructor for ListConfigurationDocumentsFullDetails.
-
-
Method Details
-
count
Set the count of thisListConfigurationDocumentsFullDetailsinstance and return the same instance.- Parameters:
count- Total number of documents returned.- Returns:
- The same instance of this
ListConfigurationDocumentsFullDetailsclass
-
getCount
Total number of documents returned.- Returns:
- count The count of this
ListConfigurationDocumentsFullDetailsinstance.
-
setCount
Set the count of thisListConfigurationDocumentsFullDetailsinstance.- Parameters:
count- Total number of documents returned.
-
resources
@Nonnull public ListConfigurationDocumentsFullDetails resources(@Nullable List<ConfigurationDocumentFullDetails> resources) Set the resources of thisListConfigurationDocumentsFullDetailsinstance and return the same instance.- Parameters:
resources- List of document objects. It will be empty array if no records found.- Returns:
- The same instance of this
ListConfigurationDocumentsFullDetailsclass
-
addResourcesItem
@Nonnull public ListConfigurationDocumentsFullDetails addResourcesItem(@Nonnull ConfigurationDocumentFullDetails resourcesItem) Add one resources instance to thisListConfigurationDocumentsFullDetails.- Parameters:
resourcesItem- The resources that should be added- Returns:
- The same instance of type
ListConfigurationDocumentsFullDetails
-
getResources
List of document objects. It will be empty array if no records found.- Returns:
- resources The resources of this
ListConfigurationDocumentsFullDetailsinstance.
-
setResources
Set the resources of thisListConfigurationDocumentsFullDetailsinstance.- Parameters:
resources- List of document objects. It will be empty array if no records found.
-
getCustomFieldNames
Get the names of the unrecognizable properties of theListConfigurationDocumentsFullDetails.- 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 thisListConfigurationDocumentsFullDetailsinstance.- 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 thisListConfigurationDocumentsFullDetailsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisListConfigurationDocumentsFullDetailsinstance. 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 newListConfigurationDocumentsFullDetailsinstance. No arguments are required.
-
toMap()instead.