Participant Class
- java.
lang. Object - com.
azure. resourcemanager. customerinsights. models. Participant
- com.
Implements
public final class Participant
implements JsonSerializable<Participant>
Describes a profile type participating in an interaction.
Constructor Summary
| Constructor | Description |
|---|---|
| Participant() |
Creates an instance of Participant class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,String> |
description()
Get the description property: Localized descriptions. |
| Map<String,String> |
displayName()
Get the display |
| static Participant |
fromJson(JsonReader jsonReader)
Reads an instance of Participant from the Json |
| String |
participantName()
Get the participant |
|
List<Participant |
participantPropertyReferences()
Get the participant |
| String |
profileTypeName()
Get the profile |
| String |
role()
Get the role property: The role that the participant is playing in the interaction. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Participant |
withDescription(Map<String,String> description)
Set the description property: Localized descriptions. |
| Participant |
withDisplayName(Map<String,String> displayName)
Set the display |
| Participant |
withParticipantName(String participantName)
Set the participant |
| Participant |
withParticipantPropertyReferences(List<ParticipantPropertyReference> participantPropertyReferences)
Set the participant |
| Participant |
withProfileTypeName(String profileTypeName)
Set the profile |
| Participant |
withRole(String role)
Set the role property: The role that the participant is playing in the interaction. |
Methods inherited from java.lang.Object
Constructor Details
Participant
public Participant()
Creates an instance of Participant class.
Method Details
description
public Map<String,String> description()
Get the description property: Localized descriptions.
Returns:
displayName
public Map<String,String> displayName()
Get the displayName property: Localized display name.
Returns:
fromJson
public static Participant fromJson(JsonReader jsonReader)
Reads an instance of Participant from the JsonReader.
Parameters:
Returns:
Throws:
participantName
public String participantName()
Get the participantName property: Participant name.
Returns:
participantPropertyReferences
public List<ParticipantPropertyReference> participantPropertyReferences()
Get the participantPropertyReferences property: The property references.
Returns:
profileTypeName
public String profileTypeName()
Get the profileTypeName property: Profile type name.
Returns:
role
public String role()
Get the role property: The role that the participant is playing in the interaction.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public Participant withDescription(Map<String,String> description)
Set the description property: Localized descriptions.
Parameters:
Returns:
withDisplayName
public Participant withDisplayName(Map<String,String> displayName)
Set the displayName property: Localized display name.
Parameters:
Returns:
withParticipantName
public Participant withParticipantName(String participantName)
Set the participantName property: Participant name.
Parameters:
Returns:
withParticipantPropertyReferences
public Participant withParticipantPropertyReferences(List<ParticipantPropertyReference> participantPropertyReferences)
Set the participantPropertyReferences property: The property references.
Parameters:
Returns:
withProfileTypeName
public Participant withProfileTypeName(String profileTypeName)
Set the profileTypeName property: Profile type name.
Parameters:
Returns:
withRole
public Participant withRole(String role)
Set the role property: The role that the participant is playing in the interaction.
Parameters:
Returns: