-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTemplate.java
More file actions
1922 lines (1512 loc) · 59.8 KB
/
Template.java
File metadata and controls
1922 lines (1512 loc) · 59.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* DocSpring API
* Use DocSpring's API to programmatically fill out PDF forms, convert HTML to PDFs, merge PDFs, or request legally binding e-signatures.
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.docspring;
import java.util.Objects;
import java.util.Map;
import java.util.HashMap;
import java.util.Locale;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.docspring.JSON;
/**
* Template
*/
@JsonPropertyOrder({
Template.JSON_PROPERTY_ADD_DATA_REQUEST_SUBMISSION_ID_FOOTERS,
Template.JSON_PROPERTY_ALLOW_ADDITIONAL_PROPERTIES,
Template.JSON_PROPERTY_DESCRIPTION,
Template.JSON_PROPERTY_DOCUMENT_FILENAME,
Template.JSON_PROPERTY_DOCUMENT_MD5,
Template.JSON_PROPERTY_DOCUMENT_PARSE_ERROR,
Template.JSON_PROPERTY_DOCUMENT_PROCESSED,
Template.JSON_PROPERTY_DOCUMENT_STATE,
Template.JSON_PROPERTY_DOCUMENT_URL,
Template.JSON_PROPERTY_EDITABLE_SUBMISSIONS,
Template.JSON_PROPERTY_EMBED_DOMAINS,
Template.JSON_PROPERTY_ENCRYPT_PDFS_PASSWORD,
Template.JSON_PROPERTY_ENCRYPT_PDFS,
Template.JSON_PROPERTY_EXPIRATION_INTERVAL,
Template.JSON_PROPERTY_EXPIRE_AFTER,
Template.JSON_PROPERTY_EXPIRE_SUBMISSIONS,
Template.JSON_PROPERTY_EXTERNAL_PREDEFINED_FIELDS_TEMPLATE_ID,
Template.JSON_PROPERTY_EXTERNAL_PREDEFINED_FIELDS_TEMPLATE_NAME,
Template.JSON_PROPERTY_FIRST_TEMPLATE,
Template.JSON_PROPERTY_ID,
Template.JSON_PROPERTY_LOCKED,
Template.JSON_PROPERTY_MERGE_AUDIT_TRAIL_PDF,
Template.JSON_PROPERTY_NAME,
Template.JSON_PROPERTY_PAGE_COUNT,
Template.JSON_PROPERTY_PAGE_DIMENSIONS,
Template.JSON_PROPERTY_PARENT_FOLDER_ID,
Template.JSON_PROPERTY_PATH,
Template.JSON_PROPERTY_PERMANENT_DOCUMENT_URL,
Template.JSON_PROPERTY_PUBLIC_SUBMISSIONS,
Template.JSON_PROPERTY_PUBLIC_WEB_FORM,
Template.JSON_PROPERTY_REDIRECT_URL,
Template.JSON_PROPERTY_SLACK_WEBHOOK_URL,
Template.JSON_PROPERTY_TEMPLATE_TYPE,
Template.JSON_PROPERTY_UPDATED_AT,
Template.JSON_PROPERTY_VERSION_PUBLISHED_AT,
Template.JSON_PROPERTY_VERSION,
Template.JSON_PROPERTY_WEBHOOK_URL,
Template.JSON_PROPERTY_DEMO,
Template.JSON_PROPERTY_LATEST_VERSION,
Template.JSON_PROPERTY_LAST_CHANGED_AT,
Template.JSON_PROPERTY_LAST_CHANGED_BY_TYPE,
Template.JSON_PROPERTY_LAST_CHANGED_BY_ID,
Template.JSON_PROPERTY_DEFAULTS,
Template.JSON_PROPERTY_FIELD_ORDER,
Template.JSON_PROPERTY_FIELDS,
Template.JSON_PROPERTY_FOOTER_HTML,
Template.JSON_PROPERTY_HEADER_HTML,
Template.JSON_PROPERTY_HTML_ENGINE_OPTIONS,
Template.JSON_PROPERTY_HTML,
Template.JSON_PROPERTY_PREDEFINED_FIELDS,
Template.JSON_PROPERTY_SCSS,
Template.JSON_PROPERTY_SHARED_FIELD_DATA,
Template.JSON_PROPERTY_VERSIONS
})
@JsonTypeName("template")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.16.0-DOCSPRING")
public class Template {
public static final String JSON_PROPERTY_ADD_DATA_REQUEST_SUBMISSION_ID_FOOTERS = "add_data_request_submission_id_footers";
@javax.annotation.Nonnull
private Boolean addDataRequestSubmissionIdFooters;
public static final String JSON_PROPERTY_ALLOW_ADDITIONAL_PROPERTIES = "allow_additional_properties";
@javax.annotation.Nonnull
private Boolean allowAdditionalProperties;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
@javax.annotation.Nullable
private String description;
public static final String JSON_PROPERTY_DOCUMENT_FILENAME = "document_filename";
@javax.annotation.Nullable
private String documentFilename;
public static final String JSON_PROPERTY_DOCUMENT_MD5 = "document_md5";
@javax.annotation.Nullable
private String documentMd5;
public static final String JSON_PROPERTY_DOCUMENT_PARSE_ERROR = "document_parse_error";
@javax.annotation.Nonnull
private Boolean documentParseError;
public static final String JSON_PROPERTY_DOCUMENT_PROCESSED = "document_processed";
@javax.annotation.Nonnull
private Boolean documentProcessed;
/**
* Gets or Sets documentState
*/
public enum DocumentStateEnum {
PENDING(String.valueOf("pending")),
PROCESSED(String.valueOf("processed")),
PASSWORD_REQUIRED(String.valueOf("password_required")),
MALFORMED_PDF(String.valueOf("malformed_pdf")),
UNKNOWN_ERROR(String.valueOf("unknown_error"));
private String value;
DocumentStateEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static DocumentStateEnum fromValue(String value) {
for (DocumentStateEnum b : DocumentStateEnum.values()) {
if (b.value.equalsIgnoreCase(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String JSON_PROPERTY_DOCUMENT_STATE = "document_state";
@javax.annotation.Nonnull
private DocumentStateEnum documentState;
public static final String JSON_PROPERTY_DOCUMENT_URL = "document_url";
@javax.annotation.Nullable
private String documentUrl;
public static final String JSON_PROPERTY_EDITABLE_SUBMISSIONS = "editable_submissions";
@javax.annotation.Nonnull
private Boolean editableSubmissions;
public static final String JSON_PROPERTY_EMBED_DOMAINS = "embed_domains";
@javax.annotation.Nullable
private String embedDomains;
public static final String JSON_PROPERTY_ENCRYPT_PDFS_PASSWORD = "encrypt_pdfs_password";
@javax.annotation.Nullable
private String encryptPdfsPassword;
public static final String JSON_PROPERTY_ENCRYPT_PDFS = "encrypt_pdfs";
@javax.annotation.Nonnull
private Boolean encryptPdfs;
public static final String JSON_PROPERTY_EXPIRATION_INTERVAL = "expiration_interval";
@javax.annotation.Nonnull
private String expirationInterval;
public static final String JSON_PROPERTY_EXPIRE_AFTER = "expire_after";
@javax.annotation.Nonnull
private Integer expireAfter;
public static final String JSON_PROPERTY_EXPIRE_SUBMISSIONS = "expire_submissions";
@javax.annotation.Nonnull
private Boolean expireSubmissions;
public static final String JSON_PROPERTY_EXTERNAL_PREDEFINED_FIELDS_TEMPLATE_ID = "external_predefined_fields_template_id";
@javax.annotation.Nullable
private String externalPredefinedFieldsTemplateId;
public static final String JSON_PROPERTY_EXTERNAL_PREDEFINED_FIELDS_TEMPLATE_NAME = "external_predefined_fields_template_name";
@javax.annotation.Nullable
private String externalPredefinedFieldsTemplateName;
public static final String JSON_PROPERTY_FIRST_TEMPLATE = "first_template";
@javax.annotation.Nonnull
private Boolean firstTemplate;
public static final String JSON_PROPERTY_ID = "id";
@javax.annotation.Nullable
private String id;
public static final String JSON_PROPERTY_LOCKED = "locked";
@javax.annotation.Nonnull
private Boolean locked;
public static final String JSON_PROPERTY_MERGE_AUDIT_TRAIL_PDF = "merge_audit_trail_pdf";
@javax.annotation.Nonnull
private Boolean mergeAuditTrailPdf;
public static final String JSON_PROPERTY_NAME = "name";
@javax.annotation.Nullable
private String name;
public static final String JSON_PROPERTY_PAGE_COUNT = "page_count";
@javax.annotation.Nonnull
private Integer pageCount;
public static final String JSON_PROPERTY_PAGE_DIMENSIONS = "page_dimensions";
@javax.annotation.Nullable
private List<List<BigDecimal>> pageDimensions;
public static final String JSON_PROPERTY_PARENT_FOLDER_ID = "parent_folder_id";
@javax.annotation.Nullable
private String parentFolderId;
public static final String JSON_PROPERTY_PATH = "path";
@javax.annotation.Nullable
private String path;
public static final String JSON_PROPERTY_PERMANENT_DOCUMENT_URL = "permanent_document_url";
@javax.annotation.Nullable
private String permanentDocumentUrl;
public static final String JSON_PROPERTY_PUBLIC_SUBMISSIONS = "public_submissions";
@javax.annotation.Nonnull
private Boolean publicSubmissions;
public static final String JSON_PROPERTY_PUBLIC_WEB_FORM = "public_web_form";
@javax.annotation.Nonnull
private Boolean publicWebForm;
public static final String JSON_PROPERTY_REDIRECT_URL = "redirect_url";
@javax.annotation.Nullable
private String redirectUrl;
public static final String JSON_PROPERTY_SLACK_WEBHOOK_URL = "slack_webhook_url";
@javax.annotation.Nullable
private String slackWebhookUrl;
/**
* Gets or Sets templateType
*/
public enum TemplateTypeEnum {
PDF(String.valueOf("pdf")),
HTML(String.valueOf("html"));
private String value;
TemplateTypeEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static TemplateTypeEnum fromValue(String value) {
for (TemplateTypeEnum b : TemplateTypeEnum.values()) {
if (b.value.equalsIgnoreCase(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String JSON_PROPERTY_TEMPLATE_TYPE = "template_type";
@javax.annotation.Nonnull
private TemplateTypeEnum templateType;
public static final String JSON_PROPERTY_UPDATED_AT = "updated_at";
@javax.annotation.Nullable
private String updatedAt;
public static final String JSON_PROPERTY_VERSION_PUBLISHED_AT = "version_published_at";
@javax.annotation.Nullable
private String versionPublishedAt;
public static final String JSON_PROPERTY_VERSION = "version";
@javax.annotation.Nullable
private String version;
public static final String JSON_PROPERTY_WEBHOOK_URL = "webhook_url";
@javax.annotation.Nullable
private String webhookUrl;
public static final String JSON_PROPERTY_DEMO = "demo";
@javax.annotation.Nonnull
private Boolean demo;
public static final String JSON_PROPERTY_LATEST_VERSION = "latest_version";
@javax.annotation.Nullable
private String latestVersion;
public static final String JSON_PROPERTY_LAST_CHANGED_AT = "last_changed_at";
@javax.annotation.Nullable
private String lastChangedAt;
/**
* Gets or Sets lastChangedByType
*/
public enum LastChangedByTypeEnum {
USER(String.valueOf("user")),
API(String.valueOf("api"));
private String value;
LastChangedByTypeEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static LastChangedByTypeEnum fromValue(String value) {
for (LastChangedByTypeEnum b : LastChangedByTypeEnum.values()) {
if (b.value.equalsIgnoreCase(value)) {
return b;
}
}
return null;
}
}
public static final String JSON_PROPERTY_LAST_CHANGED_BY_TYPE = "last_changed_by_type";
@javax.annotation.Nullable
private LastChangedByTypeEnum lastChangedByType;
public static final String JSON_PROPERTY_LAST_CHANGED_BY_ID = "last_changed_by_id";
@javax.annotation.Nullable
private String lastChangedById;
public static final String JSON_PROPERTY_DEFAULTS = "defaults";
@javax.annotation.Nonnull
private Object defaults;
public static final String JSON_PROPERTY_FIELD_ORDER = "field_order";
@javax.annotation.Nonnull
private List<List<BigDecimal>> fieldOrder = new ArrayList<>();
public static final String JSON_PROPERTY_FIELDS = "fields";
@javax.annotation.Nonnull
private Object fields;
public static final String JSON_PROPERTY_FOOTER_HTML = "footer_html";
@javax.annotation.Nullable
private String footerHtml;
public static final String JSON_PROPERTY_HEADER_HTML = "header_html";
@javax.annotation.Nullable
private String headerHtml;
public static final String JSON_PROPERTY_HTML_ENGINE_OPTIONS = "html_engine_options";
@javax.annotation.Nonnull
private Object htmlEngineOptions;
public static final String JSON_PROPERTY_HTML = "html";
@javax.annotation.Nullable
private String html;
public static final String JSON_PROPERTY_PREDEFINED_FIELDS = "predefined_fields";
@javax.annotation.Nonnull
private List<Object> predefinedFields = new ArrayList<>();
public static final String JSON_PROPERTY_SCSS = "scss";
@javax.annotation.Nullable
private String scss;
public static final String JSON_PROPERTY_SHARED_FIELD_DATA = "shared_field_data";
@javax.annotation.Nonnull
private Object sharedFieldData;
public static final String JSON_PROPERTY_VERSIONS = "versions";
@javax.annotation.Nonnull
private List<Object> versions = new ArrayList<>();
public Template() {
}
public Template addDataRequestSubmissionIdFooters(@javax.annotation.Nonnull Boolean addDataRequestSubmissionIdFooters) {
this.addDataRequestSubmissionIdFooters = addDataRequestSubmissionIdFooters;
return this;
}
/**
* Get addDataRequestSubmissionIdFooters
* @return addDataRequestSubmissionIdFooters
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_ADD_DATA_REQUEST_SUBMISSION_ID_FOOTERS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getAddDataRequestSubmissionIdFooters() {
return addDataRequestSubmissionIdFooters;
}
@JsonProperty(value = JSON_PROPERTY_ADD_DATA_REQUEST_SUBMISSION_ID_FOOTERS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAddDataRequestSubmissionIdFooters(@javax.annotation.Nonnull Boolean addDataRequestSubmissionIdFooters) {
this.addDataRequestSubmissionIdFooters = addDataRequestSubmissionIdFooters;
}
public Template allowAdditionalProperties(@javax.annotation.Nonnull Boolean allowAdditionalProperties) {
this.allowAdditionalProperties = allowAdditionalProperties;
return this;
}
/**
* Get allowAdditionalProperties
* @return allowAdditionalProperties
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_ALLOW_ADDITIONAL_PROPERTIES, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getAllowAdditionalProperties() {
return allowAdditionalProperties;
}
@JsonProperty(value = JSON_PROPERTY_ALLOW_ADDITIONAL_PROPERTIES, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAllowAdditionalProperties(@javax.annotation.Nonnull Boolean allowAdditionalProperties) {
this.allowAdditionalProperties = allowAdditionalProperties;
}
public Template description(@javax.annotation.Nullable String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_DESCRIPTION, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getDescription() {
return description;
}
@JsonProperty(value = JSON_PROPERTY_DESCRIPTION, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDescription(@javax.annotation.Nullable String description) {
this.description = description;
}
public Template documentFilename(@javax.annotation.Nullable String documentFilename) {
this.documentFilename = documentFilename;
return this;
}
/**
* Get documentFilename
* @return documentFilename
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_FILENAME, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getDocumentFilename() {
return documentFilename;
}
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_FILENAME, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocumentFilename(@javax.annotation.Nullable String documentFilename) {
this.documentFilename = documentFilename;
}
public Template documentMd5(@javax.annotation.Nullable String documentMd5) {
this.documentMd5 = documentMd5;
return this;
}
/**
* Get documentMd5
* @return documentMd5
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_MD5, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getDocumentMd5() {
return documentMd5;
}
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_MD5, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocumentMd5(@javax.annotation.Nullable String documentMd5) {
this.documentMd5 = documentMd5;
}
public Template documentParseError(@javax.annotation.Nonnull Boolean documentParseError) {
this.documentParseError = documentParseError;
return this;
}
/**
* Get documentParseError
* @return documentParseError
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_PARSE_ERROR, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getDocumentParseError() {
return documentParseError;
}
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_PARSE_ERROR, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocumentParseError(@javax.annotation.Nonnull Boolean documentParseError) {
this.documentParseError = documentParseError;
}
public Template documentProcessed(@javax.annotation.Nonnull Boolean documentProcessed) {
this.documentProcessed = documentProcessed;
return this;
}
/**
* Get documentProcessed
* @return documentProcessed
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_PROCESSED, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getDocumentProcessed() {
return documentProcessed;
}
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_PROCESSED, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocumentProcessed(@javax.annotation.Nonnull Boolean documentProcessed) {
this.documentProcessed = documentProcessed;
}
public Template documentState(@javax.annotation.Nonnull DocumentStateEnum documentState) {
this.documentState = documentState;
return this;
}
/**
* Get documentState
* @return documentState
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_STATE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public DocumentStateEnum getDocumentState() {
return documentState;
}
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_STATE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocumentState(@javax.annotation.Nonnull DocumentStateEnum documentState) {
this.documentState = documentState;
}
public Template documentUrl(@javax.annotation.Nullable String documentUrl) {
this.documentUrl = documentUrl;
return this;
}
/**
* Get documentUrl
* @return documentUrl
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_URL, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getDocumentUrl() {
return documentUrl;
}
@JsonProperty(value = JSON_PROPERTY_DOCUMENT_URL, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocumentUrl(@javax.annotation.Nullable String documentUrl) {
this.documentUrl = documentUrl;
}
public Template editableSubmissions(@javax.annotation.Nonnull Boolean editableSubmissions) {
this.editableSubmissions = editableSubmissions;
return this;
}
/**
* Get editableSubmissions
* @return editableSubmissions
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_EDITABLE_SUBMISSIONS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getEditableSubmissions() {
return editableSubmissions;
}
@JsonProperty(value = JSON_PROPERTY_EDITABLE_SUBMISSIONS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEditableSubmissions(@javax.annotation.Nonnull Boolean editableSubmissions) {
this.editableSubmissions = editableSubmissions;
}
public Template embedDomains(@javax.annotation.Nullable String embedDomains) {
this.embedDomains = embedDomains;
return this;
}
/**
* Get embedDomains
* @return embedDomains
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_EMBED_DOMAINS, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getEmbedDomains() {
return embedDomains;
}
@JsonProperty(value = JSON_PROPERTY_EMBED_DOMAINS, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEmbedDomains(@javax.annotation.Nullable String embedDomains) {
this.embedDomains = embedDomains;
}
public Template encryptPdfsPassword(@javax.annotation.Nullable String encryptPdfsPassword) {
this.encryptPdfsPassword = encryptPdfsPassword;
return this;
}
/**
* Get encryptPdfsPassword
* @return encryptPdfsPassword
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_ENCRYPT_PDFS_PASSWORD, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getEncryptPdfsPassword() {
return encryptPdfsPassword;
}
@JsonProperty(value = JSON_PROPERTY_ENCRYPT_PDFS_PASSWORD, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEncryptPdfsPassword(@javax.annotation.Nullable String encryptPdfsPassword) {
this.encryptPdfsPassword = encryptPdfsPassword;
}
public Template encryptPdfs(@javax.annotation.Nonnull Boolean encryptPdfs) {
this.encryptPdfs = encryptPdfs;
return this;
}
/**
* Get encryptPdfs
* @return encryptPdfs
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_ENCRYPT_PDFS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getEncryptPdfs() {
return encryptPdfs;
}
@JsonProperty(value = JSON_PROPERTY_ENCRYPT_PDFS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEncryptPdfs(@javax.annotation.Nonnull Boolean encryptPdfs) {
this.encryptPdfs = encryptPdfs;
}
public Template expirationInterval(@javax.annotation.Nonnull String expirationInterval) {
this.expirationInterval = expirationInterval;
return this;
}
/**
* Get expirationInterval
* @return expirationInterval
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_EXPIRATION_INTERVAL, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getExpirationInterval() {
return expirationInterval;
}
@JsonProperty(value = JSON_PROPERTY_EXPIRATION_INTERVAL, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setExpirationInterval(@javax.annotation.Nonnull String expirationInterval) {
this.expirationInterval = expirationInterval;
}
public Template expireAfter(@javax.annotation.Nonnull Integer expireAfter) {
this.expireAfter = expireAfter;
return this;
}
/**
* Get expireAfter
* @return expireAfter
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_EXPIRE_AFTER, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getExpireAfter() {
return expireAfter;
}
@JsonProperty(value = JSON_PROPERTY_EXPIRE_AFTER, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setExpireAfter(@javax.annotation.Nonnull Integer expireAfter) {
this.expireAfter = expireAfter;
}
public Template expireSubmissions(@javax.annotation.Nonnull Boolean expireSubmissions) {
this.expireSubmissions = expireSubmissions;
return this;
}
/**
* Get expireSubmissions
* @return expireSubmissions
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_EXPIRE_SUBMISSIONS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getExpireSubmissions() {
return expireSubmissions;
}
@JsonProperty(value = JSON_PROPERTY_EXPIRE_SUBMISSIONS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setExpireSubmissions(@javax.annotation.Nonnull Boolean expireSubmissions) {
this.expireSubmissions = expireSubmissions;
}
public Template externalPredefinedFieldsTemplateId(@javax.annotation.Nullable String externalPredefinedFieldsTemplateId) {
this.externalPredefinedFieldsTemplateId = externalPredefinedFieldsTemplateId;
return this;
}
/**
* Get externalPredefinedFieldsTemplateId
* @return externalPredefinedFieldsTemplateId
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_EXTERNAL_PREDEFINED_FIELDS_TEMPLATE_ID, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getExternalPredefinedFieldsTemplateId() {
return externalPredefinedFieldsTemplateId;
}
@JsonProperty(value = JSON_PROPERTY_EXTERNAL_PREDEFINED_FIELDS_TEMPLATE_ID, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setExternalPredefinedFieldsTemplateId(@javax.annotation.Nullable String externalPredefinedFieldsTemplateId) {
this.externalPredefinedFieldsTemplateId = externalPredefinedFieldsTemplateId;
}
public Template externalPredefinedFieldsTemplateName(@javax.annotation.Nullable String externalPredefinedFieldsTemplateName) {
this.externalPredefinedFieldsTemplateName = externalPredefinedFieldsTemplateName;
return this;
}
/**
* Get externalPredefinedFieldsTemplateName
* @return externalPredefinedFieldsTemplateName
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_EXTERNAL_PREDEFINED_FIELDS_TEMPLATE_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getExternalPredefinedFieldsTemplateName() {
return externalPredefinedFieldsTemplateName;
}
@JsonProperty(value = JSON_PROPERTY_EXTERNAL_PREDEFINED_FIELDS_TEMPLATE_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setExternalPredefinedFieldsTemplateName(@javax.annotation.Nullable String externalPredefinedFieldsTemplateName) {
this.externalPredefinedFieldsTemplateName = externalPredefinedFieldsTemplateName;
}
public Template firstTemplate(@javax.annotation.Nonnull Boolean firstTemplate) {
this.firstTemplate = firstTemplate;
return this;
}
/**
* Get firstTemplate
* @return firstTemplate
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_FIRST_TEMPLATE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getFirstTemplate() {
return firstTemplate;
}
@JsonProperty(value = JSON_PROPERTY_FIRST_TEMPLATE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFirstTemplate(@javax.annotation.Nonnull Boolean firstTemplate) {
this.firstTemplate = firstTemplate;
}
public Template id(@javax.annotation.Nullable String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getId() {
return id;
}
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setId(@javax.annotation.Nullable String id) {
this.id = id;
}
public Template locked(@javax.annotation.Nonnull Boolean locked) {
this.locked = locked;
return this;
}
/**
* Get locked
* @return locked
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_LOCKED, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getLocked() {
return locked;
}
@JsonProperty(value = JSON_PROPERTY_LOCKED, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setLocked(@javax.annotation.Nonnull Boolean locked) {
this.locked = locked;
}
public Template mergeAuditTrailPdf(@javax.annotation.Nonnull Boolean mergeAuditTrailPdf) {
this.mergeAuditTrailPdf = mergeAuditTrailPdf;
return this;
}
/**
* Get mergeAuditTrailPdf
* @return mergeAuditTrailPdf
*/
@javax.annotation.Nonnull
@JsonProperty(value = JSON_PROPERTY_MERGE_AUDIT_TRAIL_PDF, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getMergeAuditTrailPdf() {
return mergeAuditTrailPdf;
}
@JsonProperty(value = JSON_PROPERTY_MERGE_AUDIT_TRAIL_PDF, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setMergeAuditTrailPdf(@javax.annotation.Nonnull Boolean mergeAuditTrailPdf) {
this.mergeAuditTrailPdf = mergeAuditTrailPdf;
}
public Template name(@javax.annotation.Nullable String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(@javax.annotation.Nullable String name) {
this.name = name;
}
public Template pageCount(@javax.annotation.Nonnull Integer pageCount) {
this.pageCount = pageCount;
return this;
}
/**