Package com.sap.ai.sdk.core.model
Class RTAModelBaseData
java.lang.Object
com.sap.ai.sdk.core.model.RTAModelBaseData
RTAModelBaseData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RTAModelBaseData. -
Method Summary
Modifier and TypeMethodDescriptionaccessType(String accessType) Set the accessType of thisRTAModelBaseDatainstance and return the same instance.addAllowedScenariosItem(RTAModelBaseDataAllowedScenariosInner allowedScenariosItem) Add one allowedScenarios instance to thisRTAModelBaseData.addVersionsItem(RTAModelVersion versionsItem) Add one versions instance to thisRTAModelBaseData.allowedScenarios(List<RTAModelBaseDataAllowedScenariosInner> allowedScenarios) Set the allowedScenarios of thisRTAModelBaseDatainstance and return the same instance.static RTAModelBaseData.Buildercreate()Create a type-safe, fluent-api builder object to construct a newRTAModelBaseDatainstance with all required arguments.description(String description) Set the description of thisRTAModelBaseDatainstance and return the same instance.displayName(String displayName) Set the displayName of thisRTAModelBaseDatainstance and return the same instance.booleanexecutableId(String executableId) Set the executableId of thisRTAModelBaseDatainstance and return the same instance.Access type of the modelList of scenarioId:executuableId pair where the model supportedgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTAModelBaseData.Description of the model and its capabilitiesDisplay name of the modelID of the executablegetModel()Name of the modelProvider of the modelList of model versions that the model object hasinthashCode()Set the model of thisRTAModelBaseDatainstance and return the same instance.Set the provider of thisRTAModelBaseDatainstance and return the same instance.voidsetAccessType(String accessType) Set the accessType of thisRTAModelBaseDatainstance.voidsetAllowedScenarios(List<RTAModelBaseDataAllowedScenariosInner> allowedScenarios) Set the allowedScenarios of thisRTAModelBaseDatainstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTAModelBaseDatainstance.voidsetDescription(String description) Set the description of thisRTAModelBaseDatainstance.voidsetDisplayName(String displayName) Set the displayName of thisRTAModelBaseDatainstance.voidsetExecutableId(String executableId) Set the executableId of thisRTAModelBaseDatainstance.voidSet the model of thisRTAModelBaseDatainstance.voidsetProvider(String provider) Set the provider of thisRTAModelBaseDatainstance.voidsetVersions(List<RTAModelVersion> versions) Set the versions of thisRTAModelBaseDatainstance.toMap()Get the value of all properties of thisRTAModelBaseDatainstance including unrecognized properties.toString()versions(List<RTAModelVersion> versions) Set the versions of thisRTAModelBaseDatainstance and return the same instance.
-
Constructor Details
-
RTAModelBaseData
protected RTAModelBaseData()Default constructor for RTAModelBaseData.
-
-
Method Details
-
model
Set the model of thisRTAModelBaseDatainstance and return the same instance.- Parameters:
model- Name of the model- Returns:
- The same instance of this
RTAModelBaseDataclass
-
getModel
Name of the model- Returns:
- model The model of this
RTAModelBaseDatainstance.
-
setModel
Set the model of thisRTAModelBaseDatainstance.- Parameters:
model- Name of the model
-
executableId
Set the executableId of thisRTAModelBaseDatainstance and return the same instance.- Parameters:
executableId- ID of the executable- Returns:
- The same instance of this
RTAModelBaseDataclass
-
getExecutableId
ID of the executable- Returns:
- executableId The executableId of this
RTAModelBaseDatainstance.
-
setExecutableId
Set the executableId of thisRTAModelBaseDatainstance.- Parameters:
executableId- ID of the executable
-
description
Set the description of thisRTAModelBaseDatainstance and return the same instance.- Parameters:
description- Description of the model and its capabilities- Returns:
- The same instance of this
RTAModelBaseDataclass
-
getDescription
Description of the model and its capabilities- Returns:
- description The description of this
RTAModelBaseDatainstance.
-
setDescription
Set the description of thisRTAModelBaseDatainstance.- Parameters:
description- Description of the model and its capabilities
-
versions
Set the versions of thisRTAModelBaseDatainstance and return the same instance.- Parameters:
versions- List of model versions that the model object has- Returns:
- The same instance of this
RTAModelBaseDataclass
-
addVersionsItem
Add one versions instance to thisRTAModelBaseData.- Parameters:
versionsItem- The versions that should be added- Returns:
- The same instance of type
RTAModelBaseData
-
getVersions
List of model versions that the model object has- Returns:
- versions The versions of this
RTAModelBaseDatainstance.
-
setVersions
Set the versions of thisRTAModelBaseDatainstance.- Parameters:
versions- List of model versions that the model object has
-
displayName
Set the displayName of thisRTAModelBaseDatainstance and return the same instance.- Parameters:
displayName- Display name of the model- Returns:
- The same instance of this
RTAModelBaseDataclass
-
getDisplayName
Display name of the model- Returns:
- displayName The displayName of this
RTAModelBaseDatainstance.
-
setDisplayName
Set the displayName of thisRTAModelBaseDatainstance.- Parameters:
displayName- Display name of the model
-
accessType
Set the accessType of thisRTAModelBaseDatainstance and return the same instance.- Parameters:
accessType- Access type of the model- Returns:
- The same instance of this
RTAModelBaseDataclass
-
getAccessType
Access type of the model- Returns:
- accessType The accessType of this
RTAModelBaseDatainstance.
-
setAccessType
Set the accessType of thisRTAModelBaseDatainstance.- Parameters:
accessType- Access type of the model
-
provider
Set the provider of thisRTAModelBaseDatainstance and return the same instance.- Parameters:
provider- Provider of the model- Returns:
- The same instance of this
RTAModelBaseDataclass
-
getProvider
Provider of the model- Returns:
- provider The provider of this
RTAModelBaseDatainstance.
-
setProvider
Set the provider of thisRTAModelBaseDatainstance.- Parameters:
provider- Provider of the model
-
allowedScenarios
@Nonnull public RTAModelBaseData allowedScenarios(@Nullable List<RTAModelBaseDataAllowedScenariosInner> allowedScenarios) Set the allowedScenarios of thisRTAModelBaseDatainstance and return the same instance.- Parameters:
allowedScenarios- List of scenarioId:executuableId pair where the model supported- Returns:
- The same instance of this
RTAModelBaseDataclass
-
addAllowedScenariosItem
@Nonnull public RTAModelBaseData addAllowedScenariosItem(@Nonnull RTAModelBaseDataAllowedScenariosInner allowedScenariosItem) Add one allowedScenarios instance to thisRTAModelBaseData.- Parameters:
allowedScenariosItem- The allowedScenarios that should be added- Returns:
- The same instance of type
RTAModelBaseData
-
getAllowedScenarios
List of scenarioId:executuableId pair where the model supported- Returns:
- allowedScenarios The allowedScenarios of this
RTAModelBaseDatainstance.
-
setAllowedScenarios
public void setAllowedScenarios(@Nullable List<RTAModelBaseDataAllowedScenariosInner> allowedScenarios) Set the allowedScenarios of thisRTAModelBaseDatainstance.- Parameters:
allowedScenarios- List of scenarioId:executuableId pair where the model supported
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTAModelBaseData.- 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 thisRTAModelBaseDatainstance.- 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 thisRTAModelBaseDatainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTAModelBaseDatainstance. 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 newRTAModelBaseDatainstance with all required arguments.
-
toMap()instead.