Skip to content

Commit

Permalink
Add missing field.
Browse files Browse the repository at this point in the history
  • Loading branch information
congminh1254 committed Aug 28, 2023
1 parent cde8c3f commit 0ce512f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/com/box/sdk/BoxSignTemplate.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public class Info extends BoxResource.Info {
private BoxSignTemplateAdditionalInfo additionalInfo;
private boolean areEmailSettingsLocked;
private boolean areFieldsLocked;
private boolean areOptionsLocked;
private boolean areFilesLocked;
private boolean areRecipientsLocked;
private BoxSignTemplateCustomBranding customBranding;
Expand Down Expand Up @@ -171,6 +172,13 @@ public boolean getAreFieldsLocked() {
return this.areFieldsLocked;
}

/**
* Gets weather the templates input options are editable or not.
*
* @return true if the options are editable; otherwise false.
*/
public boolean getAreOptionsLocked() { return this.areOptionsLocked; }

/**
* Gets whether the template document options are editable or not,
* for example renaming the document.
Expand Down Expand Up @@ -293,6 +301,8 @@ void parseJSONMember(JsonObject.Member member) {
case "are_fields_locked":
this.areFieldsLocked = value.asBoolean();
break;
case "are_options_locked":
this.areOptionsLocked = value.asBoolean();
case "are_files_locked":
this.areFilesLocked = value.asBoolean();
break;
Expand Down

0 comments on commit 0ce512f

Please sign in to comment.