From ec5f2d1d2cdba330f26a7db40042b70d3ec5bca2 Mon Sep 17 00:00:00 2001 From: box-sdk-build <94016436+box-sdk-build@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:55:29 +0200 Subject: [PATCH] feat: Add `is_active` parameter to user collaboration (box/box-openapi#437) (#181) Co-authored-by: box-sdk-build --- .codegen.json | 2 +- .../Schemas/UserCollaborations/UserCollaborations.cs | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.codegen.json b/.codegen.json index 545ae06c..f1118416 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "89557a9", "specHash": "e95d6fa", "version": "0.4.0" } +{ "engineHash": "25c4224", "specHash": "137da0d", "version": "0.4.0" } diff --git a/Box.Sdk.Gen/Schemas/UserCollaborations/UserCollaborations.cs b/Box.Sdk.Gen/Schemas/UserCollaborations/UserCollaborations.cs index 5afb0bed..ed4d140e 100644 --- a/Box.Sdk.Gen/Schemas/UserCollaborations/UserCollaborations.cs +++ b/Box.Sdk.Gen/Schemas/UserCollaborations/UserCollaborations.cs @@ -16,6 +16,12 @@ public class UserCollaborations : UserBase { [JsonPropertyName("login")] public string? Login { get; init; } + /// + /// If set to `false`, the user is either deactivated or deleted. + /// + [JsonPropertyName("is_active")] + public bool? IsActive { get; init; } + public UserCollaborations(string id, UserBaseTypeField type = UserBaseTypeField.User) : base(id, type) { }