Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/libs/Vercel/Generated/Vercel.Models.Drive.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ public sealed partial class Drive
[global::System.Text.Json.Serialization.JsonRequired]
public required string Name { get; set; }

/// <summary>
/// The ID of the source drive when this drive is a fork.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("parentDriveId")]
public string? ParentDriveId { get; set; }

/// <summary>
/// The project that owns the drive.<br/>
/// Example: prj_abc123
Expand All @@ -78,6 +84,12 @@ public sealed partial class Drive
[global::System.Text.Json.Serialization.JsonRequired]
public required string Region { get; set; }

/// <summary>
/// The ID of the original drive at the root of this fork.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("rootDriveId")]
public string? RootDriveId { get; set; }

/// <summary>
/// The last time the drive was updated, in milliseconds since the epoch.<br/>
/// Example: 1750344501629L
Expand Down Expand Up @@ -138,6 +150,12 @@ public sealed partial class Drive
/// Current session ID the drive is attached to, if any.<br/>
/// Example: sbx_123
/// </param>
/// <param name="parentDriveId">
/// The ID of the source drive when this drive is a fork.
/// </param>
/// <param name="rootDriveId">
/// The ID of the original drive at the root of this fork.
/// </param>
/// <param name="v0">
/// Whether this drive is managed by v0 on the customer's behalf.
/// </param>
Expand All @@ -154,6 +172,8 @@ public Drive(
double updatedAt,
string? currentSandboxName,
string? currentSessionId,
string? parentDriveId,
string? rootDriveId,
bool? v0)
{
this.CreatedAt = createdAt;
Expand All @@ -162,8 +182,10 @@ public Drive(
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.MaxSizeBytes = maxSizeBytes;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.ParentDriveId = parentDriveId;
this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId));
this.Region = region ?? throw new global::System.ArgumentNullException(nameof(region));
this.RootDriveId = rootDriveId;
this.UpdatedAt = updatedAt;
this.V0 = v0;
}
Expand Down
8 changes: 8 additions & 0 deletions src/libs/Vercel/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104193,6 +104193,10 @@
"description": "The unique drive name within the project.",
"example": "workspace"
},
"parentDriveId": {
"type": "string",
"description": "The ID of the source drive when this drive is a fork."
},
"projectId": {
"type": "string",
"description": "The project that owns the drive.",
Expand All @@ -104203,6 +104207,10 @@
"description": "The region where the drive is stored.",
"example": "iad1"
},
"rootDriveId": {
"type": "string",
"description": "The ID of the original drive at the root of this fork."
},
"updatedAt": {
"type": "number",
"description": "The last time the drive was updated, in milliseconds since the epoch.",
Expand Down
Loading