Package com.sap.ai.sdk.core.model
Class MetaExtensions
java.lang.Object
com.sap.ai.sdk.core.model.MetaExtensions
MetaExtensions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalytics(MetaExtensionsAnalytics analytics) Set the analytics of thisMetaExtensionsinstance and return the same instance.static MetaExtensionscreate()Create a newMetaExtensionsinstance.dataset(MetaExtensionsDataset dataset) Set the dataset of thisMetaExtensionsinstance and return the same instance.booleanGet analyticsgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetaExtensions.Get datasetGet metricsGet resourceGroupsinthashCode()metrics(MetaExtensionsMetrics metrics) Set the metrics of thisMetaExtensionsinstance and return the same instance.resourceGroups(MetaExtensionsAnalytics resourceGroups) Set the resourceGroups of thisMetaExtensionsinstance and return the same instance.voidsetAnalytics(MetaExtensionsAnalytics analytics) Set the analytics of thisMetaExtensionsinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetaExtensionsinstance.voidsetDataset(MetaExtensionsDataset dataset) Set the dataset of thisMetaExtensionsinstance.voidsetMetrics(MetaExtensionsMetrics metrics) Set the metrics of thisMetaExtensionsinstance.voidsetResourceGroups(MetaExtensionsAnalytics resourceGroups) Set the resourceGroups of thisMetaExtensionsinstance.toMap()Get the value of all properties of thisMetaExtensionsinstance including unrecognized properties.toString()
-
Constructor Details
-
MetaExtensions
protected MetaExtensions()Default constructor for MetaExtensions.
-
-
Method Details
-
analytics
Set the analytics of thisMetaExtensionsinstance and return the same instance.- Parameters:
analytics- The analytics of thisMetaExtensions- Returns:
- The same instance of this
MetaExtensionsclass
-
getAnalytics
Get analytics- Returns:
- analytics The analytics of this
MetaExtensionsinstance.
-
setAnalytics
Set the analytics of thisMetaExtensionsinstance.- Parameters:
analytics- The analytics of thisMetaExtensions
-
resourceGroups
Set the resourceGroups of thisMetaExtensionsinstance and return the same instance.- Parameters:
resourceGroups- The resourceGroups of thisMetaExtensions- Returns:
- The same instance of this
MetaExtensionsclass
-
getResourceGroups
Get resourceGroups- Returns:
- resourceGroups The resourceGroups of this
MetaExtensionsinstance.
-
setResourceGroups
Set the resourceGroups of thisMetaExtensionsinstance.- Parameters:
resourceGroups- The resourceGroups of thisMetaExtensions
-
dataset
Set the dataset of thisMetaExtensionsinstance and return the same instance.- Parameters:
dataset- The dataset of thisMetaExtensions- Returns:
- The same instance of this
MetaExtensionsclass
-
getDataset
Get dataset- Returns:
- dataset The dataset of this
MetaExtensionsinstance.
-
setDataset
Set the dataset of thisMetaExtensionsinstance.- Parameters:
dataset- The dataset of thisMetaExtensions
-
metrics
Set the metrics of thisMetaExtensionsinstance and return the same instance.- Parameters:
metrics- The metrics of thisMetaExtensions- Returns:
- The same instance of this
MetaExtensionsclass
-
getMetrics
Get metrics- Returns:
- metrics The metrics of this
MetaExtensionsinstance.
-
setMetrics
Set the metrics of thisMetaExtensionsinstance.- Parameters:
metrics- The metrics of thisMetaExtensions
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetaExtensions.- 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 thisMetaExtensionsinstance.- 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 thisMetaExtensionsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetaExtensionsinstance. 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 newMetaExtensionsinstance. No arguments are required.
-
toMap()instead.