Package com.sap.ai.sdk.core.model
Class RTALogCommonData
java.lang.Object
com.sap.ai.sdk.core.model.RTALogCommonData
RTALogCommonData
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RTALogCommonData. -
Method Summary
Modifier and TypeMethodDescriptionaddResultItem(RTALogCommonResultItem resultItem) Add one result instance to thisRTALogCommonData.static RTALogCommonDatacreate()Create a newRTALogCommonDatainstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTALogCommonData.Get resultinthashCode()result(List<RTALogCommonResultItem> result) Set the result of thisRTALogCommonDatainstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTALogCommonDatainstance.voidsetResult(List<RTALogCommonResultItem> result) Set the result of thisRTALogCommonDatainstance.toMap()Get the value of all properties of thisRTALogCommonDatainstance including unrecognized properties.toString()
-
Constructor Details
-
RTALogCommonData
protected RTALogCommonData()Default constructor for RTALogCommonData.
-
-
Method Details
-
result
Set the result of thisRTALogCommonDatainstance and return the same instance.- Parameters:
result- The result of thisRTALogCommonData- Returns:
- The same instance of this
RTALogCommonDataclass
-
addResultItem
Add one result instance to thisRTALogCommonData.- Parameters:
resultItem- The result that should be added- Returns:
- The same instance of type
RTALogCommonData
-
getResult
Get result- Returns:
- result The result of this
RTALogCommonDatainstance.
-
setResult
Set the result of thisRTALogCommonDatainstance.- Parameters:
result- The result of thisRTALogCommonData
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTALogCommonData.- 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 thisRTALogCommonDatainstance.- 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 thisRTALogCommonDatainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTALogCommonDatainstance. 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 newRTALogCommonDatainstance. No arguments are required.
-
toMap()instead.