Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | Read-only. | [optional] [readonly] |
CreatedBy | Pointer to IdentitySet | [optional] | |
CreatedDateTime | Pointer to time.Time | Date and time of item creation. Read-only. | [optional] [readonly] |
Description | Pointer to string | Provides a user-visible description of the item. Optional. | [optional] |
ETag | Pointer to string | ETag for the item. Read-only. | [optional] [readonly] |
LastModifiedBy | Pointer to IdentitySet | [optional] | |
LastModifiedDateTime | Pointer to time.Time | Date and time the item was last modified. Read-only. | [optional] [readonly] |
Name | Pointer to string | The name of the item. Read-write. | [optional] |
ParentReference | Pointer to ItemReference | [optional] | |
WebUrl | Pointer to string | URL that displays the resource in the browser. Read-only. | [optional] [readonly] |
Content | Pointer to string | The content stream, if the item represents a file. | [optional] |
CTag | Pointer to string | An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. | [optional] [readonly] |
Deleted | Pointer to Deleted | [optional] | |
File | Pointer to OpenGraphFile | [optional] | |
FileSystemInfo | Pointer to FileSystemInfo | [optional] | |
Folder | Pointer to Folder | [optional] | |
Image | Pointer to Image | [optional] | |
Photo | Pointer to Photo | [optional] | |
Location | Pointer to GeoCoordinates | [optional] | |
Thumbnails | Pointer to []ThumbnailSet | Collection containing ThumbnailSet objects associated with the item. Read-only. Nullable. | [optional] |
Root | Pointer to map[string]interface{} | If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. | [optional] |
Trash | Pointer to Trash | [optional] | |
SpecialFolder | Pointer to SpecialFolder | [optional] | |
RemoteItem | Pointer to RemoteItem | [optional] | |
Size | Pointer to int64 | Size of the item in bytes. Read-only. | [optional] [readonly] |
WebDavUrl | Pointer to string | WebDAV compatible URL for the item. Read-only. | [optional] [readonly] |
Children | Pointer to []DriveItem | Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. | [optional] [readonly] |
Permissions | Pointer to []Permission | The set of permissions for the item. Read-only. Nullable. | [optional] [readonly] |
Audio | Pointer to Audio | [optional] | |
Video | Pointer to Video | [optional] | |
ClientSynchronize | Pointer to bool | Indicates if the item is synchronized with the underlying storage provider. Read-only. | [optional] |
UIHidden | Pointer to bool | Properties or facets (see UI.Facet) annotated with this term will not be rendered if the annotation evaluates to true. Users can set this to hide permissions. | [optional] |
func NewDriveItem() *DriveItem
NewDriveItem instantiates a new DriveItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDriveItemWithDefaults() *DriveItem
NewDriveItemWithDefaults instantiates a new DriveItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *DriveItem) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *DriveItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetId(v string)
SetId sets Id field to given value.
func (o *DriveItem) HasId() bool
HasId returns a boolean if a field has been set.
func (o *DriveItem) GetCreatedBy() IdentitySet
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *DriveItem) GetCreatedByOk() (*IdentitySet, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetCreatedBy(v IdentitySet)
SetCreatedBy sets CreatedBy field to given value.
func (o *DriveItem) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *DriveItem) GetCreatedDateTime() time.Time
GetCreatedDateTime returns the CreatedDateTime field if non-nil, zero value otherwise.
func (o *DriveItem) GetCreatedDateTimeOk() (*time.Time, bool)
GetCreatedDateTimeOk returns a tuple with the CreatedDateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetCreatedDateTime(v time.Time)
SetCreatedDateTime sets CreatedDateTime field to given value.
func (o *DriveItem) HasCreatedDateTime() bool
HasCreatedDateTime returns a boolean if a field has been set.
func (o *DriveItem) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *DriveItem) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *DriveItem) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *DriveItem) GetETag() string
GetETag returns the ETag field if non-nil, zero value otherwise.
func (o *DriveItem) GetETagOk() (*string, bool)
GetETagOk returns a tuple with the ETag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetETag(v string)
SetETag sets ETag field to given value.
func (o *DriveItem) HasETag() bool
HasETag returns a boolean if a field has been set.
func (o *DriveItem) GetLastModifiedBy() IdentitySet
GetLastModifiedBy returns the LastModifiedBy field if non-nil, zero value otherwise.
func (o *DriveItem) GetLastModifiedByOk() (*IdentitySet, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetLastModifiedBy(v IdentitySet)
SetLastModifiedBy sets LastModifiedBy field to given value.
func (o *DriveItem) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (o *DriveItem) GetLastModifiedDateTime() time.Time
GetLastModifiedDateTime returns the LastModifiedDateTime field if non-nil, zero value otherwise.
func (o *DriveItem) GetLastModifiedDateTimeOk() (*time.Time, bool)
GetLastModifiedDateTimeOk returns a tuple with the LastModifiedDateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetLastModifiedDateTime(v time.Time)
SetLastModifiedDateTime sets LastModifiedDateTime field to given value.
func (o *DriveItem) HasLastModifiedDateTime() bool
HasLastModifiedDateTime returns a boolean if a field has been set.
func (o *DriveItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *DriveItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetName(v string)
SetName sets Name field to given value.
func (o *DriveItem) HasName() bool
HasName returns a boolean if a field has been set.
func (o *DriveItem) GetParentReference() ItemReference
GetParentReference returns the ParentReference field if non-nil, zero value otherwise.
func (o *DriveItem) GetParentReferenceOk() (*ItemReference, bool)
GetParentReferenceOk returns a tuple with the ParentReference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetParentReference(v ItemReference)
SetParentReference sets ParentReference field to given value.
func (o *DriveItem) HasParentReference() bool
HasParentReference returns a boolean if a field has been set.
func (o *DriveItem) GetWebUrl() string
GetWebUrl returns the WebUrl field if non-nil, zero value otherwise.
func (o *DriveItem) GetWebUrlOk() (*string, bool)
GetWebUrlOk returns a tuple with the WebUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetWebUrl(v string)
SetWebUrl sets WebUrl field to given value.
func (o *DriveItem) HasWebUrl() bool
HasWebUrl returns a boolean if a field has been set.
func (o *DriveItem) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
func (o *DriveItem) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetContent(v string)
SetContent sets Content field to given value.
func (o *DriveItem) HasContent() bool
HasContent returns a boolean if a field has been set.
func (o *DriveItem) GetCTag() string
GetCTag returns the CTag field if non-nil, zero value otherwise.
func (o *DriveItem) GetCTagOk() (*string, bool)
GetCTagOk returns a tuple with the CTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetCTag(v string)
SetCTag sets CTag field to given value.
func (o *DriveItem) HasCTag() bool
HasCTag returns a boolean if a field has been set.
func (o *DriveItem) GetDeleted() Deleted
GetDeleted returns the Deleted field if non-nil, zero value otherwise.
func (o *DriveItem) GetDeletedOk() (*Deleted, bool)
GetDeletedOk returns a tuple with the Deleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetDeleted(v Deleted)
SetDeleted sets Deleted field to given value.
func (o *DriveItem) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (o *DriveItem) GetFile() OpenGraphFile
GetFile returns the File field if non-nil, zero value otherwise.
func (o *DriveItem) GetFileOk() (*OpenGraphFile, bool)
GetFileOk returns a tuple with the File field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetFile(v OpenGraphFile)
SetFile sets File field to given value.
func (o *DriveItem) HasFile() bool
HasFile returns a boolean if a field has been set.
func (o *DriveItem) GetFileSystemInfo() FileSystemInfo
GetFileSystemInfo returns the FileSystemInfo field if non-nil, zero value otherwise.
func (o *DriveItem) GetFileSystemInfoOk() (*FileSystemInfo, bool)
GetFileSystemInfoOk returns a tuple with the FileSystemInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetFileSystemInfo(v FileSystemInfo)
SetFileSystemInfo sets FileSystemInfo field to given value.
func (o *DriveItem) HasFileSystemInfo() bool
HasFileSystemInfo returns a boolean if a field has been set.
func (o *DriveItem) GetFolder() Folder
GetFolder returns the Folder field if non-nil, zero value otherwise.
func (o *DriveItem) GetFolderOk() (*Folder, bool)
GetFolderOk returns a tuple with the Folder field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetFolder(v Folder)
SetFolder sets Folder field to given value.
func (o *DriveItem) HasFolder() bool
HasFolder returns a boolean if a field has been set.
func (o *DriveItem) GetImage() Image
GetImage returns the Image field if non-nil, zero value otherwise.
func (o *DriveItem) GetImageOk() (*Image, bool)
GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetImage(v Image)
SetImage sets Image field to given value.
func (o *DriveItem) HasImage() bool
HasImage returns a boolean if a field has been set.
func (o *DriveItem) GetPhoto() Photo
GetPhoto returns the Photo field if non-nil, zero value otherwise.
func (o *DriveItem) GetPhotoOk() (*Photo, bool)
GetPhotoOk returns a tuple with the Photo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetPhoto(v Photo)
SetPhoto sets Photo field to given value.
func (o *DriveItem) HasPhoto() bool
HasPhoto returns a boolean if a field has been set.
func (o *DriveItem) GetLocation() GeoCoordinates
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *DriveItem) GetLocationOk() (*GeoCoordinates, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetLocation(v GeoCoordinates)
SetLocation sets Location field to given value.
func (o *DriveItem) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *DriveItem) GetThumbnails() []ThumbnailSet
GetThumbnails returns the Thumbnails field if non-nil, zero value otherwise.
func (o *DriveItem) GetThumbnailsOk() (*[]ThumbnailSet, bool)
GetThumbnailsOk returns a tuple with the Thumbnails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetThumbnails(v []ThumbnailSet)
SetThumbnails sets Thumbnails field to given value.
func (o *DriveItem) HasThumbnails() bool
HasThumbnails returns a boolean if a field has been set.
func (o *DriveItem) GetRoot() map[string]interface{}
GetRoot returns the Root field if non-nil, zero value otherwise.
func (o *DriveItem) GetRootOk() (*map[string]interface{}, bool)
GetRootOk returns a tuple with the Root field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetRoot(v map[string]interface{})
SetRoot sets Root field to given value.
func (o *DriveItem) HasRoot() bool
HasRoot returns a boolean if a field has been set.
func (o *DriveItem) GetTrash() Trash
GetTrash returns the Trash field if non-nil, zero value otherwise.
func (o *DriveItem) GetTrashOk() (*Trash, bool)
GetTrashOk returns a tuple with the Trash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetTrash(v Trash)
SetTrash sets Trash field to given value.
func (o *DriveItem) HasTrash() bool
HasTrash returns a boolean if a field has been set.
func (o *DriveItem) GetSpecialFolder() SpecialFolder
GetSpecialFolder returns the SpecialFolder field if non-nil, zero value otherwise.
func (o *DriveItem) GetSpecialFolderOk() (*SpecialFolder, bool)
GetSpecialFolderOk returns a tuple with the SpecialFolder field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetSpecialFolder(v SpecialFolder)
SetSpecialFolder sets SpecialFolder field to given value.
func (o *DriveItem) HasSpecialFolder() bool
HasSpecialFolder returns a boolean if a field has been set.
func (o *DriveItem) GetRemoteItem() RemoteItem
GetRemoteItem returns the RemoteItem field if non-nil, zero value otherwise.
func (o *DriveItem) GetRemoteItemOk() (*RemoteItem, bool)
GetRemoteItemOk returns a tuple with the RemoteItem field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetRemoteItem(v RemoteItem)
SetRemoteItem sets RemoteItem field to given value.
func (o *DriveItem) HasRemoteItem() bool
HasRemoteItem returns a boolean if a field has been set.
func (o *DriveItem) GetSize() int64
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *DriveItem) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetSize(v int64)
SetSize sets Size field to given value.
func (o *DriveItem) HasSize() bool
HasSize returns a boolean if a field has been set.
func (o *DriveItem) GetWebDavUrl() string
GetWebDavUrl returns the WebDavUrl field if non-nil, zero value otherwise.
func (o *DriveItem) GetWebDavUrlOk() (*string, bool)
GetWebDavUrlOk returns a tuple with the WebDavUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetWebDavUrl(v string)
SetWebDavUrl sets WebDavUrl field to given value.
func (o *DriveItem) HasWebDavUrl() bool
HasWebDavUrl returns a boolean if a field has been set.
func (o *DriveItem) GetChildren() []DriveItem
GetChildren returns the Children field if non-nil, zero value otherwise.
func (o *DriveItem) GetChildrenOk() (*[]DriveItem, bool)
GetChildrenOk returns a tuple with the Children field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetChildren(v []DriveItem)
SetChildren sets Children field to given value.
func (o *DriveItem) HasChildren() bool
HasChildren returns a boolean if a field has been set.
func (o *DriveItem) GetPermissions() []Permission
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *DriveItem) GetPermissionsOk() (*[]Permission, bool)
GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetPermissions(v []Permission)
SetPermissions sets Permissions field to given value.
func (o *DriveItem) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (o *DriveItem) GetAudio() Audio
GetAudio returns the Audio field if non-nil, zero value otherwise.
func (o *DriveItem) GetAudioOk() (*Audio, bool)
GetAudioOk returns a tuple with the Audio field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetAudio(v Audio)
SetAudio sets Audio field to given value.
func (o *DriveItem) HasAudio() bool
HasAudio returns a boolean if a field has been set.
func (o *DriveItem) GetVideo() Video
GetVideo returns the Video field if non-nil, zero value otherwise.
func (o *DriveItem) GetVideoOk() (*Video, bool)
GetVideoOk returns a tuple with the Video field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetVideo(v Video)
SetVideo sets Video field to given value.
func (o *DriveItem) HasVideo() bool
HasVideo returns a boolean if a field has been set.
func (o *DriveItem) GetClientSynchronize() bool
GetClientSynchronize returns the ClientSynchronize field if non-nil, zero value otherwise.
func (o *DriveItem) GetClientSynchronizeOk() (*bool, bool)
GetClientSynchronizeOk returns a tuple with the ClientSynchronize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DriveItem) SetClientSynchronize(v bool)
SetClientSynchronize sets ClientSynchronize field to given value.
func (o *DriveItem) HasClientSynchronize() bool
HasClientSynchronize returns a boolean if a field has been set.
GetUIHidden
func (o *DriveItem) GetUIHidden() bool
GetUIHidden returns the UIHidden field if non-nil, zero value otherwise.
GetUIHiddenOk
func (o *DriveItem) GetUIHiddenOk() (*bool, bool)
GetUIHiddenOk returns a tuple with the UIHidden field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUIHidden
func (o *DriveItem) SetUIHidden(v bool)
SetUIHidden sets UIHidden field to given value.
HasUIHidden
func (o *DriveItem) HasUIHidden() bool
HasUIHidden returns a boolean if a field has been set.