Package com.sap.ai.sdk.core.model
Class RTAScenario
java.lang.Object
com.sap.ai.sdk.core.model.RTAScenario
Entity having labels
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(RTALabel labelsItem) Add one labels instance to thisRTAScenario.static RTAScenario.Buildercreate()Create a type-safe, fluent-api builder object to construct a newRTAScenarioinstance with all required arguments.createdAt(OffsetDateTime createdAt) Set the createdAt of thisRTAScenarioinstance and return the same instance.description(String description) Set the description of thisRTAScenarioinstance and return the same instance.booleanTimestamp of resource creationgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTAScenario.Description of the scenariogetId()ID of the scenarioArbitrary labels as meta informationTimestamp of latest resource modificationgetName()Name of the scenariointhashCode()Set the id of thisRTAScenarioinstance and return the same instance.Set the labels of thisRTAScenarioinstance and return the same instance.modifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisRTAScenarioinstance and return the same instance.Set the name of thisRTAScenarioinstance and return the same instance.voidsetCreatedAt(OffsetDateTime createdAt) Set the createdAt of thisRTAScenarioinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTAScenarioinstance.voidsetDescription(String description) Set the description of thisRTAScenarioinstance.voidSet the id of thisRTAScenarioinstance.voidSet the labels of thisRTAScenarioinstance.voidsetModifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisRTAScenarioinstance.voidSet the name of thisRTAScenarioinstance.toMap()Get the value of all properties of thisRTAScenarioinstance including unrecognized properties.toString()
-
Constructor Details
-
RTAScenario
protected RTAScenario()Default constructor for RTAScenario.
-
-
Method Details
-
id
Set the id of thisRTAScenarioinstance and return the same instance.- Parameters:
id- ID of the scenario- Returns:
- The same instance of this
RTAScenarioclass
-
getId
ID of the scenario- Returns:
- id The id of this
RTAScenarioinstance.
-
setId
Set the id of thisRTAScenarioinstance.- Parameters:
id- ID of the scenario
-
name
Set the name of thisRTAScenarioinstance and return the same instance.- Parameters:
name- Name of the scenario- Returns:
- The same instance of this
RTAScenarioclass
-
getName
Name of the scenario- Returns:
- name The name of this
RTAScenarioinstance.
-
setName
Set the name of thisRTAScenarioinstance.- Parameters:
name- Name of the scenario
-
description
Set the description of thisRTAScenarioinstance and return the same instance.- Parameters:
description- Description of the scenario- Returns:
- The same instance of this
RTAScenarioclass
-
getDescription
Description of the scenario- Returns:
- description The description of this
RTAScenarioinstance.
-
setDescription
Set the description of thisRTAScenarioinstance.- Parameters:
description- Description of the scenario
-
labels
Set the labels of thisRTAScenarioinstance and return the same instance.- Parameters:
labels- Arbitrary labels as meta information- Returns:
- The same instance of this
RTAScenarioclass
-
addLabelsItem
Add one labels instance to thisRTAScenario.- Parameters:
labelsItem- The labels that should be added- Returns:
- The same instance of type
RTAScenario
-
getLabels
Arbitrary labels as meta information- Returns:
- labels The labels of this
RTAScenarioinstance.
-
setLabels
Set the labels of thisRTAScenarioinstance.- Parameters:
labels- Arbitrary labels as meta information
-
createdAt
Set the createdAt of thisRTAScenarioinstance and return the same instance.- Parameters:
createdAt- Timestamp of resource creation- Returns:
- The same instance of this
RTAScenarioclass
-
getCreatedAt
Timestamp of resource creation- Returns:
- createdAt The createdAt of this
RTAScenarioinstance.
-
setCreatedAt
Set the createdAt of thisRTAScenarioinstance.- Parameters:
createdAt- Timestamp of resource creation
-
modifiedAt
Set the modifiedAt of thisRTAScenarioinstance and return the same instance.- Parameters:
modifiedAt- Timestamp of latest resource modification- Returns:
- The same instance of this
RTAScenarioclass
-
getModifiedAt
Timestamp of latest resource modification- Returns:
- modifiedAt The modifiedAt of this
RTAScenarioinstance.
-
setModifiedAt
Set the modifiedAt of thisRTAScenarioinstance.- Parameters:
modifiedAt- Timestamp of latest resource modification
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTAScenario.- 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 thisRTAScenarioinstance.- 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 thisRTAScenarioinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTAScenarioinstance. 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 newRTAScenarioinstance with all required arguments.
-
toMap()instead.