Package com.sap.ai.sdk.core.model
Class MetaCapabilities
java.lang.Object
com.sap.ai.sdk.core.model.MetaCapabilities
MetaCapabilities
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetaCapabilities. -
Method Summary
Modifier and TypeMethodDescriptionSet the aiApi of thisMetaCapabilitiesinstance and return the same instance.static MetaCapabilities.Buildercreate()Create a type-safe, fluent-api builder object to construct a newMetaCapabilitiesinstance with all required arguments.description(String description) Set the description of thisMetaCapabilitiesinstance and return the same instance.booleanextensions(MetaExtensions extensions) Set the extensions of thisMetaCapabilitiesinstance and return the same instance.getAiApi()Get aiApigetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetaCapabilities.Get descriptionGet extensionsGet runtimeApiVersionThe name of the runtimeinthashCode()runtimeApiVersion(String runtimeApiVersion) Set the runtimeApiVersion of thisMetaCapabilitiesinstance and return the same instance.runtimeIdentifier(String runtimeIdentifier) Set the runtimeIdentifier of thisMetaCapabilitiesinstance and return the same instance.voidSet the aiApi of thisMetaCapabilitiesinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetaCapabilitiesinstance.voidsetDescription(String description) Set the description of thisMetaCapabilitiesinstance.voidsetExtensions(MetaExtensions extensions) Set the extensions of thisMetaCapabilitiesinstance.voidsetRuntimeApiVersion(String runtimeApiVersion) Set the runtimeApiVersion of thisMetaCapabilitiesinstance.voidsetRuntimeIdentifier(String runtimeIdentifier) Set the runtimeIdentifier of thisMetaCapabilitiesinstance.toMap()Get the value of all properties of thisMetaCapabilitiesinstance including unrecognized properties.toString()
-
Constructor Details
-
MetaCapabilities
protected MetaCapabilities()Default constructor for MetaCapabilities.
-
-
Method Details
-
runtimeIdentifier
Set the runtimeIdentifier of thisMetaCapabilitiesinstance and return the same instance.- Parameters:
runtimeIdentifier- The name of the runtime- Returns:
- The same instance of this
MetaCapabilitiesclass
-
getRuntimeIdentifier
The name of the runtime- Returns:
- runtimeIdentifier The runtimeIdentifier of this
MetaCapabilitiesinstance.
-
setRuntimeIdentifier
Set the runtimeIdentifier of thisMetaCapabilitiesinstance.- Parameters:
runtimeIdentifier- The name of the runtime
-
runtimeApiVersion
Set the runtimeApiVersion of thisMetaCapabilitiesinstance and return the same instance.- Parameters:
runtimeApiVersion- The runtimeApiVersion of thisMetaCapabilities- Returns:
- The same instance of this
MetaCapabilitiesclass
-
getRuntimeApiVersion
Get runtimeApiVersion- Returns:
- runtimeApiVersion The runtimeApiVersion of this
MetaCapabilitiesinstance.
-
setRuntimeApiVersion
Set the runtimeApiVersion of thisMetaCapabilitiesinstance.- Parameters:
runtimeApiVersion- The runtimeApiVersion of thisMetaCapabilities
-
description
Set the description of thisMetaCapabilitiesinstance and return the same instance.- Parameters:
description- The description of thisMetaCapabilities- Returns:
- The same instance of this
MetaCapabilitiesclass
-
getDescription
Get description- Returns:
- description The description of this
MetaCapabilitiesinstance.
-
setDescription
Set the description of thisMetaCapabilitiesinstance.- Parameters:
description- The description of thisMetaCapabilities
-
aiApi
Set the aiApi of thisMetaCapabilitiesinstance and return the same instance.- Parameters:
aiApi- The aiApi of thisMetaCapabilities- Returns:
- The same instance of this
MetaCapabilitiesclass
-
getAiApi
Get aiApi- Returns:
- aiApi The aiApi of this
MetaCapabilitiesinstance.
-
setAiApi
Set the aiApi of thisMetaCapabilitiesinstance.- Parameters:
aiApi- The aiApi of thisMetaCapabilities
-
extensions
Set the extensions of thisMetaCapabilitiesinstance and return the same instance.- Parameters:
extensions- The extensions of thisMetaCapabilities- Returns:
- The same instance of this
MetaCapabilitiesclass
-
getExtensions
Get extensions- Returns:
- extensions The extensions of this
MetaCapabilitiesinstance.
-
setExtensions
Set the extensions of thisMetaCapabilitiesinstance.- Parameters:
extensions- The extensions of thisMetaCapabilities
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetaCapabilities.- 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 thisMetaCapabilitiesinstance.- 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 thisMetaCapabilitiesinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetaCapabilitiesinstance. 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 newMetaCapabilitiesinstance with all required arguments.
-
toMap()instead.