Azure.Connectors.Sdk.OneDrive.Models Namespace

Classes

Name Description
BlobMetadata

Response for Get file metadata

BlobMetadataPage

Response for List files in folder

OneDriveModelFactory

Model factory for creating instances of OneDrive models. Use these factory methods to construct model instances in tests and scenarios where output-only properties (with init-only setters) need to be populated.

OneDriveOnDeletedFilesTriggerPayload

Typed trigger payload for the OnDeletedFiles trigger (OneDrive "When a file is deleted (properties only)", operationId: OnDeletedFiles). Deserialize Connector Namespace callbacks directly: JsonSerializer.Deserialize<OneDriveOnDeletedFilesTriggerPayload>(body).

OneDriveOnNewFilesTriggerPayload

Typed trigger payload for the OnNewFiles trigger (OneDrive "When a file is created (properties only)", operationId: OnNewFilesV2). Deserialize Connector Namespace callbacks directly: JsonSerializer.Deserialize<OneDriveOnNewFilesTriggerPayload>(body).

OneDriveOnUpdatedFilesTriggerPayload

Typed trigger payload for the OnUpdatedFiles trigger (OneDrive "When a file is modified (properties only)", operationId: OnUpdatedFilesV2). Deserialize Connector Namespace callbacks directly: JsonSerializer.Deserialize<OneDriveOnUpdatedFilesTriggerPayload>(body).

OneDriveTriggers

Static registry of trigger operations for the OneDrive connector that have typed payloads. Maps operation names to their typed TriggerCallbackPayload<T> subtypes. Triggers that return binary content (e.g., file downloads) are not included here because they have no JSON-deserializable payload type. See OneDriveTriggerOperations for the complete list of trigger operation name constants.

SharingLink

Response for Create share link

Tags

Response for Get file tags

Thumbnail

Response for Get file thumbnail