Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat

Inherits:
ProxyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb

Overview

The relationship link resource format.

Instance Attribute Summary collapse

Attributes inherited from ProxyResource

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#descriptionHash{String => String}

Relationship Link.

Returns:

  • (Hash{String => String})

    Localized descriptions for the



21
22
23
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 21

def description
  @description
end

#display_nameHash{String => String}

Relationship Link.

Returns:

  • (Hash{String => String})

    Localized display name for the



17
18
19
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 17

def display_name
  @display_name
end

#interaction_typeString

Link.

Returns:

  • (String)

    The InteractionType associated with the Relationship



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

def interaction_type
  @interaction_type
end

Returns The name of the Relationship Link.

Returns:

  • (String)

    The name of the Relationship Link.



28
29
30
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 28

def link_name
  @link_name
end

#mappingsArray<RelationshipLinkFieldMapping>

Interaction and Relationship fields.

Returns:



32
33
34
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 32

def mappings
  @mappings
end

#profile_property_referencesArray<ParticipantProfilePropertyReference>

references for the Profile of the Relationship.

Returns:



36
37
38
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 36

def profile_property_references
  @profile_property_references
end

#provisioning_stateProvisioningStates

include: ‘Provisioning’, ‘Succeeded’, ‘Expiring’, ‘Deleting’, ‘HumanIntervention’, ‘Failed’

Returns:



41
42
43
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 41

def provisioning_state
  @provisioning_state
end

references for the Related Profile of the Relationship.

Returns:



45
46
47
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 45

def related_profile_property_references
  @related_profile_property_references
end

#relationship_guid_idString

Returns The relationship guid id.

Returns:

  • (String)

    The relationship guid id.



51
52
53
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 51

def relationship_guid_id
  @relationship_guid_id
end

#relationship_nameString

Returns The Relationship associated with the Link.

Returns:

  • (String)

    The Relationship associated with the Link.



48
49
50
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 48

def relationship_name
  @relationship_name
end

#tenant_idString

Returns The hub name.

Returns:

  • (String)

    The hub name.



54
55
56
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 54

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb', line 61

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RelationshipLinkResourceFormat',
    type: {
      name: 'Composite',
      class_name: 'RelationshipLinkResourceFormat',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.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: 'properties.description',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        interaction_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.interactionType',
          type: {
            name: 'String'
          }
        },
        link_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.linkName',
          type: {
            name: 'String'
          }
        },
        mappings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.mappings',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'RelationshipLinkFieldMappingElementType',
                type: {
                  name: 'Composite',
                  class_name: 'RelationshipLinkFieldMapping'
                }
            }
          }
        },
        profile_property_references: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.profilePropertyReferences',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ParticipantProfilePropertyReferenceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ParticipantProfilePropertyReference'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        related_profile_property_references: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.relatedProfilePropertyReferences',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ParticipantProfilePropertyReferenceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ParticipantProfilePropertyReference'
                }
            }
          }
        },
        relationship_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.relationshipName',
          type: {
            name: 'String'
          }
        },
        relationship_guid_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.relationshipGuidId',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end