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

public final class Participant extends Object
Describes a profile type participating in an interaction.
  • Constructor Details

    • Participant

      public Participant()
      Creates an instance of Participant class.
  • Method Details

    • profileTypeName

      public String profileTypeName()
      Get the profileTypeName property: Profile type name.
      Returns:
      the profileTypeName value.
    • 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.
    • participantPropertyReferences

      public List<ParticipantPropertyReference> participantPropertyReferences()
      Get the participantPropertyReferences property: The property references.
      Returns:
      the participantPropertyReferences value.
    • 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.
    • participantName

      public String participantName()
      Get the participantName property: Participant name.
      Returns:
      the participantName value.
    • withParticipantName

      public Participant withParticipantName(String participantName)
      Set the participantName property: Participant name.
      Parameters:
      participantName - the participantName value to set.
      Returns:
      the Participant object itself.
    • displayName

      public Map<String,String> displayName()
      Get the displayName property: Localized display name.
      Returns:
      the displayName value.
    • 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.
    • description

      public Map<String,String> description()
      Get the description property: Localized descriptions.
      Returns:
      the description value.
    • 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.
    • role

      public String role()
      Get the role property: The role that the participant is playing in the interaction.
      Returns:
      the role value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.