Delen via


Participant Class

  • java.lang.Object
    • com.azure.resourcemanager.customerinsights.models.Participant

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 displayName property: Localized display name.

static Participant fromJson(JsonReader jsonReader)

Reads an instance of Participant from the JsonReader.

String participantName()

Get the participantName property: Participant name.

List<ParticipantPropertyReference> participantPropertyReferences()

Get the participantPropertyReferences property: The property references.

String profileTypeName()

Get the profileTypeName property: Profile type name.

String role()

Get the role property: The role that the participant is playing in the interaction.

JsonWriter 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 displayName property: Localized display name.

Participant withParticipantName(String participantName)

Set the participantName property: Participant name.

Participant withParticipantPropertyReferences(List<ParticipantPropertyReference> participantPropertyReferences)

Set the participantPropertyReferences property: The property references.

Participant withProfileTypeName(String profileTypeName)

Set the profileTypeName property: Profile type name.

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:

the description value.

displayName

public Map<String,String> displayName()

Get the displayName property: Localized display name.

Returns:

the displayName value.

fromJson

public static Participant fromJson(JsonReader jsonReader)

Reads an instance of Participant from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Participant if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

participantName

public String participantName()

Get the participantName property: Participant name.

Returns:

the participantName value.

participantPropertyReferences

public List<ParticipantPropertyReference> participantPropertyReferences()

Get the participantPropertyReferences property: The property references.

Returns:

the participantPropertyReferences value.

profileTypeName

public String profileTypeName()

Get the profileTypeName property: Profile type name.

Returns:

the profileTypeName value.

role

public String role()

Get the role property: The role that the participant is playing in the interaction.

Returns:

the role value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public Participant withDescription(Map<String,String> description)

Set the description property: Localized descriptions.

Parameters:

description - the description value to set.

Returns:

the Participant object itself.

withDisplayName

public Participant withDisplayName(Map<String,String> displayName)

Set the displayName property: Localized display name.

Parameters:

displayName - the displayName value to set.

Returns:

the Participant object itself.

withParticipantName

public Participant withParticipantName(String participantName)

Set the participantName property: Participant name.

Parameters:

participantName - the participantName value to set.

Returns:

the Participant object itself.

withParticipantPropertyReferences

public Participant withParticipantPropertyReferences(List<ParticipantPropertyReference> participantPropertyReferences)

Set the participantPropertyReferences property: The property references.

Parameters:

participantPropertyReferences - the participantPropertyReferences value to set.

Returns:

the Participant object itself.

withProfileTypeName

public Participant withProfileTypeName(String profileTypeName)

Set the profileTypeName property: Profile type name.

Parameters:

profileTypeName - the profileTypeName value to set.

Returns:

the Participant object itself.

withRole

public Participant withRole(String role)

Set the role property: The role that the participant is playing in the interaction.

Parameters:

role - the role value to set.

Returns:

the Participant object itself.

Applies to