/
ModelAdmin.go
47 lines (40 loc) · 1.38 KB
/
ModelAdmin.go
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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
// Admin undocumented
type Admin struct {
// Object is the base model of Admin
Object
ODataType string `json:"@odata.type,omitempty"`
// ServiceAnnouncement undocumented
ServiceAnnouncement *ServiceAnnouncement `json:"serviceAnnouncement,omitempty"`
}
func NewAdmin() (*Admin, error) {
newAdmin := &Admin{
ODataType: "#microsoft.graph.Admin",
}
return newAdmin, nil
}
// AdminConsentRequestPolicy undocumented
type AdminConsentRequestPolicy struct {
// Entity is the base model of AdminConsentRequestPolicy
Entity
ODataType string `json:"@odata.type,omitempty"`
// IsEnabled undocumented
IsEnabled *bool `json:"isEnabled,omitempty"`
// NotifyReviewers undocumented
NotifyReviewers *bool `json:"notifyReviewers,omitempty"`
// RemindersEnabled undocumented
RemindersEnabled *bool `json:"remindersEnabled,omitempty"`
// RequestDurationInDays undocumented
RequestDurationInDays *int `json:"requestDurationInDays,omitempty"`
// Reviewers undocumented
Reviewers []AccessReviewReviewerScope `json:"reviewers,omitempty"`
// Version undocumented
Version *int `json:"version,omitempty"`
}
func NewAdminConsentRequestPolicy() (*AdminConsentRequestPolicy, error) {
newAdminConsentRequestPolicy := &AdminConsentRequestPolicy{
ODataType: "#microsoft.graph.AdminConsentRequestPolicy",
}
return newAdminConsentRequestPolicy, nil
}