summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ModelPrivileged.go
blob: d946952829bc2943627e5dc9633e95b4c711cc91 (plain) (blame)
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
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
// Code generated by msgraph.go/gen DO NOT EDIT.

package msgraph

import "time"

// PrivilegedAccess undocumented
type PrivilegedAccess struct {
	// Entity is the base model of PrivilegedAccess
	Entity
	// DisplayName undocumented
	DisplayName *string `json:"displayName,omitempty"`
	// Resources undocumented
	Resources []GovernanceResource `json:"resources,omitempty"`
	// RoleDefinitions undocumented
	RoleDefinitions []GovernanceRoleDefinition `json:"roleDefinitions,omitempty"`
	// RoleAssignments undocumented
	RoleAssignments []GovernanceRoleAssignment `json:"roleAssignments,omitempty"`
	// RoleAssignmentRequests undocumented
	RoleAssignmentRequests []GovernanceRoleAssignmentRequestObject `json:"roleAssignmentRequests,omitempty"`
	// RoleSettings undocumented
	RoleSettings []GovernanceRoleSetting `json:"roleSettings,omitempty"`
}

// PrivilegedApproval undocumented
type PrivilegedApproval struct {
	// Entity is the base model of PrivilegedApproval
	Entity
	// UserID undocumented
	UserID *string `json:"userId,omitempty"`
	// RoleID undocumented
	RoleID *string `json:"roleId,omitempty"`
	// ApprovalType undocumented
	ApprovalType *string `json:"approvalType,omitempty"`
	// ApprovalState undocumented
	ApprovalState *ApprovalState `json:"approvalState,omitempty"`
	// ApprovalDuration undocumented
	ApprovalDuration *Duration `json:"approvalDuration,omitempty"`
	// RequestorReason undocumented
	RequestorReason *string `json:"requestorReason,omitempty"`
	// ApproverReason undocumented
	ApproverReason *string `json:"approverReason,omitempty"`
	// StartDateTime undocumented
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// EndDateTime undocumented
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// RequestNavigation undocumented
	RequestNavigation *PrivilegedRoleAssignmentRequestObject `json:"request,omitempty"`
	// RoleInfo undocumented
	RoleInfo *PrivilegedRole `json:"roleInfo,omitempty"`
}

