Class DriveItem
Represents a DriveItem in Microsoft Graph.
ParentPath or similar field usage
citation
stable chunk id
File move information (delta)
Inherited Members
Namespace: Glitch9.AIDevKit.Microsoft.Graph
Assembly: Glitch9.AIDevKit.Provider.Microsoft.Graph.dll
Syntax
public sealed class DriveItem
Fields
| Edit this page View SourceParentReference
Reference to the parent item.
Declaration
[JsonProperty("parentReference")]
public ItemReference ParentReference
Field Value
| Type | Description |
|---|---|
| ItemReference |
Properties
| Edit this page View SourceDeleted
Information about the deletion state of the item.
Declaration
[JsonProperty("deleted")]
public DeletedFacet Deleted { get; set; }
Property Value
| Type | Description |
|---|---|
| DeletedFacet |
File
File facet information if the item is a file.
Declaration
[JsonProperty("file")]
public FileFacet File { get; set; }
Property Value
| Type | Description |
|---|---|
| FileFacet |
Folder
Folder facet information if the item is a folder.
Declaration
[JsonProperty("folder")]
public FolderFacet Folder { get; set; }
Property Value
| Type | Description |
|---|---|
| FolderFacet |
Id
The unique identifier of the item.
Declaration
[JsonProperty("id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LastModifiedBy
Information about the last identity that modified the item.
Declaration
[JsonProperty("lastModifiedBy")]
public IdentitySet LastModifiedBy { get; set; }
Property Value
| Type | Description |
|---|---|
| IdentitySet |
LastModifiedDateTime
The date and time the item was last modified.
Declaration
[JsonProperty("lastModifiedDateTime")]
public DateTimeOffset? LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
Name
The name of the item.
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ParentPath
The parent path of the item. Example: root:/xxx/yyy (citation, chunk id)
Declaration
[JsonProperty("parentPath")]
public string ParentPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Size
The size of the item in bytes.
Declaration
[JsonProperty("size")]
public long? Size { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
WebUrl
The web URL to access the item in a browser.
Declaration
[JsonProperty("webUrl")]
public string WebUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |