class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Participant

Describes a profile type participating in an interaction.

Attributes

description[RW]

@return [Hash{String => String}] Localized descriptions.

display_name[RW]

@return [Hash{String => String}] Localized display name.

participant_name[RW]

@return [String] Participant name.

participant_property_references[RW]

@return [Array<ParticipantPropertyReference>] The property references.

profile_type_name[RW]

@return [String] Profile type name.

role[RW]

@return [String] The role that the participant is playing in the interaction.

Private Class Methods

mapper() click to toggle source

Mapper for Participant class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-04-26/generated/azure_mgmt_customer_insights/models/participant.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Participant',
    type: {
      name: 'Composite',
      class_name: 'Participant',
      model_properties: {
        profile_type_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'profileTypeName',
          type: {
            name: 'String'
          }
        },
        participant_property_references: {
          client_side_validation: true,
          required: true,
          serialized_name: 'participantPropertyReferences',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ParticipantPropertyReferenceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ParticipantPropertyReference'
                }
            }
          }
        },
        participant_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'participantName',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        role: {
          client_side_validation: true,
          required: false,
          serialized_name: 'role',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end