Class UploadKeyReservation
Represents the reservation of an idempotency key of a user for an upload in an IUploadStore, which ReserveKeyAsync(string, string, string, CancellationToken) returns.
Namespace: Singulink.Net.Http.Api.Service.Uploads
Assembly: Singulink.Net.Http.Api.Service.dll
Syntax
public sealed class UploadKeyReservation
Constructors
| Name | Description |
|---|---|
| UploadKeyReservation(string, DateTime) | Initializes a new instance of the UploadKeyReservation class. |
Properties
| Name | Description |
|---|---|
| ReservedUtc | Gets the time the key was reserved, in UTC. |
| UploadId | Gets the ID of the upload that the key is reserved for, which may not be created yet. |