summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ModelPermission.go
blob: 1d0899afc3e599a2b5e89f66508f37e62ac3cfaa (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
// Code generated by msgraph-generate.go DO NOT EDIT.

package msgraph

import "time"

// Permission undocumented
type Permission struct {
	// Entity is the base model of Permission
	Entity
	// ExpirationDateTime undocumented
	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
	// GrantedTo undocumented
	GrantedTo *IdentitySet `json:"grantedTo,omitempty"`
	// GrantedToIdentities undocumented
	GrantedToIdentities []IdentitySet `json:"grantedToIdentities,omitempty"`
	// HasPassword undocumented
	HasPassword *bool `json:"hasPassword,omitempty"`
	// InheritedFrom undocumented
	InheritedFrom *ItemReference `json:"inheritedFrom,omitempty"`
	// Invitation undocumented
	Invitation *SharingInvitation `json:"invitation,omitempty"`
	// Link undocumented
	Link *SharingLink `json:"link,omitempty"`
	// Roles undocumented
	Roles []string `json:"roles,omitempty"`
	// ShareID undocumented
	ShareID *string `json:"shareId,omitempty"`
}

// PermissionScope undocumented
type PermissionScope struct {
	// Object is the base model of PermissionScope
	Object
	// AdminConsentDescription undocumented
	AdminConsentDescription *string `json:"adminConsentDescription,omitempty"`
	// AdminConsentDisplayName undocumented
	AdminConsentDisplayName *string `json:"adminConsentDisplayName,omitempty"`
	// ID undocumented
	ID *UUID `json:"id,omitempty"`
	// IsEnabled undocumented
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// Origin undocumented
	Origin *string `json:"origin,omitempty"`
	// Type undocumented
	Type *string `json:"type,omitempty"`
	// UserConsentDescription undocumented
	UserConsentDescription *string `json:"userConsentDescription,omitempty"`
	// UserConsentDisplayName undocumented
	UserConsentDisplayName *string `json:"userConsentDisplayName,omitempty"`
	// Value undocumented
	Value *string `json:"value,omitempty"`
}