@Generated(value="OracleSDKGenerator", comments="API Version: 20230801") public final class ServiceProviderInteractionSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of customer and operator conversation.
Note: Objects should always be created or deserialized using the ServiceProviderInteractionSummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the ServiceProviderInteractionSummary.Builder
, which maintain a
set of all explicitly set fields called ServiceProviderInteractionSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ServiceProviderInteractionSummary.Builder |
static class |
ServiceProviderInteractionSummary.UserType
Indicates whether the user is a customer or an operator.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ServiceProviderInteractionSummary(String messageIdentifier,
String userId,
String userName,
String message,
ServiceProviderInteractionSummary.UserType userType,
Date timestamp)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ServiceProviderInteractionSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getMessage()
The information exchanged between the customer and the operator.
|
String |
getMessageIdentifier()
The unique identifier of the message within the scope of the associated access request.
|
Date |
getTimestamp()
Time when the conversation happened in RFC
3339timestamp format, e.g.
|
String |
getUserId()
ID of the customer or operator who is part of this conversation.
|
String |
getUserName()
Name of the customer or operator who is part of this conversation.
|
ServiceProviderInteractionSummary.UserType |
getUserType()
Indicates whether the user is a customer or an operator.
|
int |
hashCode() |
ServiceProviderInteractionSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"messageIdentifier","userId","userName","message","userType","timestamp"}) public ServiceProviderInteractionSummary(String messageIdentifier, String userId, String userName, String message, ServiceProviderInteractionSummary.UserType userType, Date timestamp)
public static ServiceProviderInteractionSummary.Builder builder()
Create a new builder.
public ServiceProviderInteractionSummary.Builder toBuilder()
public String getMessageIdentifier()
The unique identifier of the message within the scope of the associated access request.
public String getUserId()
ID of the customer or operator who is part of this conversation. For operator, this field is null.
public String getUserName()
Name of the customer or operator who is part of this conversation. For operator, the name is “Operator”.
public String getMessage()
The information exchanged between the customer and the operator.
public ServiceProviderInteractionSummary.UserType getUserType()
Indicates whether the user is a customer or an operator.
public Date getTimestamp()
Time when the conversation happened in RFC 3339timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.