-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
DataShareInvitationData.cs
84 lines (78 loc) · 4.35 KB
/
DataShareInvitationData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
using Azure.ResourceManager.DataShare.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.DataShare
{
/// <summary>
/// A class representing the DataShareInvitation data model.
/// A Invitation data transfer object.
/// </summary>
public partial class DataShareInvitationData : ResourceData
{
/// <summary> Initializes a new instance of DataShareInvitationData. </summary>
public DataShareInvitationData()
{
}
/// <summary> Initializes a new instance of DataShareInvitationData. </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="expireOn"> The expiration date for the invitation and share subscription. </param>
/// <param name="invitationId"> unique invitation id. </param>
/// <param name="invitationStatus"> The status of the invitation. </param>
/// <param name="respondedOn"> The time the recipient responded to the invitation. </param>
/// <param name="sentOn"> Gets the time at which the invitation was sent. </param>
/// <param name="targetActiveDirectoryId"> The target Azure AD Id. Can't be combined with email. </param>
/// <param name="targetEmail"> The email the invitation is directed to. </param>
/// <param name="targetObjectId">
/// The target user or application Id that invitation is being sent to.
/// Must be specified along TargetActiveDirectoryId. This enables sending
/// invitations to specific users or applications in an AD tenant.
/// </param>
/// <param name="userEmail"> Email of the user who created the resource. </param>
/// <param name="userName"> Name of the user who created the resource. </param>
internal DataShareInvitationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? expireOn, Guid? invitationId, DataShareInvitationStatus? invitationStatus, DateTimeOffset? respondedOn, DateTimeOffset? sentOn, string targetActiveDirectoryId, string targetEmail, string targetObjectId, string userEmail, string userName) : base(id, name, resourceType, systemData)
{
ExpireOn = expireOn;
InvitationId = invitationId;
InvitationStatus = invitationStatus;
RespondedOn = respondedOn;
SentOn = sentOn;
TargetActiveDirectoryId = targetActiveDirectoryId;
TargetEmail = targetEmail;
TargetObjectId = targetObjectId;
UserEmail = userEmail;
UserName = userName;
}
/// <summary> The expiration date for the invitation and share subscription. </summary>
public DateTimeOffset? ExpireOn { get; set; }
/// <summary> unique invitation id. </summary>
public Guid? InvitationId { get; }
/// <summary> The status of the invitation. </summary>
public DataShareInvitationStatus? InvitationStatus { get; }
/// <summary> The time the recipient responded to the invitation. </summary>
public DateTimeOffset? RespondedOn { get; }
/// <summary> Gets the time at which the invitation was sent. </summary>
public DateTimeOffset? SentOn { get; }
/// <summary> The target Azure AD Id. Can't be combined with email. </summary>
public string TargetActiveDirectoryId { get; set; }
/// <summary> The email the invitation is directed to. </summary>
public string TargetEmail { get; set; }
/// <summary>
/// The target user or application Id that invitation is being sent to.
/// Must be specified along TargetActiveDirectoryId. This enables sending
/// invitations to specific users or applications in an AD tenant.
/// </summary>
public string TargetObjectId { get; set; }
/// <summary> Email of the user who created the resource. </summary>
public string UserEmail { get; }
/// <summary> Name of the user who created the resource. </summary>
public string UserName { get; }
}
}