// PrivilegedOperationEvent undocumented
type PrivilegedOperationEvent struct {
	// Entity is the base model of PrivilegedOperationEvent
	Entity
	// UserID undocumented
	UserID *string `json:"userId,omitempty"`
	// UserName undocumented
	UserName *string `json:"userName,omitempty"`
	// UserMail undocumented
	UserMail *string `json:"userMail,omitempty"`
	// RoleID undocumented
	RoleID *string `json:"roleId,omitempty"`
	// RoleName undocumented
	RoleName *string `json:"roleName,omitempty"`
	// ExpirationDateTime undocumented
	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
	// CreationDateTime undocumented
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`
	// RequestorID undocumented
	RequestorID *string `json:"requestorId,omitempty"`
	// RequestorName undocumented
	RequestorName *string `json:"requestorName,omitempty"`
	// TenantID undocumented
	TenantID *string `json:"tenantId,omitempty"`
	// RequestType undocumented
	RequestType *string `json:"requestType,omitempty"`
	// AdditionalInformation undocumented
	AdditionalInformation *string `json:"additionalInformation,omitempty"`
	// ReferenceKey undocumented
	ReferenceKey *string `json:"referenceKey,omitempty"`
	// ReferenceSystem undocumented
	ReferenceSystem *string `json:"referenceSystem,omitempty"`
}

// PrivilegedRole undocumented
type PrivilegedRole struct {
	// Entity is the base model of PrivilegedRole
	Entity
	// Name undocumented
	Name *string `json:"name,omitempty"`
	// Settings undocumented
	Settings *PrivilegedRoleSettings `json:"settings,omitempty"`
	// Assignments undocumented
	Assignments []PrivilegedRoleAssignment `json:"assignments,omitempty"`
	// Summary undocumented
	Summary *PrivilegedRoleSummary `json:"summary,omitempty"`
}

// PrivilegedRoleAssignment undocumented
type PrivilegedRoleAssignment struct {
	// Entity is the base model of PrivilegedRoleAssignment
	Entity
	// UserID undocumented
	UserID *string `json:"userId,omitempty"`
	// RoleID undocumented
	RoleID *string `json:"roleId,omitempty"`
	// IsElevated undocumented
	IsElevated *bool `json:"isElevated,omitempty"`
	// ExpirationDateTime undocumented
	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
	// ResultMessage undocumented
	ResultMessage *string `json:"resultMessage,omitempty"`
	// RoleInfo undocumented
	RoleInfo *PrivilegedRole `json:"roleInfo,omitempty"`
}

// PrivilegedRoleAssignmentRequestObject undocumented
type PrivilegedRoleAssignmentRequestObject struct {
	// Entity is the base model of PrivilegedRoleAssignmentRequestObject
	Entity
	// Schedule undocumented
	Schedule *GovernanceSchedule `json:"schedule,omitempty"`
	// UserID undocumented
	UserID *string `json:"userId,omitempty"`
	// RoleID undocumented
	RoleID *string `json:"roleId,omitempty"`
	// Type undocumented
	Type *string `json:"type,omitempty"`
	// AssignmentState undocumented
	AssignmentState *string `json:"assignmentState,omitempty"`
	// RequestedDateTime undocumented
	RequestedDateTime *time.Time `json:"requestedDateTime,omitempty"`
	// Status undocumented
	Status *string `json:"status,omitempty"`
	// Duration undocumented
	Duration *string `json:"duration,omitempty"`
	// Reason undocumented
	Reason *string `json:"reason,omitempty"`
	// TicketNumber undocumented
	TicketNumber *string `json:"ticketNumber,omitempty"`
	// TicketSystem undocumented
	TicketSystem *string `json:"ticketSystem,omitempty"`
	// RoleInfo undocumented
	RoleInfo *PrivilegedRole `json:"roleInfo,omitempty"`
}

// PrivilegedRoleSettings undocumented
type PrivilegedRoleSettings struct {
	// Entity is the base model of PrivilegedRoleSettings
	Entity
	// ApproverIDs undocumented
	ApproverIDs []string `json:"approverIds,omitempty"`
	// MinElevationDuration undocumented
	MinElevationDuration *Duration `json:"minElevationDuration,omitempty"`
	// MaxElavationDuration undocumented
	MaxElavationDuration *Duration `json:"maxElavationDuration,omitempty"`
	// ElevationDuration undocumented
	ElevationDuration *Duration `json:"elevationDuration,omitempty"`
	// NotificationToUserOnElevation undocumented
	NotificationToUserOnElevation *bool `json:"notificationToUserOnElevation,omitempty"`
	// TicketingInfoOnElevation undocumented
	TicketingInfoOnElevation *bool `json:"ticketingInfoOnElevation,omitempty"`
	// MFAOnElevation undocumented
	MFAOnElevation *bool `json:"mfaOnElevation,omitempty"`
	// LastGlobalAdmin undocumented
	LastGlobalAdmin *bool `json:"lastGlobalAdmin,omitempty"`
	// IsMFAOnElevationConfigurable undocumented
	IsMFAOnElevationConfigurable *bool `json:"isMfaOnElevationConfigurable,omitempty"`
	// ApprovalOnElevation undocumented
	ApprovalOnElevation *bool `json:"approvalOnElevation,omitempty"`
}

// PrivilegedRoleSummary undocumented
type PrivilegedRoleSummary struct {
	// Entity is the base model of PrivilegedRoleSummary
	Entity
	// Status undocumented
	Status *RoleSummaryStatus `json:"status,omitempty"`
	// UsersCount undocumented
	UsersCount *int `json:"usersCount,omitempty"`
	// ManagedCount undocumented
	ManagedCount *int `json:"managedCount,omitempty"`
	// ElevatedCount undocumented
	ElevatedCount *int `json:"elevatedCount,omitempty"`
	// MFAEnabled undocumented
	MFAEnabled *bool `json:"mfaEnabled,omitempty"`
}

// PrivilegedSignupStatus undocumented
type PrivilegedSignupStatus struct {
	// Entity is the base model of PrivilegedSignupStatus
	Entity
	// IsRegistered undocumented
	IsRegistered *bool `json:"isRegistered,omitempty"`
	// Status undocumented
	Status *SetupStatus `json:"status,omitempty"`
}