-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
RelationshipLinkResourceFormatData.cs
86 lines (80 loc) · 5.15 KB
/
RelationshipLinkResourceFormatData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.CustomerInsights.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.CustomerInsights
{
/// <summary>
/// A class representing the RelationshipLinkResourceFormat data model.
/// The relationship link resource format.
/// </summary>
public partial class RelationshipLinkResourceFormatData : ResourceData
{
/// <summary> Initializes a new instance of RelationshipLinkResourceFormatData. </summary>
public RelationshipLinkResourceFormatData()
{
DisplayName = new ChangeTrackingDictionary<string, string>();
Description = new ChangeTrackingDictionary<string, string>();
Mappings = new ChangeTrackingList<RelationshipLinkFieldMapping>();
ProfilePropertyReferences = new ChangeTrackingList<ParticipantProfilePropertyReference>();
RelatedProfilePropertyReferences = new ChangeTrackingList<ParticipantProfilePropertyReference>();
}
/// <summary> Initializes a new instance of RelationshipLinkResourceFormatData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="displayName"> Localized display name for the Relationship Link. </param>
/// <param name="description"> Localized descriptions for the Relationship Link. </param>
/// <param name="interactionType"> The InteractionType associated with the Relationship Link. </param>
/// <param name="linkName"> The name of the Relationship Link. </param>
/// <param name="mappings"> The mappings between Interaction and Relationship fields. </param>
/// <param name="profilePropertyReferences"> The property references for the Profile of the Relationship. </param>
/// <param name="provisioningState"> Provisioning state. </param>
/// <param name="relatedProfilePropertyReferences"> The property references for the Related Profile of the Relationship. </param>
/// <param name="relationshipName"> The Relationship associated with the Link. </param>
/// <param name="relationshipGuidId"> The relationship guid id. </param>
/// <param name="tenantId"> The hub name. </param>
internal RelationshipLinkResourceFormatData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> displayName, IDictionary<string, string> description, string interactionType, string linkName, IList<RelationshipLinkFieldMapping> mappings, IList<ParticipantProfilePropertyReference> profilePropertyReferences, ProvisioningState? provisioningState, IList<ParticipantProfilePropertyReference> relatedProfilePropertyReferences, string relationshipName, string relationshipGuidId, Guid? tenantId) : base(id, name, resourceType, systemData)
{
DisplayName = displayName;
Description = description;
InteractionType = interactionType;
LinkName = linkName;
Mappings = mappings;
ProfilePropertyReferences = profilePropertyReferences;
ProvisioningState = provisioningState;
RelatedProfilePropertyReferences = relatedProfilePropertyReferences;
RelationshipName = relationshipName;
RelationshipGuidId = relationshipGuidId;
TenantId = tenantId;
}
/// <summary> Localized display name for the Relationship Link. </summary>
public IDictionary<string, string> DisplayName { get; }
/// <summary> Localized descriptions for the Relationship Link. </summary>
public IDictionary<string, string> Description { get; }
/// <summary> The InteractionType associated with the Relationship Link. </summary>
public string InteractionType { get; set; }
/// <summary> The name of the Relationship Link. </summary>
public string LinkName { get; }
/// <summary> The mappings between Interaction and Relationship fields. </summary>
public IList<RelationshipLinkFieldMapping> Mappings { get; }
/// <summary> The property references for the Profile of the Relationship. </summary>
public IList<ParticipantProfilePropertyReference> ProfilePropertyReferences { get; }
/// <summary> Provisioning state. </summary>
public ProvisioningState? ProvisioningState { get; }
/// <summary> The property references for the Related Profile of the Relationship. </summary>
public IList<ParticipantProfilePropertyReference> RelatedProfilePropertyReferences { get; }
/// <summary> The Relationship associated with the Link. </summary>
public string RelationshipName { get; set; }
/// <summary> The relationship guid id. </summary>
public string RelationshipGuidId { get; }
/// <summary> The hub name. </summary>
public Guid? TenantId { get; }
}
}