Package com.sap.ai.sdk.core.model
Class RTALogCommonResponse
java.lang.Object
com.sap.ai.sdk.core.model.RTALogCommonResponse
A common log query response.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RTALogCommonResponse. -
Method Summary
Modifier and TypeMethodDescriptionstatic RTALogCommonResponsecreate()Create a newRTALogCommonResponseinstance.data(RTALogCommonData data) Set the data of thisRTALogCommonResponseinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTALogCommonResponse.getData()Get datainthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTALogCommonResponseinstance.voidsetData(RTALogCommonData data) Set the data of thisRTALogCommonResponseinstance.toMap()Get the value of all properties of thisRTALogCommonResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
RTALogCommonResponse
protected RTALogCommonResponse()Default constructor for RTALogCommonResponse.
-
-
Method Details
-
data
Set the data of thisRTALogCommonResponseinstance and return the same instance.- Parameters:
data- The data of thisRTALogCommonResponse- Returns:
- The same instance of this
RTALogCommonResponseclass
-
getData
Get data- Returns:
- data The data of this
RTALogCommonResponseinstance.
-
setData
Set the data of thisRTALogCommonResponseinstance.- Parameters:
data- The data of thisRTALogCommonResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTALogCommonResponse.- 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 thisRTALogCommonResponseinstance.- 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 thisRTALogCommonResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTALogCommonResponseinstance. 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 newRTALogCommonResponseinstance. No arguments are required.
-
toMap()instead.