Package com.sap.ai.sdk.core.model
Class MetaExtensionsDatasetLimits
java.lang.Object
com.sap.ai.sdk.core.model.MetaExtensionsDatasetLimits
MetaExtensionsDatasetLimits
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetaExtensionsDatasetLimits. -
Method Summary
Modifier and TypeMethodDescriptionacceptedContentTypes(List<String> acceptedContentTypes) Set the acceptedContentTypes of thisMetaExtensionsDatasetLimitsinstance and return the same instance.addAcceptedContentTypesItem(String acceptedContentTypesItem) Add one acceptedContentTypes instance to thisMetaExtensionsDatasetLimits.static MetaExtensionsDatasetLimitscreate()Create a newMetaExtensionsDatasetLimitsinstance.booleanGet acceptedContentTypesgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetaExtensionsDatasetLimits.Max number of files per dataset.Max size (in bytes) of a single uploaded file allowed by this runtime per resource group.inthashCode()maxFilesPerDataset(Integer maxFilesPerDataset) Set the maxFilesPerDataset of thisMetaExtensionsDatasetLimitsinstance and return the same instance.maxUploadFileSize(Integer maxUploadFileSize) Set the maxUploadFileSize of thisMetaExtensionsDatasetLimitsinstance and return the same instance.voidsetAcceptedContentTypes(List<String> acceptedContentTypes) Set the acceptedContentTypes of thisMetaExtensionsDatasetLimitsinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetaExtensionsDatasetLimitsinstance.voidsetMaxFilesPerDataset(Integer maxFilesPerDataset) Set the maxFilesPerDataset of thisMetaExtensionsDatasetLimitsinstance.voidsetMaxUploadFileSize(Integer maxUploadFileSize) Set the maxUploadFileSize of thisMetaExtensionsDatasetLimitsinstance.toMap()Get the value of all properties of thisMetaExtensionsDatasetLimitsinstance including unrecognized properties.toString()
-
Constructor Details
-
MetaExtensionsDatasetLimits
protected MetaExtensionsDatasetLimits()Default constructor for MetaExtensionsDatasetLimits.
-
-
Method Details
-
maxUploadFileSize
Set the maxUploadFileSize of thisMetaExtensionsDatasetLimitsinstance and return the same instance.- Parameters:
maxUploadFileSize- Max size (in bytes) of a single uploaded file allowed by this runtime per resource group.- Returns:
- The same instance of this
MetaExtensionsDatasetLimitsclass
-
getMaxUploadFileSize
Max size (in bytes) of a single uploaded file allowed by this runtime per resource group.- Returns:
- maxUploadFileSize The maxUploadFileSize of this
MetaExtensionsDatasetLimitsinstance.
-
setMaxUploadFileSize
Set the maxUploadFileSize of thisMetaExtensionsDatasetLimitsinstance.- Parameters:
maxUploadFileSize- Max size (in bytes) of a single uploaded file allowed by this runtime per resource group.
-
maxFilesPerDataset
@Nonnull public MetaExtensionsDatasetLimits maxFilesPerDataset(@Nullable Integer maxFilesPerDataset) Set the maxFilesPerDataset of thisMetaExtensionsDatasetLimitsinstance and return the same instance.- Parameters:
maxFilesPerDataset- Max number of files per dataset. <0 means unlimited.- Returns:
- The same instance of this
MetaExtensionsDatasetLimitsclass
-
getMaxFilesPerDataset
Max number of files per dataset. <0 means unlimited.- Returns:
- maxFilesPerDataset The maxFilesPerDataset of this
MetaExtensionsDatasetLimitsinstance.
-
setMaxFilesPerDataset
Set the maxFilesPerDataset of thisMetaExtensionsDatasetLimitsinstance.- Parameters:
maxFilesPerDataset- Max number of files per dataset. <0 means unlimited.
-
acceptedContentTypes
@Nonnull public MetaExtensionsDatasetLimits acceptedContentTypes(@Nullable List<String> acceptedContentTypes) Set the acceptedContentTypes of thisMetaExtensionsDatasetLimitsinstance and return the same instance.- Parameters:
acceptedContentTypes- The acceptedContentTypes of thisMetaExtensionsDatasetLimits- Returns:
- The same instance of this
MetaExtensionsDatasetLimitsclass
-
addAcceptedContentTypesItem
@Nonnull public MetaExtensionsDatasetLimits addAcceptedContentTypesItem(@Nonnull String acceptedContentTypesItem) Add one acceptedContentTypes instance to thisMetaExtensionsDatasetLimits.- Parameters:
acceptedContentTypesItem- The acceptedContentTypes that should be added- Returns:
- The same instance of type
MetaExtensionsDatasetLimits
-
getAcceptedContentTypes
Get acceptedContentTypes- Returns:
- acceptedContentTypes The acceptedContentTypes of this
MetaExtensionsDatasetLimitsinstance.
-
setAcceptedContentTypes
Set the acceptedContentTypes of thisMetaExtensionsDatasetLimitsinstance.- Parameters:
acceptedContentTypes- The acceptedContentTypes of thisMetaExtensionsDatasetLimits
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetaExtensionsDatasetLimits.- 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 thisMetaExtensionsDatasetLimitsinstance.- 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 thisMetaExtensionsDatasetLimitsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetaExtensionsDatasetLimitsinstance. 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 newMetaExtensionsDatasetLimitsinstance. No arguments are required.
-
toMap()instead.