-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_template.go
1464 lines (1248 loc) · 41.2 KB
/
model_template.go
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
DocSpring provides an API that helps you fill out and sign PDF templates.
API version: v1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package docspring
import (
"encoding/json"
"bytes"
"fmt"
)
// checks if the Template type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &Template{}
// Template struct for Template
type Template struct {
AddDataRequestSubmissionIdFooters bool `json:"add_data_request_submission_id_footers"`
AllowAdditionalProperties bool `json:"allow_additional_properties"`
Description NullableString `json:"description"`
DocumentFilename NullableString `json:"document_filename"`
DocumentMd5 NullableString `json:"document_md5"`
DocumentParseError bool `json:"document_parse_error"`
DocumentProcessed bool `json:"document_processed"`
DocumentState string `json:"document_state"`
DocumentUrl NullableString `json:"document_url"`
EditableSubmissions bool `json:"editable_submissions"`
EmbedDomains NullableString `json:"embed_domains"`
EncryptPdfsPassword NullableString `json:"encrypt_pdfs_password"`
EncryptPdfs bool `json:"encrypt_pdfs"`
ExpirationInterval string `json:"expiration_interval"`
ExpireAfter int32 `json:"expire_after"`
ExpireSubmissions bool `json:"expire_submissions"`
ExternalPredefinedFieldsTemplateId NullableString `json:"external_predefined_fields_template_id"`
ExternalPredefinedFieldsTemplateName NullableString `json:"external_predefined_fields_template_name"`
FirstTemplate bool `json:"first_template"`
Id NullableString `json:"id"`
Locked bool `json:"locked"`
MergeAuditTrailPdf bool `json:"merge_audit_trail_pdf"`
Name NullableString `json:"name"`
PageCount int32 `json:"page_count"`
PageDimensions [][]float32 `json:"page_dimensions"`
ParentFolderId NullableString `json:"parent_folder_id"`
Path NullableString `json:"path"`
PermanentDocumentUrl NullableString `json:"permanent_document_url"`
PublicSubmissions bool `json:"public_submissions"`
PublicWebForm bool `json:"public_web_form"`
RedirectUrl NullableString `json:"redirect_url"`
SlackWebhookUrl NullableString `json:"slack_webhook_url"`
TemplateType string `json:"template_type"`
UpdatedAt NullableString `json:"updated_at"`
WebhookUrl NullableString `json:"webhook_url"`
Demo bool `json:"demo"`
Defaults map[string]interface{} `json:"defaults"`
FieldOrder [][]float32 `json:"field_order"`
Fields map[string]interface{} `json:"fields"`
FooterHtml NullableString `json:"footer_html"`
HeaderHtml NullableString `json:"header_html"`
HtmlEngineOptions map[string]interface{} `json:"html_engine_options"`
Html NullableString `json:"html"`
PredefinedFields []map[string]interface{} `json:"predefined_fields"`
Scss NullableString `json:"scss"`
SharedFieldData map[string]interface{} `json:"shared_field_data"`
}
type _Template Template
// NewTemplate instantiates a new Template object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewTemplate(addDataRequestSubmissionIdFooters bool, allowAdditionalProperties bool, description NullableString, documentFilename NullableString, documentMd5 NullableString, documentParseError bool, documentProcessed bool, documentState string, documentUrl NullableString, editableSubmissions bool, embedDomains NullableString, encryptPdfsPassword NullableString, encryptPdfs bool, expirationInterval string, expireAfter int32, expireSubmissions bool, externalPredefinedFieldsTemplateId NullableString, externalPredefinedFieldsTemplateName NullableString, firstTemplate bool, id NullableString, locked bool, mergeAuditTrailPdf bool, name NullableString, pageCount int32, pageDimensions [][]float32, parentFolderId NullableString, path NullableString, permanentDocumentUrl NullableString, publicSubmissions bool, publicWebForm bool, redirectUrl NullableString, slackWebhookUrl NullableString, templateType string, updatedAt NullableString, webhookUrl NullableString, demo bool, defaults map[string]interface{}, fieldOrder [][]float32, fields map[string]interface{}, footerHtml NullableString, headerHtml NullableString, htmlEngineOptions map[string]interface{}, html NullableString, predefinedFields []map[string]interface{}, scss NullableString, sharedFieldData map[string]interface{}) *Template {
this := Template{}
this.AddDataRequestSubmissionIdFooters = addDataRequestSubmissionIdFooters
this.AllowAdditionalProperties = allowAdditionalProperties
this.Description = description
this.DocumentFilename = documentFilename
this.DocumentMd5 = documentMd5
this.DocumentParseError = documentParseError
this.DocumentProcessed = documentProcessed
this.DocumentState = documentState
this.DocumentUrl = documentUrl
this.EditableSubmissions = editableSubmissions
this.EmbedDomains = embedDomains
this.EncryptPdfsPassword = encryptPdfsPassword
this.EncryptPdfs = encryptPdfs
this.ExpirationInterval = expirationInterval
this.ExpireAfter = expireAfter
this.ExpireSubmissions = expireSubmissions
this.ExternalPredefinedFieldsTemplateId = externalPredefinedFieldsTemplateId
this.ExternalPredefinedFieldsTemplateName = externalPredefinedFieldsTemplateName
this.FirstTemplate = firstTemplate
this.Id = id
this.Locked = locked
this.MergeAuditTrailPdf = mergeAuditTrailPdf
this.Name = name
this.PageCount = pageCount
this.PageDimensions = pageDimensions
this.ParentFolderId = parentFolderId
this.Path = path
this.PermanentDocumentUrl = permanentDocumentUrl
this.PublicSubmissions = publicSubmissions
this.PublicWebForm = publicWebForm
this.RedirectUrl = redirectUrl
this.SlackWebhookUrl = slackWebhookUrl
this.TemplateType = templateType
this.UpdatedAt = updatedAt
this.WebhookUrl = webhookUrl
this.Demo = demo
this.Defaults = defaults
this.FieldOrder = fieldOrder
this.Fields = fields
this.FooterHtml = footerHtml
this.HeaderHtml = headerHtml
this.HtmlEngineOptions = htmlEngineOptions
this.Html = html
this.PredefinedFields = predefinedFields
this.Scss = scss
this.SharedFieldData = sharedFieldData
return &this
}
// NewTemplateWithDefaults instantiates a new Template object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewTemplateWithDefaults() *Template {
this := Template{}
return &this
}
// GetAddDataRequestSubmissionIdFooters returns the AddDataRequestSubmissionIdFooters field value
func (o *Template) GetAddDataRequestSubmissionIdFooters() bool {
if o == nil {
var ret bool
return ret
}
return o.AddDataRequestSubmissionIdFooters
}
// GetAddDataRequestSubmissionIdFootersOk returns a tuple with the AddDataRequestSubmissionIdFooters field value
// and a boolean to check if the value has been set.
func (o *Template) GetAddDataRequestSubmissionIdFootersOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.AddDataRequestSubmissionIdFooters, true
}
// SetAddDataRequestSubmissionIdFooters sets field value
func (o *Template) SetAddDataRequestSubmissionIdFooters(v bool) {
o.AddDataRequestSubmissionIdFooters = v
}
// GetAllowAdditionalProperties returns the AllowAdditionalProperties field value
func (o *Template) GetAllowAdditionalProperties() bool {
if o == nil {
var ret bool
return ret
}
return o.AllowAdditionalProperties
}
// GetAllowAdditionalPropertiesOk returns a tuple with the AllowAdditionalProperties field value
// and a boolean to check if the value has been set.
func (o *Template) GetAllowAdditionalPropertiesOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.AllowAdditionalProperties, true
}
// SetAllowAdditionalProperties sets field value
func (o *Template) SetAllowAdditionalProperties(v bool) {
o.AllowAdditionalProperties = v
}
// GetDescription returns the Description field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetDescription() string {
if o == nil || o.Description.Get() == nil {
var ret string
return ret
}
return *o.Description.Get()
}
// GetDescriptionOk returns a tuple with the Description field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetDescriptionOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Description.Get(), o.Description.IsSet()
}
// SetDescription sets field value
func (o *Template) SetDescription(v string) {
o.Description.Set(&v)
}
// GetDocumentFilename returns the DocumentFilename field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetDocumentFilename() string {
if o == nil || o.DocumentFilename.Get() == nil {
var ret string
return ret
}
return *o.DocumentFilename.Get()
}
// GetDocumentFilenameOk returns a tuple with the DocumentFilename field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetDocumentFilenameOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.DocumentFilename.Get(), o.DocumentFilename.IsSet()
}
// SetDocumentFilename sets field value
func (o *Template) SetDocumentFilename(v string) {
o.DocumentFilename.Set(&v)
}
// GetDocumentMd5 returns the DocumentMd5 field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetDocumentMd5() string {
if o == nil || o.DocumentMd5.Get() == nil {
var ret string
return ret
}
return *o.DocumentMd5.Get()
}
// GetDocumentMd5Ok returns a tuple with the DocumentMd5 field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetDocumentMd5Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.DocumentMd5.Get(), o.DocumentMd5.IsSet()
}
// SetDocumentMd5 sets field value
func (o *Template) SetDocumentMd5(v string) {
o.DocumentMd5.Set(&v)
}
// GetDocumentParseError returns the DocumentParseError field value
func (o *Template) GetDocumentParseError() bool {
if o == nil {
var ret bool
return ret
}
return o.DocumentParseError
}
// GetDocumentParseErrorOk returns a tuple with the DocumentParseError field value
// and a boolean to check if the value has been set.
func (o *Template) GetDocumentParseErrorOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.DocumentParseError, true
}
// SetDocumentParseError sets field value
func (o *Template) SetDocumentParseError(v bool) {
o.DocumentParseError = v
}
// GetDocumentProcessed returns the DocumentProcessed field value
func (o *Template) GetDocumentProcessed() bool {
if o == nil {
var ret bool
return ret
}
return o.DocumentProcessed
}
// GetDocumentProcessedOk returns a tuple with the DocumentProcessed field value
// and a boolean to check if the value has been set.
func (o *Template) GetDocumentProcessedOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.DocumentProcessed, true
}
// SetDocumentProcessed sets field value
func (o *Template) SetDocumentProcessed(v bool) {
o.DocumentProcessed = v
}
// GetDocumentState returns the DocumentState field value
func (o *Template) GetDocumentState() string {
if o == nil {
var ret string
return ret
}
return o.DocumentState
}
// GetDocumentStateOk returns a tuple with the DocumentState field value
// and a boolean to check if the value has been set.
func (o *Template) GetDocumentStateOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.DocumentState, true
}
// SetDocumentState sets field value
func (o *Template) SetDocumentState(v string) {
o.DocumentState = v
}
// GetDocumentUrl returns the DocumentUrl field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetDocumentUrl() string {
if o == nil || o.DocumentUrl.Get() == nil {
var ret string
return ret
}
return *o.DocumentUrl.Get()
}
// GetDocumentUrlOk returns a tuple with the DocumentUrl field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetDocumentUrlOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.DocumentUrl.Get(), o.DocumentUrl.IsSet()
}
// SetDocumentUrl sets field value
func (o *Template) SetDocumentUrl(v string) {
o.DocumentUrl.Set(&v)
}
// GetEditableSubmissions returns the EditableSubmissions field value
func (o *Template) GetEditableSubmissions() bool {
if o == nil {
var ret bool
return ret
}
return o.EditableSubmissions
}
// GetEditableSubmissionsOk returns a tuple with the EditableSubmissions field value
// and a boolean to check if the value has been set.
func (o *Template) GetEditableSubmissionsOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.EditableSubmissions, true
}
// SetEditableSubmissions sets field value
func (o *Template) SetEditableSubmissions(v bool) {
o.EditableSubmissions = v
}
// GetEmbedDomains returns the EmbedDomains field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetEmbedDomains() string {
if o == nil || o.EmbedDomains.Get() == nil {
var ret string
return ret
}
return *o.EmbedDomains.Get()
}
// GetEmbedDomainsOk returns a tuple with the EmbedDomains field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetEmbedDomainsOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.EmbedDomains.Get(), o.EmbedDomains.IsSet()
}
// SetEmbedDomains sets field value
func (o *Template) SetEmbedDomains(v string) {
o.EmbedDomains.Set(&v)
}
// GetEncryptPdfsPassword returns the EncryptPdfsPassword field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetEncryptPdfsPassword() string {
if o == nil || o.EncryptPdfsPassword.Get() == nil {
var ret string
return ret
}
return *o.EncryptPdfsPassword.Get()
}
// GetEncryptPdfsPasswordOk returns a tuple with the EncryptPdfsPassword field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetEncryptPdfsPasswordOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.EncryptPdfsPassword.Get(), o.EncryptPdfsPassword.IsSet()
}
// SetEncryptPdfsPassword sets field value
func (o *Template) SetEncryptPdfsPassword(v string) {
o.EncryptPdfsPassword.Set(&v)
}
// GetEncryptPdfs returns the EncryptPdfs field value
func (o *Template) GetEncryptPdfs() bool {
if o == nil {
var ret bool
return ret
}
return o.EncryptPdfs
}
// GetEncryptPdfsOk returns a tuple with the EncryptPdfs field value
// and a boolean to check if the value has been set.
func (o *Template) GetEncryptPdfsOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.EncryptPdfs, true
}
// SetEncryptPdfs sets field value
func (o *Template) SetEncryptPdfs(v bool) {
o.EncryptPdfs = v
}
// GetExpirationInterval returns the ExpirationInterval field value
func (o *Template) GetExpirationInterval() string {
if o == nil {
var ret string
return ret
}
return o.ExpirationInterval
}
// GetExpirationIntervalOk returns a tuple with the ExpirationInterval field value
// and a boolean to check if the value has been set.
func (o *Template) GetExpirationIntervalOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ExpirationInterval, true
}
// SetExpirationInterval sets field value
func (o *Template) SetExpirationInterval(v string) {
o.ExpirationInterval = v
}
// GetExpireAfter returns the ExpireAfter field value
func (o *Template) GetExpireAfter() int32 {
if o == nil {
var ret int32
return ret
}
return o.ExpireAfter
}
// GetExpireAfterOk returns a tuple with the ExpireAfter field value
// and a boolean to check if the value has been set.
func (o *Template) GetExpireAfterOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.ExpireAfter, true
}
// SetExpireAfter sets field value
func (o *Template) SetExpireAfter(v int32) {
o.ExpireAfter = v
}
// GetExpireSubmissions returns the ExpireSubmissions field value
func (o *Template) GetExpireSubmissions() bool {
if o == nil {
var ret bool
return ret
}
return o.ExpireSubmissions
}
// GetExpireSubmissionsOk returns a tuple with the ExpireSubmissions field value
// and a boolean to check if the value has been set.
func (o *Template) GetExpireSubmissionsOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.ExpireSubmissions, true
}
// SetExpireSubmissions sets field value
func (o *Template) SetExpireSubmissions(v bool) {
o.ExpireSubmissions = v
}
// GetExternalPredefinedFieldsTemplateId returns the ExternalPredefinedFieldsTemplateId field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetExternalPredefinedFieldsTemplateId() string {
if o == nil || o.ExternalPredefinedFieldsTemplateId.Get() == nil {
var ret string
return ret
}
return *o.ExternalPredefinedFieldsTemplateId.Get()
}
// GetExternalPredefinedFieldsTemplateIdOk returns a tuple with the ExternalPredefinedFieldsTemplateId field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetExternalPredefinedFieldsTemplateIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.ExternalPredefinedFieldsTemplateId.Get(), o.ExternalPredefinedFieldsTemplateId.IsSet()
}
// SetExternalPredefinedFieldsTemplateId sets field value
func (o *Template) SetExternalPredefinedFieldsTemplateId(v string) {
o.ExternalPredefinedFieldsTemplateId.Set(&v)
}
// GetExternalPredefinedFieldsTemplateName returns the ExternalPredefinedFieldsTemplateName field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetExternalPredefinedFieldsTemplateName() string {
if o == nil || o.ExternalPredefinedFieldsTemplateName.Get() == nil {
var ret string
return ret
}
return *o.ExternalPredefinedFieldsTemplateName.Get()
}
// GetExternalPredefinedFieldsTemplateNameOk returns a tuple with the ExternalPredefinedFieldsTemplateName field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetExternalPredefinedFieldsTemplateNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.ExternalPredefinedFieldsTemplateName.Get(), o.ExternalPredefinedFieldsTemplateName.IsSet()
}
// SetExternalPredefinedFieldsTemplateName sets field value
func (o *Template) SetExternalPredefinedFieldsTemplateName(v string) {
o.ExternalPredefinedFieldsTemplateName.Set(&v)
}
// GetFirstTemplate returns the FirstTemplate field value
func (o *Template) GetFirstTemplate() bool {
if o == nil {
var ret bool
return ret
}
return o.FirstTemplate
}
// GetFirstTemplateOk returns a tuple with the FirstTemplate field value
// and a boolean to check if the value has been set.
func (o *Template) GetFirstTemplateOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.FirstTemplate, true
}
// SetFirstTemplate sets field value
func (o *Template) SetFirstTemplate(v bool) {
o.FirstTemplate = v
}
// GetId returns the Id field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetId() string {
if o == nil || o.Id.Get() == nil {
var ret string
return ret
}
return *o.Id.Get()
}
// GetIdOk returns a tuple with the Id field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Id.Get(), o.Id.IsSet()
}
// SetId sets field value
func (o *Template) SetId(v string) {
o.Id.Set(&v)
}
// GetLocked returns the Locked field value
func (o *Template) GetLocked() bool {
if o == nil {
var ret bool
return ret
}
return o.Locked
}
// GetLockedOk returns a tuple with the Locked field value
// and a boolean to check if the value has been set.
func (o *Template) GetLockedOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.Locked, true
}
// SetLocked sets field value
func (o *Template) SetLocked(v bool) {
o.Locked = v
}
// GetMergeAuditTrailPdf returns the MergeAuditTrailPdf field value
func (o *Template) GetMergeAuditTrailPdf() bool {
if o == nil {
var ret bool
return ret
}
return o.MergeAuditTrailPdf
}
// GetMergeAuditTrailPdfOk returns a tuple with the MergeAuditTrailPdf field value
// and a boolean to check if the value has been set.
func (o *Template) GetMergeAuditTrailPdfOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.MergeAuditTrailPdf, true
}
// SetMergeAuditTrailPdf sets field value
func (o *Template) SetMergeAuditTrailPdf(v bool) {
o.MergeAuditTrailPdf = v
}
// GetName returns the Name field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetName() string {
if o == nil || o.Name.Get() == nil {
var ret string
return ret
}
return *o.Name.Get()
}
// GetNameOk returns a tuple with the Name field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Name.Get(), o.Name.IsSet()
}
// SetName sets field value
func (o *Template) SetName(v string) {
o.Name.Set(&v)
}
// GetPageCount returns the PageCount field value
func (o *Template) GetPageCount() int32 {
if o == nil {
var ret int32
return ret
}
return o.PageCount
}
// GetPageCountOk returns a tuple with the PageCount field value
// and a boolean to check if the value has been set.
func (o *Template) GetPageCountOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.PageCount, true
}
// SetPageCount sets field value
func (o *Template) SetPageCount(v int32) {
o.PageCount = v
}
// GetPageDimensions returns the PageDimensions field value
// If the value is explicit nil, the zero value for [][]float32 will be returned
func (o *Template) GetPageDimensions() [][]float32 {
if o == nil {
var ret [][]float32
return ret
}
return o.PageDimensions
}
// GetPageDimensionsOk returns a tuple with the PageDimensions field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetPageDimensionsOk() ([][]float32, bool) {
if o == nil || IsNil(o.PageDimensions) {
return nil, false
}
return o.PageDimensions, true
}
// SetPageDimensions sets field value
func (o *Template) SetPageDimensions(v [][]float32) {
o.PageDimensions = v
}
// GetParentFolderId returns the ParentFolderId field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetParentFolderId() string {
if o == nil || o.ParentFolderId.Get() == nil {
var ret string
return ret
}
return *o.ParentFolderId.Get()
}
// GetParentFolderIdOk returns a tuple with the ParentFolderId field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetParentFolderIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.ParentFolderId.Get(), o.ParentFolderId.IsSet()
}
// SetParentFolderId sets field value
func (o *Template) SetParentFolderId(v string) {
o.ParentFolderId.Set(&v)
}
// GetPath returns the Path field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetPath() string {
if o == nil || o.Path.Get() == nil {
var ret string
return ret
}
return *o.Path.Get()
}
// GetPathOk returns a tuple with the Path field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetPathOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Path.Get(), o.Path.IsSet()
}
// SetPath sets field value
func (o *Template) SetPath(v string) {
o.Path.Set(&v)
}
// GetPermanentDocumentUrl returns the PermanentDocumentUrl field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetPermanentDocumentUrl() string {
if o == nil || o.PermanentDocumentUrl.Get() == nil {
var ret string
return ret
}
return *o.PermanentDocumentUrl.Get()
}
// GetPermanentDocumentUrlOk returns a tuple with the PermanentDocumentUrl field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetPermanentDocumentUrlOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.PermanentDocumentUrl.Get(), o.PermanentDocumentUrl.IsSet()
}
// SetPermanentDocumentUrl sets field value
func (o *Template) SetPermanentDocumentUrl(v string) {
o.PermanentDocumentUrl.Set(&v)
}
// GetPublicSubmissions returns the PublicSubmissions field value
func (o *Template) GetPublicSubmissions() bool {
if o == nil {
var ret bool
return ret
}
return o.PublicSubmissions
}
// GetPublicSubmissionsOk returns a tuple with the PublicSubmissions field value
// and a boolean to check if the value has been set.
func (o *Template) GetPublicSubmissionsOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.PublicSubmissions, true
}
// SetPublicSubmissions sets field value
func (o *Template) SetPublicSubmissions(v bool) {
o.PublicSubmissions = v
}
// GetPublicWebForm returns the PublicWebForm field value
func (o *Template) GetPublicWebForm() bool {
if o == nil {
var ret bool
return ret
}
return o.PublicWebForm
}
// GetPublicWebFormOk returns a tuple with the PublicWebForm field value
// and a boolean to check if the value has been set.
func (o *Template) GetPublicWebFormOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.PublicWebForm, true
}
// SetPublicWebForm sets field value
func (o *Template) SetPublicWebForm(v bool) {
o.PublicWebForm = v
}
// GetRedirectUrl returns the RedirectUrl field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetRedirectUrl() string {
if o == nil || o.RedirectUrl.Get() == nil {
var ret string
return ret
}
return *o.RedirectUrl.Get()
}
// GetRedirectUrlOk returns a tuple with the RedirectUrl field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetRedirectUrlOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.RedirectUrl.Get(), o.RedirectUrl.IsSet()
}
// SetRedirectUrl sets field value
func (o *Template) SetRedirectUrl(v string) {
o.RedirectUrl.Set(&v)
}
// GetSlackWebhookUrl returns the SlackWebhookUrl field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetSlackWebhookUrl() string {
if o == nil || o.SlackWebhookUrl.Get() == nil {
var ret string
return ret
}
return *o.SlackWebhookUrl.Get()
}
// GetSlackWebhookUrlOk returns a tuple with the SlackWebhookUrl field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetSlackWebhookUrlOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.SlackWebhookUrl.Get(), o.SlackWebhookUrl.IsSet()
}
// SetSlackWebhookUrl sets field value
func (o *Template) SetSlackWebhookUrl(v string) {
o.SlackWebhookUrl.Set(&v)
}
// GetTemplateType returns the TemplateType field value
func (o *Template) GetTemplateType() string {
if o == nil {
var ret string
return ret
}
return o.TemplateType
}
// GetTemplateTypeOk returns a tuple with the TemplateType field value
// and a boolean to check if the value has been set.
func (o *Template) GetTemplateTypeOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.TemplateType, true
}
// SetTemplateType sets field value
func (o *Template) SetTemplateType(v string) {
o.TemplateType = v
}
// GetUpdatedAt returns the UpdatedAt field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetUpdatedAt() string {
if o == nil || o.UpdatedAt.Get() == nil {
var ret string
return ret
}
return *o.UpdatedAt.Get()
}
// GetUpdatedAtOk returns a tuple with the UpdatedAt field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Template) GetUpdatedAtOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.UpdatedAt.Get(), o.UpdatedAt.IsSet()
}
// SetUpdatedAt sets field value
func (o *Template) SetUpdatedAt(v string) {
o.UpdatedAt.Set(&v)
}
// GetWebhookUrl returns the WebhookUrl field value
// If the value is explicit nil, the zero value for string will be returned
func (o *Template) GetWebhookUrl() string {
if o == nil || o.WebhookUrl.Get() == nil {
var ret string
return ret
}
return *o.WebhookUrl.Get()
}
// GetWebhookUrlOk returns a tuple with the WebhookUrl field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned