-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ApiManagementGroupUserData.cs
73 lines (67 loc) · 3.7 KB
/
ApiManagementGroupUserData.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
// 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.Models;
namespace Azure.ResourceManager.ApiManagement.Models
{
/// <summary> The ApiManagementGroupUserData. </summary>
public partial class ApiManagementGroupUserData : ResourceData
{
/// <summary> Initializes a new instance of ApiManagementGroupUserData. </summary>
public ApiManagementGroupUserData()
{
Identities = new ChangeTrackingList<UserIdentityContract>();
Groups = new ChangeTrackingList<GroupContractProperties>();
}
/// <summary> Initializes a new instance of ApiManagementGroupUserData. </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="state"> Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. </param>
/// <param name="note"> Optional note about a user set by the administrator. </param>
/// <param name="identities"> Collection of user identities. </param>
/// <param name="firstName"> First name. </param>
/// <param name="lastName"> Last name. </param>
/// <param name="email"> Email address. </param>
/// <param name="registriesOn">
/// Date of user registration. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
///
/// </param>
/// <param name="groups"> Collection of groups user is part of. </param>
internal ApiManagementGroupUserData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ApiManagementUserState? state, string note, IList<UserIdentityContract> identities, string firstName, string lastName, string email, DateTimeOffset? registriesOn, IReadOnlyList<GroupContractProperties> groups) : base(id, name, resourceType, systemData)
{
State = state;
Note = note;
Identities = identities;
FirstName = firstName;
LastName = lastName;
Email = email;
RegistriesOn = registriesOn;
Groups = groups;
}
/// <summary> Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. </summary>
public ApiManagementUserState? State { get; set; }
/// <summary> Optional note about a user set by the administrator. </summary>
public string Note { get; set; }
/// <summary> Collection of user identities. </summary>
public IList<UserIdentityContract> Identities { get; }
/// <summary> First name. </summary>
public string FirstName { get; set; }
/// <summary> Last name. </summary>
public string LastName { get; set; }
/// <summary> Email address. </summary>
public string Email { get; set; }
/// <summary>
/// Date of user registration. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
///
/// </summary>
public DateTimeOffset? RegistriesOn { get; set; }
/// <summary> Collection of groups user is part of. </summary>
public IReadOnlyList<GroupContractProperties> Groups { get; }
}
}