Package com.sap.ai.sdk.grounding.model
Class SharePointSite
java.lang.Object
com.sap.ai.sdk.grounding.model.SharePointSite
SharePointSite
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIncludePathsItem(String includePathsItem) Add one includePaths instance to thisSharePointSite.static SharePointSite.Buildercreate()Create a type-safe, fluent-api builder object to construct a newSharePointSiteinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theSharePointSite.Get includePathsgetName()Get nameinthashCode()includePaths(List<String> includePaths) Set the includePaths of thisSharePointSiteinstance and return the same instance.Set the name of thisSharePointSiteinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisSharePointSiteinstance.voidsetIncludePaths(List<String> includePaths) Set the includePaths of thisSharePointSiteinstance.voidSet the name of thisSharePointSiteinstance.toMap()Get the value of all properties of thisSharePointSiteinstance including unrecognized properties.toString()
-
Constructor Details
-
SharePointSite
protected SharePointSite()Default constructor for SharePointSite.
-
-
Method Details
-
name
Set the name of thisSharePointSiteinstance and return the same instance.- Parameters:
name- The name of thisSharePointSite- Returns:
- The same instance of this
SharePointSiteclass
-
getName
Get name- Returns:
- name The name of this
SharePointSiteinstance.
-
setName
Set the name of thisSharePointSiteinstance.- Parameters:
name- The name of thisSharePointSite
-
includePaths
Set the includePaths of thisSharePointSiteinstance and return the same instance.- Parameters:
includePaths- The includePaths of thisSharePointSite- Returns:
- The same instance of this
SharePointSiteclass
-
addIncludePathsItem
Add one includePaths instance to thisSharePointSite.- Parameters:
includePathsItem- The includePaths that should be added- Returns:
- The same instance of type
SharePointSite
-
getIncludePaths
Get includePaths- Returns:
- includePaths The includePaths of this
SharePointSiteinstance.
-
setIncludePaths
Set the includePaths of thisSharePointSiteinstance.- Parameters:
includePaths- The includePaths of thisSharePointSite
-
getCustomFieldNames
Get the names of the unrecognizable properties of theSharePointSite.- 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 thisSharePointSiteinstance.- 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 thisSharePointSiteinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisSharePointSiteinstance. 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 newSharePointSiteinstance with all required arguments.
-
toMap()instead.