Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::Participant

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb

Overview

Describes a profile type participating in an interaction.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionHash{String => String}

Returns Localized descriptions.

Returns:

  • (Hash{String => String})

    Localized descriptions.



28
29
30
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb', line 28

def description
  @description
end

#display_nameHash{String => String}

Returns Localized display name.

Returns:

  • (Hash{String => String})

    Localized display name.



25
26
27
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb', line 25

def display_name
  @display_name
end

#participant_nameString

Returns Participant name.

Returns:

  • (String)

    Participant name.



22
23
24
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb', line 22

def participant_name
  @participant_name
end

#participant_property_referencesArray<ParticipantPropertyReference>

Returns The property references.

Returns:



19
20
21
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb', line 19

def participant_property_references
  @participant_property_references
end

#profile_type_nameString

Returns Profile type name.

Returns:

  • (String)

    Profile type name.



16
17
18
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb', line 16

def profile_type_name
  @profile_type_name
end

#roleString

interaction.

Returns:

  • (String)

    The role that the participant is playing in the



32
33
34
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb', line 32

def role
  @role
end

Class Method Details

.mapperObject

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



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'lib/2017-01-01/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