Package com.sap.ai.sdk.core.model
Class MetaExtensionsMetrics
java.lang.Object
com.sap.ai.sdk.core.model.MetaExtensionsMetrics
MetaExtensionsMetrics
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetaExtensionsMetrics. -
Method Summary
Modifier and TypeMethodDescriptioncapabilities(MetaExtensionsMetricsCapabilities capabilities) Set the capabilities of thisMetaExtensionsMetricsinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newMetaExtensionsMetricsinstance with all required arguments.booleanGet capabilitiesgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetaExtensionsMetrics.Get versioninthashCode()voidsetCapabilities(MetaExtensionsMetricsCapabilities capabilities) Set the capabilities of thisMetaExtensionsMetricsinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetaExtensionsMetricsinstance.voidsetVersion(String version) Set the version of thisMetaExtensionsMetricsinstance.toMap()Get the value of all properties of thisMetaExtensionsMetricsinstance including unrecognized properties.toString()Set the version of thisMetaExtensionsMetricsinstance and return the same instance.
-
Constructor Details
-
MetaExtensionsMetrics
protected MetaExtensionsMetrics()Default constructor for MetaExtensionsMetrics.
-
-
Method Details
-
version
Set the version of thisMetaExtensionsMetricsinstance and return the same instance.- Parameters:
version- The version of thisMetaExtensionsMetrics- Returns:
- The same instance of this
MetaExtensionsMetricsclass
-
getVersion
Get version- Returns:
- version The version of this
MetaExtensionsMetricsinstance.
-
setVersion
Set the version of thisMetaExtensionsMetricsinstance.- Parameters:
version- The version of thisMetaExtensionsMetrics
-
capabilities
@Nonnull public MetaExtensionsMetrics capabilities(@Nullable MetaExtensionsMetricsCapabilities capabilities) Set the capabilities of thisMetaExtensionsMetricsinstance and return the same instance.- Parameters:
capabilities- The capabilities of thisMetaExtensionsMetrics- Returns:
- The same instance of this
MetaExtensionsMetricsclass
-
getCapabilities
Get capabilities- Returns:
- capabilities The capabilities of this
MetaExtensionsMetricsinstance.
-
setCapabilities
Set the capabilities of thisMetaExtensionsMetricsinstance.- Parameters:
capabilities- The capabilities of thisMetaExtensionsMetrics
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetaExtensionsMetrics.- 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 thisMetaExtensionsMetricsinstance.- 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 thisMetaExtensionsMetricsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetaExtensionsMetricsinstance. 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 newMetaExtensionsMetricsinstance with all required arguments.
-
toMap()instead.