Class ServiceProviderInteractionSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.delegateaccesscontrol.model.ServiceProviderInteractionSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230801") public final class ServiceProviderInteractionSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of customer and operator conversation.
Note: Objects should always be created or deserialized using theServiceProviderInteractionSummary.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 theServiceProviderInteractionSummary.Builder, which maintain a set of all explicitly set fields calledServiceProviderInteractionSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceProviderInteractionSummary.Builderstatic classServiceProviderInteractionSummary.UserTypeIndicates whether the user is a customer or an operator.
-
Constructor Summary
Constructors Constructor Description ServiceProviderInteractionSummary(String messageIdentifier, String userId, String userName, String message, ServiceProviderInteractionSummary.UserType userType, Date timestamp)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceProviderInteractionSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetMessage()The information exchanged between the customer and the operator.StringgetMessageIdentifier()The unique identifier of the message within the scope of the associated access request.DategetTimestamp()Time when the conversation happened in RFC 3339timestamp format, e.g.StringgetUserId()ID of the customer or operator who is part of this conversation.StringgetUserName()Name of the customer or operator who is part of this conversation.ServiceProviderInteractionSummary.UserTypegetUserType()Indicates whether the user is a customer or an operator.inthashCode()ServiceProviderInteractionSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ServiceProviderInteractionSummary
@Deprecated @ConstructorProperties({"messageIdentifier","userId","userName","message","userType","timestamp"}) public ServiceProviderInteractionSummary(String messageIdentifier, String userId, String userName, String message, ServiceProviderInteractionSummary.UserType userType, Date timestamp)
Deprecated.
-
-
Method Detail
-
builder
public static ServiceProviderInteractionSummary.Builder builder()
Create a new builder.
-
toBuilder
public ServiceProviderInteractionSummary.Builder toBuilder()
-
getMessageIdentifier
public String getMessageIdentifier()
The unique identifier of the message within the scope of the associated access request.- Returns:
- the value
-
getUserId
public String getUserId()
ID of the customer or operator who is part of this conversation.For operator, this field is null.
- Returns:
- the value
-
getUserName
public String getUserName()
Name of the customer or operator who is part of this conversation.For operator, the name is “Operator”.
- Returns:
- the value
-
getMessage
public String getMessage()
The information exchanged between the customer and the operator.- Returns:
- the value
-
getUserType
public ServiceProviderInteractionSummary.UserType getUserType()
Indicates whether the user is a customer or an operator.- Returns:
- the value
-
getTimestamp
public Date getTimestamp()
Time when the conversation happened in RFC 3339timestamp format, e.g.‘2020-05-22T21:10:29.600Z’.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-