github.com/yaegashi/msgraph.go@v0.1.4/v1.0/ModelPermission.go (about)

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