Package com.sap.ai.sdk.core.model
Class MetaExtensionsMetricsCapabilities
java.lang.Object
com.sap.ai.sdk.core.model.MetaExtensionsMetricsCapabilities
List of Metrics extension capabilities
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetaExtensionsMetricsCapabilities. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newMetaExtensionsMetricsCapabilitiesinstance.booleanextendedResults(Boolean extendedResults) Set the extendedResults of thisMetaExtensionsMetricsCapabilitiesinstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetaExtensionsMetricsCapabilities.inthashCode()Support for returning extended resultsvoidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetaExtensionsMetricsCapabilitiesinstance.voidsetExtendedResults(Boolean extendedResults) Set the extendedResults of thisMetaExtensionsMetricsCapabilitiesinstance.toMap()Get the value of all properties of thisMetaExtensionsMetricsCapabilitiesinstance including unrecognized properties.toString()
-
Constructor Details
-
MetaExtensionsMetricsCapabilities
protected MetaExtensionsMetricsCapabilities()Default constructor for MetaExtensionsMetricsCapabilities.
-
-
Method Details
-
extendedResults
@Nonnull public MetaExtensionsMetricsCapabilities extendedResults(@Nullable Boolean extendedResults) Set the extendedResults of thisMetaExtensionsMetricsCapabilitiesinstance and return the same instance.- Parameters:
extendedResults- Support for returning extended results- Returns:
- The same instance of this
MetaExtensionsMetricsCapabilitiesclass
-
isExtendedResults
Support for returning extended results- Returns:
- extendedResults The extendedResults of this
MetaExtensionsMetricsCapabilitiesinstance.
-
setExtendedResults
Set the extendedResults of thisMetaExtensionsMetricsCapabilitiesinstance.- Parameters:
extendedResults- Support for returning extended results
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetaExtensionsMetricsCapabilities.- 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 thisMetaExtensionsMetricsCapabilitiesinstance.- 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 thisMetaExtensionsMetricsCapabilitiesinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetaExtensionsMetricsCapabilitiesinstance. 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 newMetaExtensionsMetricsCapabilitiesinstance. No arguments are required.
-
toMap()instead.