Skip to content

Commit

Permalink
feat: Add is_active parameter to user collaboration (box/box-openap…
Browse files Browse the repository at this point in the history
…i#437) (#181)

Co-authored-by: box-sdk-build <[email protected]>
  • Loading branch information
box-sdk-build and box-sdk-build authored Jul 18, 2024
1 parent 9bcaf51 commit ec5f2d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "89557a9", "specHash": "e95d6fa", "version": "0.4.0" }
{ "engineHash": "25c4224", "specHash": "137da0d", "version": "0.4.0" }
6 changes: 6 additions & 0 deletions Box.Sdk.Gen/Schemas/UserCollaborations/UserCollaborations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ public class UserCollaborations : UserBase {
[JsonPropertyName("login")]
public string? Login { get; init; }

/// <summary>
/// If set to `false`, the user is either deactivated or deleted.
/// </summary>
[JsonPropertyName("is_active")]
public bool? IsActive { get; init; }

public UserCollaborations(string id, UserBaseTypeField type = UserBaseTypeField.User) : base(id, type) {

}
Expand Down

0 comments on commit ec5f2d1

Please sign in to comment.