Skip to content

Commit c355153

Browse files
committed
fix: fix requestCancellation in net standard (box/box-codegen#877)
1 parent 0eb6765 commit c355153

File tree

4 files changed

+13
-20
lines changed

4 files changed

+13
-20
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "8cdcb1b", "specHash": "1715587", "version": "5.0.0" }
1+
{ "engineHash": "7c94f4f", "specHash": "1715587", "version": "5.0.0" }

docs/sdkgen/users.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ Returns the updated user object.
196196

197197
## Delete user
198198

199-
Deletes a user. By default, this operation fails if the user
200-
still owns any content, was recently active, or recently joined the enterprise from a free account.
201-
To proceed, move their owned content first, or use the `force` parameter to delete
199+
Deletes a user. By default this will fail if the user
200+
still owns any content. Move their owned content first
201+
before proceeding, or use the `force` field to delete
202202
the user and their files.
203203

204204
This operation is performed by calling function `deleteUserById`.

src/main/java/com/box/sdkgen/managers/users/DeleteUserByIdQueryParams.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ public class DeleteUserByIdQueryParams {
55
/** Whether the user will receive email notification of the deletion. */
66
public Boolean notify;
77

8-
/**
9-
* Specifies whether to delete the user even if they still own files, were recently active, or
10-
* recently joined the enterprise from a free account.
11-
*/
8+
/** Whether the user should be deleted even if this user still own files. */
129
public Boolean force;
1310

1411
public DeleteUserByIdQueryParams() {}

src/main/java/com/box/sdkgen/managers/users/UsersManager.java

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,8 @@ public UserFull updateUserById(
477477
}
478478

479479
/**
480-
* Deletes a user. By default, this operation fails if the user still owns any content, was
481-
* recently active, or recently joined the enterprise from a free account. To proceed, move their
482-
* owned content first, or use the `force` parameter to delete the user and their files.
480+
* Deletes a user. By default this will fail if the user still owns any content. Move their owned
481+
* content first before proceeding, or use the `force` field to delete the user and their files.
483482
*
484483
* @param userId The ID of the user. Example: "12345"
485484
*/
@@ -488,9 +487,8 @@ public void deleteUserById(String userId) {
488487
}
489488

490489
/**
491-
* Deletes a user. By default, this operation fails if the user still owns any content, was
492-
* recently active, or recently joined the enterprise from a free account. To proceed, move their
493-
* owned content first, or use the `force` parameter to delete the user and their files.
490+
* Deletes a user. By default this will fail if the user still owns any content. Move their owned
491+
* content first before proceeding, or use the `force` field to delete the user and their files.
494492
*
495493
* @param userId The ID of the user. Example: "12345"
496494
* @param queryParams Query parameters of deleteUserById method
@@ -500,9 +498,8 @@ public void deleteUserById(String userId, DeleteUserByIdQueryParams queryParams)
500498
}
501499

502500
/**
503-
* Deletes a user. By default, this operation fails if the user still owns any content, was
504-
* recently active, or recently joined the enterprise from a free account. To proceed, move their
505-
* owned content first, or use the `force` parameter to delete the user and their files.
501+
* Deletes a user. By default this will fail if the user still owns any content. Move their owned
502+
* content first before proceeding, or use the `force` field to delete the user and their files.
506503
*
507504
* @param userId The ID of the user. Example: "12345"
508505
* @param headers Headers of deleteUserById method
@@ -512,9 +509,8 @@ public void deleteUserById(String userId, DeleteUserByIdHeaders headers) {
512509
}
513510

514511
/**
515-
* Deletes a user. By default, this operation fails if the user still owns any content, was
516-
* recently active, or recently joined the enterprise from a free account. To proceed, move their
517-
* owned content first, or use the `force` parameter to delete the user and their files.
512+
* Deletes a user. By default this will fail if the user still owns any content. Move their owned
513+
* content first before proceeding, or use the `force` field to delete the user and their files.
518514
*
519515
* @param userId The ID of the user. Example: "12345"
520516
* @param queryParams Query parameters of deleteUserById method

0 commit comments

Comments
 (0)