Skip to content

Commit

Permalink
Allow setting can_non_owners_invite field on Folder objects (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
Band-Aid authored and Matt Willer committed May 19, 2019
1 parent dba85a7 commit 1ed10d7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/com/box/sdk/BoxFolder.java
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,16 @@ public boolean getCanNonOwnersInvite() {
return this.canNonOwnersInvite;
}

/**
* Sets whether or not non-owners can invite collaborators to the folder.
*
* @param canNonOwnersInvite indicates non-owners can invite collaborators to the folder.
*/
public void setCanNonOwnersInvite(boolean canNonOwnersInvite) {
this.canNonOwnersInvite = canNonOwnersInvite;
this.addPendingChange("can_non_owners_invite", canNonOwnersInvite);
}

/**
* Gets whether future collaborations should be restricted to within the enterprise only.
*
Expand Down

0 comments on commit 1ed10d7

Please sign in to comment.