summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ModelGovernance.go
blob: 6e2f8b7ccfdf3ea3b0764dd3fa0eca6ab62b3e93 (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
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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
// Code generated by msgraph.go/gen DO NOT EDIT.

package msgraph

import "time"

// GovernanceCriteria undocumented
type GovernanceCriteria struct {
	// Object is the base model of GovernanceCriteria
	Object
}

// GovernanceNotificationPolicy undocumented
type GovernanceNotificationPolicy struct {
	// Object is the base model of GovernanceNotificationPolicy
	Object
	// NotificationTemplates undocumented
	NotificationTemplates []GovernanceNotificationTemplate `json:"notificationTemplates,omitempty"`
	// EnabledTemplateTypes undocumented
	EnabledTemplateTypes []string `json:"enabledTemplateTypes,omitempty"`
}

// GovernanceNotificationTemplate undocumented
type GovernanceNotificationTemplate struct {
	// Object is the base model of GovernanceNotificationTemplate
	Object
	// ID undocumented
	ID *string `json:"id,omitempty"`
	// Type undocumented
	Type *string `json:"type,omitempty"`
	// Source undocumented
	Source *string `json:"source,omitempty"`
	// Version undocumented
	Version *string `json:"version,omitempty"`
	// Culture undocumented
	Culture *string `json:"culture,omitempty"`
}

// GovernancePermission undocumented
type GovernancePermission struct {
	// Object is the base model of GovernancePermission
	Object
	// AccessLevel undocumented
	AccessLevel *string `json:"accessLevel,omitempty"`
	// IsActive undocumented
	IsActive *bool `json:"isActive,omitempty"`
	// IsEligible undocumented
	IsEligible *bool `json:"isEligible,omitempty"`
}

// GovernancePolicy undocumented
type GovernancePolicy struct {
	// Object is the base model of GovernancePolicy
	Object
	// DecisionMakerCriteria undocumented
	DecisionMakerCriteria []GovernanceCriteria `json:"decisionMakerCriteria,omitempty"`
	// NotificationPolicy undocumented
	NotificationPolicy *GovernanceNotificationPolicy `json:"notificationPolicy,omitempty"`
}

// GovernancePolicyTemplate undocumented
type GovernancePolicyTemplate struct {
	// Entity is the base model of GovernancePolicyTemplate
	Entity
	// DisplayName undocumented
	DisplayName *string `json:"displayName,omitempty"`
	// Policy undocumented
	Policy *GovernancePolicy `json:"policy,omitempty"`
	// Settings undocumented
	Settings *BusinessFlowSettings `json:"settings,omitempty"`
}

// GovernanceResource undocumented
type GovernanceResource struct {
	// Entity is the base model of GovernanceResource
	Entity
	// ExternalID undocumented
	ExternalID *string `json:"externalId,omitempty"`
	// Type undocumented
	Type *string `json:"type,omitempty"`
	// DisplayName undocumented
	DisplayName *string `json:"displayName,omitempty"`
	// Status undocumented
	Status *string `json:"status,omitempty"`
	// RegisteredDateTime undocumented
	RegisteredDateTime *time.Time `json:"registeredDateTime,omitempty"`
	// RegisteredRoot undocumented
	RegisteredRoot *string `json:"registeredRoot,omitempty"`
	// Parent undocumented
	Parent *GovernanceResource `json:"parent,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"`
}

// GovernanceRoleAssignment undocumented
type GovernanceRoleAssignment struct {
	// Entity is the base model of GovernanceRoleAssignment
	Entity
	// ResourceID undocumented
	ResourceID *string `json:"resourceId,omitempty"`
	// RoleDefinitionID undocumented
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
	// SubjectID undocumented
	SubjectID *string `json:"subjectId,omitempty"`
	// LinkedEligibleRoleAssignmentID undocumented
	LinkedEligibleRoleAssignmentID *string `json:"linkedEligibleRoleAssignmentId,omitempty"`
	// ExternalID undocumented
	ExternalID *string `json:"externalId,omitempty"`
	// StartDateTime undocumented
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// EndDateTime undocumented
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// MemberType undocumented
	MemberType *string `json:"memberType,omitempty"`
	// AssignmentState undocumented
	AssignmentState *string `json:"assignmentState,omitempty"`
	// Status undocumented
	Status *string `json:"status,omitempty"`
	// Resource undocumented
	Resource *GovernanceResource `json:"resource,omitempty"`
	// RoleDefinition undocumented
	RoleDefinition *GovernanceRoleDefinition `json:"roleDefinition,omitempty"`
	// Subject undocumented
	Subject *GovernanceSubject `json:"subject,omitempty"`
	// LinkedEligibleRoleAssignment undocumented
	LinkedEligibleRoleAssignment *GovernanceRoleAssignment `json:"linkedEligibleRoleAssignment,omitempty"`
}

// GovernanceRoleAssignmentRequestObject undocumented
type GovernanceRoleAssignmentRequestObject struct {
	// Entity is the base model of GovernanceRoleAssignmentRequestObject
	Entity
	// ResourceID undocumented
	ResourceID *string `json:"resourceId,omitempty"`
	// RoleDefinitionID undocumented
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
	// SubjectID undocumented
	SubjectID *string `json:"subjectId,omitempty"`
	// LinkedEligibleRoleAssignmentID undocumented
	LinkedEligibleRoleAssignmentID *string `json:"linkedEligibleRoleAssignmentId,omitempty"`
	// Type undocumented
	Type *string `json:"type,omitempty"`
	// AssignmentState undocumented
	AssignmentState *string `json:"assignmentState,omitempty"`
	// RequestedDateTime undocumented
	RequestedDateTime *time.Time `json:"requestedDateTime,omitempty"`
	// Reason undocumented
	Reason *string `json:"reason,omitempty"`
	// Status undocumented
	Status *GovernanceRoleAssignmentRequestStatus `json:"status,omitempty"`
	// Schedule undocumented
	Schedule *GovernanceSchedule `json:"schedule,omitempty"`
	// Resource undocumented
	Resource *GovernanceResource `json:"resource,omitempty"`
	// RoleDefinition undocumented
	RoleDefinition *GovernanceRoleDefinition `json:"roleDefinition,omitempty"`
	// Subject undocumented
	Subject *GovernanceSubject `json:"subject,omitempty"`
}

// GovernanceRoleAssignmentRequestStatus undocumented
type GovernanceRoleAssignmentRequestStatus struct {
	// Object is the base model of GovernanceRoleAssignmentRequestStatus
	Object
	// Status undocumented
	Status *string `json:"status,omitempty"`
	// SubStatus undocumented
	SubStatus *string `json:"subStatus,omitempty"`
	// StatusDetails undocumented
	StatusDetails []KeyValue `json:"statusDetails,omitempty"`
}

// GovernanceRoleDefinition undocumented
type GovernanceRoleDefinition struct {
	// Entity is the base model of GovernanceRoleDefinition
	Entity
	// ResourceID undocumented
	ResourceID *string `json:"resourceId,omitempty"`
	// ExternalID undocumented
	ExternalID *string `json:"externalId,omitempty"`
	// TemplateID undocumented
	TemplateID *string `json:"templateId,omitempty"`
	// DisplayName undocumented
	DisplayName *string `json:"displayName,omitempty"`
	// Resource undocumented
	Resource *GovernanceResource `json:"resource,omitempty"`
	// RoleSetting undocumented
	RoleSetting *GovernanceRoleSetting `json:"roleSetting,omitempty"`
}

// GovernanceRoleSetting undocumented
type GovernanceRoleSetting struct {
	// Entity is the base model of GovernanceRoleSetting
	Entity
	// ResourceID undocumented
	ResourceID *string `json:"resourceId,omitempty"`
	// RoleDefinitionID undocumented
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
	// IsDefault undocumented
	IsDefault *bool `json:"isDefault,omitempty"`
	// LastUpdatedDateTime undocumented
	LastUpdatedDateTime *time.Time `json:"lastUpdatedDateTime,omitempty"`
	// LastUpdatedBy undocumented
	LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"`
	// AdminEligibleSettings undocumented
	AdminEligibleSettings []GovernanceRuleSetting `json:"adminEligibleSettings,omitempty"`
	// AdminMemberSettings undocumented
	AdminMemberSettings []GovernanceRuleSetting `json:"adminMemberSettings,omitempty"`
	// UserEligibleSettings undocumented
	UserEligibleSettings []GovernanceRuleSetting `json:"userEligibleSettings,omitempty"`
	// UserMemberSettings undocumented
	UserMemberSettings []GovernanceRuleSetting `json:"userMemberSettings,omitempty"`
	// RoleDefinition undocumented
	RoleDefinition *GovernanceRoleDefinition `json:"roleDefinition,omitempty"`
	// Resource undocumented
	Resource *GovernanceResource `json:"resource,omitempty"`
}

// GovernanceRuleSetting undocumented
type GovernanceRuleSetting struct {
	// Object is the base model of GovernanceRuleSetting
	Object
	// RuleIdentifier undocumented
	RuleIdentifier *string `json:"ruleIdentifier,omitempty"`
	// Setting undocumented
	Setting *string `json:"setting,omitempty"`
}

// GovernanceSchedule undocumented
type GovernanceSchedule struct {
	// Object is the base model of GovernanceSchedule
	Object
	// Type undocumented
	Type *string `json:"type,omitempty"`
	// StartDateTime undocumented
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// EndDateTime undocumented
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// Duration undocumented
	Duration *Duration `json:"duration,omitempty"`
}

// GovernanceSubject undocumented
type GovernanceSubject struct {
	// Entity is the base model of GovernanceSubject
	Entity
	// Type undocumented
	Type *string `json:"type,omitempty"`
	// DisplayName undocumented
	DisplayName *string `json:"displayName,omitempty"`
	// PrincipalName undocumented
	PrincipalName *string `json:"principalName,omitempty"`
	// Email undocumented
	Email *string `json:"email,omitempty"`
}