From f30605400e757dab8521866a9f5af88af99507a0 Mon Sep 17 00:00:00 2001 From: Matt Willer Date: Thu, 14 Jun 2018 12:55:16 -0700 Subject: [PATCH] Allow setting can_non_owners_invite flag on folders (#490) --- Box.V2/Models/Request/BoxFolderRequest.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Box.V2/Models/Request/BoxFolderRequest.cs b/Box.V2/Models/Request/BoxFolderRequest.cs index dff3fe7cc..aa02a4180 100644 --- a/Box.V2/Models/Request/BoxFolderRequest.cs +++ b/Box.V2/Models/Request/BoxFolderRequest.cs @@ -1,4 +1,4 @@ -using Newtonsoft.Json; +using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; @@ -33,6 +33,11 @@ public class BoxFolderRequest : BoxItemRequest [JsonConverter(typeof(StringEnumConverter))] public BoxSyncStateType? SyncState { get; set; } + /// + /// Setting to determine if non-owners can invite others to collaborate on the folder. + /// + [JsonProperty(PropertyName = "can_non_owners_invite")] + public bool? CanNonOwnersInvite { get; set; } } }