Documentation ¶
Index ¶
- func SetParentName(orig *itemReference, driveName string) *itemReference
- type DriveItem
- func (c *DriveItem) GetAdditionalData() map[string]any
- func (c *DriveItem) GetCreatedBy() *identitySet
- func (c *DriveItem) GetCreatedByUser() *user
- func (c *DriveItem) GetCreatedDateTime() *time.Time
- func (c *DriveItem) GetDeleted() *struct{}
- func (c *DriveItem) GetFile() *fileItem
- func (c *DriveItem) GetFolder() *struct{}
- func (c *DriveItem) GetId() *string
- func (c *DriveItem) GetLastModifiedByUser() *user
- func (c *DriveItem) GetLastModifiedDateTime() *time.Time
- func (c *DriveItem) GetMalware() *malware
- func (c *DriveItem) GetName() *string
- func (c *DriveItem) GetPackageEscaped() *struct{}
- func (c *DriveItem) GetParentReference() *itemReference
- func (c *DriveItem) GetRoot() *struct{}
- func (c *DriveItem) GetShared() *struct{}
- func (c *DriveItem) GetSize() *int64
- func (c *DriveItem) SetParentReference(parent *itemReference)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetParentName ¶
func SetParentName(orig *itemReference, driveName string) *itemReference
Types ¶
type DriveItem ¶
type DriveItem struct {
// contains filtered or unexported fields
}
--------------------------------------------------------------------------- DriveItem ---------------------------------------------------------------------------
func NewDriveItem ¶
func ToCustomDriveItem ¶
func ToCustomDriveItem(item models.DriveItemable) *DriveItem
ToCustomDriveItem converts a DriveItemable to a flattened DriveItem struct that stores only the properties we care about during the backup operation.
func (*DriveItem) GetAdditionalData ¶
func (*DriveItem) GetCreatedBy ¶
func (c *DriveItem) GetCreatedBy() *identitySet
func (*DriveItem) GetCreatedByUser ¶
func (c *DriveItem) GetCreatedByUser() *user
func (*DriveItem) GetCreatedDateTime ¶
func (*DriveItem) GetDeleted ¶
func (c *DriveItem) GetDeleted() *struct{}
func (*DriveItem) GetId ¶
Disable revive linter since we want to follow naming scheme used by graph SDK here. nolint: revive
func (*DriveItem) GetLastModifiedByUser ¶
func (c *DriveItem) GetLastModifiedByUser() *user
func (*DriveItem) GetLastModifiedDateTime ¶
func (*DriveItem) GetMalware ¶
func (c *DriveItem) GetMalware() *malware
func (*DriveItem) GetPackageEscaped ¶
func (c *DriveItem) GetPackageEscaped() *struct{}
func (*DriveItem) GetParentReference ¶
func (c *DriveItem) GetParentReference() *itemReference
func (*DriveItem) SetParentReference ¶
func (c *DriveItem) SetParentReference(parent *itemReference)
Click to show internal directories.
Click to hide internal directories.