Package com.sap.ai.sdk.grounding.model
Class GoogleDriveResourceDetail
java.lang.Object
com.sap.ai.sdk.grounding.model.GoogleDriveResourceDetail
GoogleDriveResourceDetail
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets resourceType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for GoogleDriveResourceDetail. -
Method Summary
Modifier and TypeMethodDescriptionaddIncludePathsItem(String includePathsItem) Add one includePaths instance to thisGoogleDriveResourceDetail.static GoogleDriveResourceDetailcreate()Create a newGoogleDriveResourceDetailinstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theGoogleDriveResourceDetail.Get includePathsGet resourceIdGet resourceTypeinthashCode()includePaths(List<String> includePaths) Set the includePaths of thisGoogleDriveResourceDetailinstance and return the same instance.resourceId(String resourceId) Set the resourceId of thisGoogleDriveResourceDetailinstance and return the same instance.resourceType(GoogleDriveResourceDetail.ResourceTypeEnum resourceType) Set the resourceType of thisGoogleDriveResourceDetailinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisGoogleDriveResourceDetailinstance.voidsetIncludePaths(List<String> includePaths) Set the includePaths of thisGoogleDriveResourceDetailinstance.voidsetResourceId(String resourceId) Set the resourceId of thisGoogleDriveResourceDetailinstance.voidsetResourceType(GoogleDriveResourceDetail.ResourceTypeEnum resourceType) Set the resourceType of thisGoogleDriveResourceDetailinstance.toMap()Get the value of all properties of thisGoogleDriveResourceDetailinstance including unrecognized properties.toString()
-
Constructor Details
-
GoogleDriveResourceDetail
protected GoogleDriveResourceDetail()Default constructor for GoogleDriveResourceDetail.
-
-
Method Details
-
resourceType
@Nonnull public GoogleDriveResourceDetail resourceType(@Nullable GoogleDriveResourceDetail.ResourceTypeEnum resourceType) Set the resourceType of thisGoogleDriveResourceDetailinstance and return the same instance.- Parameters:
resourceType- The resourceType of thisGoogleDriveResourceDetail- Returns:
- The same instance of this
GoogleDriveResourceDetailclass
-
getResourceType
Get resourceType- Returns:
- resourceType The resourceType of this
GoogleDriveResourceDetailinstance.
-
setResourceType
Set the resourceType of thisGoogleDriveResourceDetailinstance.- Parameters:
resourceType- The resourceType of thisGoogleDriveResourceDetail
-
resourceId
Set the resourceId of thisGoogleDriveResourceDetailinstance and return the same instance.- Parameters:
resourceId- The resourceId of thisGoogleDriveResourceDetail- Returns:
- The same instance of this
GoogleDriveResourceDetailclass
-
getResourceId
Get resourceId- Returns:
- resourceId The resourceId of this
GoogleDriveResourceDetailinstance.
-
setResourceId
Set the resourceId of thisGoogleDriveResourceDetailinstance.- Parameters:
resourceId- The resourceId of thisGoogleDriveResourceDetail
-
includePaths
Set the includePaths of thisGoogleDriveResourceDetailinstance and return the same instance.- Parameters:
includePaths- The includePaths of thisGoogleDriveResourceDetail- Returns:
- The same instance of this
GoogleDriveResourceDetailclass
-
addIncludePathsItem
Add one includePaths instance to thisGoogleDriveResourceDetail.- Parameters:
includePathsItem- The includePaths that should be added- Returns:
- The same instance of type
GoogleDriveResourceDetail
-
getIncludePaths
Get includePaths- Returns:
- includePaths The includePaths of this
GoogleDriveResourceDetailinstance.
-
setIncludePaths
Set the includePaths of thisGoogleDriveResourceDetailinstance.- Parameters:
includePaths- The includePaths of thisGoogleDriveResourceDetail
-
getCustomFieldNames
Get the names of the unrecognizable properties of theGoogleDriveResourceDetail.- 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 thisGoogleDriveResourceDetailinstance.- 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 thisGoogleDriveResourceDetailinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisGoogleDriveResourceDetailinstance. 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 newGoogleDriveResourceDetailinstance. No arguments are required.
-
toMap()instead.