diff --git a/.codegen.json b/.codegen.json index f40f433e..16999967 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "5604447", "specHash": "d7dfe68", "version": "1.5.0" } +{ "engineHash": "5604447", "specHash": "c9d7bb5", "version": "1.5.0" } diff --git a/Box.Sdk.Gen/Managers/Files/UpdateFileByIdRequestBodyParentField.cs b/Box.Sdk.Gen/Managers/Files/UpdateFileByIdRequestBodyParentField.cs index 4e985540..f8ad9223 100644 --- a/Box.Sdk.Gen/Managers/Files/UpdateFileByIdRequestBodyParentField.cs +++ b/Box.Sdk.Gen/Managers/Files/UpdateFileByIdRequestBodyParentField.cs @@ -14,6 +14,12 @@ public class UpdateFileByIdRequestBodyParentField : ISerializable { [JsonPropertyName("id")] public string? Id { get; init; } + /// + /// 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. + /// + [JsonPropertyName("user_id")] + public string? UserId { get; init; } + public UpdateFileByIdRequestBodyParentField() { } diff --git a/Box.Sdk.Gen/Managers/Folders/UpdateFolderByIdRequestBody.cs b/Box.Sdk.Gen/Managers/Folders/UpdateFolderByIdRequestBody.cs index 6095f369..54f6fb86 100644 --- a/Box.Sdk.Gen/Managers/Folders/UpdateFolderByIdRequestBody.cs +++ b/Box.Sdk.Gen/Managers/Folders/UpdateFolderByIdRequestBody.cs @@ -48,10 +48,6 @@ public class UpdateFolderByIdRequestBody : ISerializable { [JsonPropertyName("can_non_owners_invite")] public bool? CanNonOwnersInvite { get; init; } - /// - /// The parent folder for this folder. Use this to move - /// the folder or to restore it out of the trash. - /// [JsonPropertyName("parent")] public UpdateFolderByIdRequestBodyParentField? Parent { get; init; } diff --git a/Box.Sdk.Gen/Managers/Folders/UpdateFolderByIdRequestBodyParentField.cs b/Box.Sdk.Gen/Managers/Folders/UpdateFolderByIdRequestBodyParentField.cs index d71526cb..bbb912b3 100644 --- a/Box.Sdk.Gen/Managers/Folders/UpdateFolderByIdRequestBodyParentField.cs +++ b/Box.Sdk.Gen/Managers/Folders/UpdateFolderByIdRequestBodyParentField.cs @@ -9,11 +9,17 @@ namespace Box.Sdk.Gen.Managers { public class UpdateFolderByIdRequestBodyParentField : ISerializable { /// - /// The ID of the new parent folder + /// The ID of parent item /// [JsonPropertyName("id")] public string? Id { get; init; } + /// + /// 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. + /// + [JsonPropertyName("user_id")] + public string? UserId { get; init; } + public UpdateFolderByIdRequestBodyParentField() { } diff --git a/Box.Sdk.Gen/Managers/WebLinks/UpdateWebLinkByIdRequestBodyParentField.cs b/Box.Sdk.Gen/Managers/WebLinks/UpdateWebLinkByIdRequestBodyParentField.cs index dafae991..d3ecf31c 100644 --- a/Box.Sdk.Gen/Managers/WebLinks/UpdateWebLinkByIdRequestBodyParentField.cs +++ b/Box.Sdk.Gen/Managers/WebLinks/UpdateWebLinkByIdRequestBodyParentField.cs @@ -13,6 +13,12 @@ public class UpdateWebLinkByIdRequestBodyParentField : ISerializable { [JsonPropertyName("id")] public string? Id { get; init; } + /// + /// 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. + /// + [JsonPropertyName("user_id")] + public string? UserId { get; init; } + public UpdateWebLinkByIdRequestBodyParentField() { }