github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelPermission.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 import "time" 6 7 // Permission undocumented 8 type Permission struct { 9 // Entity is the base model of Permission 10 Entity 11 // ExpirationDateTime undocumented 12 ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"` 13 // GrantedTo undocumented 14 GrantedTo *IdentitySet `json:"grantedTo,omitempty"` 15 // GrantedToIdentities undocumented 16 GrantedToIdentities []IdentitySet `json:"grantedToIdentities,omitempty"` 17 // HasPassword undocumented 18 HasPassword *bool `json:"hasPassword,omitempty"` 19 // InheritedFrom undocumented 20 InheritedFrom *ItemReference `json:"inheritedFrom,omitempty"` 21 // Invitation undocumented 22 Invitation *SharingInvitation `json:"invitation,omitempty"` 23 // Link undocumented 24 Link *SharingLink `json:"link,omitempty"` 25 // Roles undocumented 26 Roles []string `json:"roles,omitempty"` 27 // ShareID undocumented 28 ShareID *string `json:"shareId,omitempty"` 29 } 30 31 // PermissionScope undocumented 32 type PermissionScope struct { 33 // Object is the base model of PermissionScope 34 Object 35 // AdminConsentDescription undocumented 36 AdminConsentDescription *string `json:"adminConsentDescription,omitempty"` 37 // AdminConsentDisplayName undocumented 38 AdminConsentDisplayName *string `json:"adminConsentDisplayName,omitempty"` 39 // ID undocumented 40 ID *UUID `json:"id,omitempty"` 41 // IsEnabled undocumented 42 IsEnabled *bool `json:"isEnabled,omitempty"` 43 // Origin undocumented 44 Origin *string `json:"origin,omitempty"` 45 // Type undocumented 46 Type *string `json:"type,omitempty"` 47 // UserConsentDescription undocumented 48 UserConsentDescription *string `json:"userConsentDescription,omitempty"` 49 // UserConsentDisplayName undocumented 50 UserConsentDisplayName *string `json:"userConsentDisplayName,omitempty"` 51 // Value undocumented 52 Value *string `json:"value,omitempty"` 53 }