Package com.sap.ai.sdk.core.model
Class RTALogCommonResultItem
java.lang.Object
com.sap.ai.sdk.core.model.RTALogCommonResultItem
Common log record.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RTALogCommonResultItem. -
Method Summary
Modifier and TypeMethodDescriptionstatic RTALogCommonResultItemcreate()Create a newRTALogCommonResultIteminstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTALogCommonResultItem.getMsg()message content.Datetime in RFC 3339.inthashCode()Set the msg of thisRTALogCommonResultIteminstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTALogCommonResultIteminstance.voidSet the msg of thisRTALogCommonResultIteminstance.voidsetTimestamp(OffsetDateTime timestamp) Set the timestamp of thisRTALogCommonResultIteminstance.timestamp(OffsetDateTime timestamp) Set the timestamp of thisRTALogCommonResultIteminstance and return the same instance.toMap()Get the value of all properties of thisRTALogCommonResultIteminstance including unrecognized properties.toString()
-
Constructor Details
-
RTALogCommonResultItem
protected RTALogCommonResultItem()Default constructor for RTALogCommonResultItem.
-
-
Method Details
-
timestamp
Set the timestamp of thisRTALogCommonResultIteminstance and return the same instance.- Parameters:
timestamp- Datetime in RFC 3339.- Returns:
- The same instance of this
RTALogCommonResultItemclass
-
getTimestamp
Datetime in RFC 3339.- Returns:
- timestamp The timestamp of this
RTALogCommonResultIteminstance.
-
setTimestamp
Set the timestamp of thisRTALogCommonResultIteminstance.- Parameters:
timestamp- Datetime in RFC 3339.
-
msg
Set the msg of thisRTALogCommonResultIteminstance and return the same instance.- Parameters:
msg- message content.- Returns:
- The same instance of this
RTALogCommonResultItemclass
-
getMsg
message content.- Returns:
- msg The msg of this
RTALogCommonResultIteminstance.
-
setMsg
Set the msg of thisRTALogCommonResultIteminstance.- Parameters:
msg- message content.
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTALogCommonResultItem.- 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 thisRTALogCommonResultIteminstance.- 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 thisRTALogCommonResultIteminstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTALogCommonResultIteminstance. 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 newRTALogCommonResultIteminstance. No arguments are required.
-
toMap()instead.