Package com.sap.ai.sdk.core.model
Class MetaExtensionsDatasetCapabilities
java.lang.Object
com.sap.ai.sdk.core.model.MetaExtensionsDatasetCapabilities
List of Dataset extension capabilities
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetaExtensionsDatasetCapabilities. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newMetaExtensionsDatasetCapabilitiesinstance.Set the delete of thisMetaExtensionsDatasetCapabilitiesinstance and return the same instance.Set the download of thisMetaExtensionsDatasetCapabilitiesinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetaExtensionsDatasetCapabilities.inthashCode()isDelete()Support for deletion of filesSupport for downloading of filesisUpload()Support for uploading of filesvoidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetaExtensionsDatasetCapabilitiesinstance.voidSet the delete of thisMetaExtensionsDatasetCapabilitiesinstance.voidsetDownload(Boolean download) Set the download of thisMetaExtensionsDatasetCapabilitiesinstance.voidSet the upload of thisMetaExtensionsDatasetCapabilitiesinstance.toMap()Get the value of all properties of thisMetaExtensionsDatasetCapabilitiesinstance including unrecognized properties.toString()Set the upload of thisMetaExtensionsDatasetCapabilitiesinstance and return the same instance.
-
Constructor Details
-
MetaExtensionsDatasetCapabilities
protected MetaExtensionsDatasetCapabilities()Default constructor for MetaExtensionsDatasetCapabilities.
-
-
Method Details
-
upload
Set the upload of thisMetaExtensionsDatasetCapabilitiesinstance and return the same instance.- Parameters:
upload- Support for uploading of files- Returns:
- The same instance of this
MetaExtensionsDatasetCapabilitiesclass
-
isUpload
Support for uploading of files- Returns:
- upload The upload of this
MetaExtensionsDatasetCapabilitiesinstance.
-
setUpload
Set the upload of thisMetaExtensionsDatasetCapabilitiesinstance.- Parameters:
upload- Support for uploading of files
-
download
Set the download of thisMetaExtensionsDatasetCapabilitiesinstance and return the same instance.- Parameters:
download- Support for downloading of files- Returns:
- The same instance of this
MetaExtensionsDatasetCapabilitiesclass
-
isDownload
Support for downloading of files- Returns:
- download The download of this
MetaExtensionsDatasetCapabilitiesinstance.
-
setDownload
Set the download of thisMetaExtensionsDatasetCapabilitiesinstance.- Parameters:
download- Support for downloading of files
-
delete
Set the delete of thisMetaExtensionsDatasetCapabilitiesinstance and return the same instance.- Parameters:
delete- Support for deletion of files- Returns:
- The same instance of this
MetaExtensionsDatasetCapabilitiesclass
-
isDelete
Support for deletion of files- Returns:
- delete The delete of this
MetaExtensionsDatasetCapabilitiesinstance.
-
setDelete
Set the delete of thisMetaExtensionsDatasetCapabilitiesinstance.- Parameters:
delete- Support for deletion of files
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetaExtensionsDatasetCapabilities.- 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 thisMetaExtensionsDatasetCapabilitiesinstance.- 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 thisMetaExtensionsDatasetCapabilitiesinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetaExtensionsDatasetCapabilitiesinstance. 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 newMetaExtensionsDatasetCapabilitiesinstance. No arguments are required.
-
toMap()instead.