Skip to content

Commit

Permalink
fix: add user_id only to PUT file, folder, weblink (box/box-openapi#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build committed Dec 9, 2024
1 parent b1d3af0 commit a21caaf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "5604447", "specHash": "b2a3e3b", "version": "1.5.0" }
{ "engineHash": "5604447", "specHash": "c9d7bb5", "version": "1.5.0" }
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class UpdateFileByIdRequestBodyParentField : ISerializable {
public string? Id { get; init; }

/// <summary>
/// The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided.
/// The input for `user_id` is optional. Moving to non-root folder is not allowed when `user_id` is present. Parent folder id should be zero when `user_id` is provided.
/// </summary>
[JsonPropertyName("user_id")]
public string? UserId { get; init; }
Expand Down
4 changes: 0 additions & 4 deletions Box.Sdk.Gen/Managers/Folders/UpdateFolderByIdRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ public class UpdateFolderByIdRequestBody : ISerializable {
[JsonPropertyName("can_non_owners_invite")]
public bool? CanNonOwnersInvite { get; init; }

/// <summary>
/// The parent folder for this folder. Use this to move
/// the folder or to restore it out of the trash.
/// </summary>
[JsonPropertyName("parent")]
public UpdateFolderByIdRequestBodyParentField? Parent { get; init; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
namespace Box.Sdk.Gen.Managers {
public class UpdateFolderByIdRequestBodyParentField : ISerializable {
/// <summary>
/// The ID of the new parent folder
/// The ID of parent item
/// </summary>
[JsonPropertyName("id")]
public string? Id { get; init; }

/// <summary>
/// The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided.
/// The input for `user_id` is optional. Moving to non-root folder is not allowed when `user_id` is present. Parent folder id should be zero when `user_id` is provided.
/// </summary>
[JsonPropertyName("user_id")]
public string? UserId { get; init; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class UpdateWebLinkByIdRequestBodyParentField : ISerializable {
public string? Id { get; init; }

/// <summary>
/// The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided.
/// The input for `user_id` is optional. Moving to non-root folder is not allowed when `user_id` is present. Parent folder id should be zero when `user_id` is provided.
/// </summary>
[JsonPropertyName("user_id")]
public string? UserId { get; init; }
Expand Down

0 comments on commit a21caaf

Please sign in to comment.