public class ParticipantDetailsToAdd
extends java.lang.Object
implements java.io.Serializable
The details to add for the participant.
| Constructor and Description |
|---|
ParticipantDetailsToAdd() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDisplayName()
The display name of the participant.
|
java.lang.String |
getParticipantRole()
The role of the participant being added.
|
int |
hashCode() |
void |
setDisplayName(java.lang.String displayName)
The display name of the participant.
|
void |
setParticipantRole(ParticipantRole participantRole)
The role of the participant being added.
|
void |
setParticipantRole(java.lang.String participantRole)
The role of the participant being added.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ParticipantDetailsToAdd |
withDisplayName(java.lang.String displayName)
The display name of the participant.
|
ParticipantDetailsToAdd |
withParticipantRole(ParticipantRole participantRole)
The role of the participant being added.
|
ParticipantDetailsToAdd |
withParticipantRole(java.lang.String participantRole)
The role of the participant being added.
|
public java.lang.String getParticipantRole()
The role of the participant being added.
Constraints:
Allowed Values: AGENT, CUSTOMER, SYSTEM, CUSTOM_BOT
The role of the participant being added.
ParticipantRolepublic void setParticipantRole(java.lang.String participantRole)
The role of the participant being added.
Constraints:
Allowed Values: AGENT, CUSTOMER, SYSTEM, CUSTOM_BOT
participantRole - The role of the participant being added.
ParticipantRolepublic ParticipantDetailsToAdd withParticipantRole(java.lang.String participantRole)
The role of the participant being added.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AGENT, CUSTOMER, SYSTEM, CUSTOM_BOT
participantRole - The role of the participant being added.
ParticipantRolepublic void setParticipantRole(ParticipantRole participantRole)
The role of the participant being added.
Constraints:
Allowed Values: AGENT, CUSTOMER, SYSTEM, CUSTOM_BOT
participantRole - The role of the participant being added.
ParticipantRolepublic ParticipantDetailsToAdd withParticipantRole(ParticipantRole participantRole)
The role of the participant being added.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AGENT, CUSTOMER, SYSTEM, CUSTOM_BOT
participantRole - The role of the participant being added.
ParticipantRolepublic java.lang.String getDisplayName()
The display name of the participant.
Constraints:
Length: 1 - 256
The display name of the participant.
public void setDisplayName(java.lang.String displayName)
The display name of the participant.
Constraints:
Length: 1 - 256
displayName - The display name of the participant.
public ParticipantDetailsToAdd withDisplayName(java.lang.String displayName)
The display name of the participant.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
displayName - The display name of the participant.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object