-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_ezsignformfieldgroup_request_compound.go
759 lines (641 loc) · 30.8 KB
/
model_ezsignformfieldgroup_request_compound.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
/*
eZmax API Definition (Full)
This API expose all the functionnalities for the eZmax and eZsign applications.
API version: 1.2.0
Contact: support-api@ezmax.ca
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package eZmaxApi
import (
"encoding/json"
"bytes"
"fmt"
)
// checks if the EzsignformfieldgroupRequestCompound type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &EzsignformfieldgroupRequestCompound{}
// EzsignformfieldgroupRequestCompound An Ezsignformfieldgroup Object and children to create a complete structure
type EzsignformfieldgroupRequestCompound struct {
// The unique ID of the Ezsignformfieldgroup
PkiEzsignformfieldgroupID *int32 `json:"pkiEzsignformfieldgroupID,omitempty"`
// The unique ID of the Ezsigndocument
FkiEzsigndocumentID int32 `json:"fkiEzsigndocumentID"`
EEzsignformfieldgroupType FieldEEzsignformfieldgroupType `json:"eEzsignformfieldgroupType"`
// Deprecated
EEzsignformfieldgroupSignerrequirement *FieldEEzsignformfieldgroupSignerrequirement `json:"eEzsignformfieldgroupSignerrequirement,omitempty"`
// The Label for the Ezsignformfieldgroup
SEzsignformfieldgroupLabel string `json:"sEzsignformfieldgroupLabel"`
// The step when the Ezsignsigner will be invited to fill the form fields
IEzsignformfieldgroupStep int32 `json:"iEzsignformfieldgroupStep"`
// The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |
SEzsignformfieldgroupDefaultvalue *string `json:"sEzsignformfieldgroupDefaultvalue,omitempty"`
// The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup
IEzsignformfieldgroupFilledmin int32 `json:"iEzsignformfieldgroupFilledmin"`
// The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup
IEzsignformfieldgroupFilledmax int32 `json:"iEzsignformfieldgroupFilledmax"`
// Whether the Ezsignformfieldgroup is read only or not.
BEzsignformfieldgroupReadonly bool `json:"bEzsignformfieldgroupReadonly"`
// The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**
IEzsignformfieldgroupMaxlength *int32 `json:"iEzsignformfieldgroupMaxlength,omitempty"`
// Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**
BEzsignformfieldgroupEncrypted *bool `json:"bEzsignformfieldgroupEncrypted,omitempty"`
// A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**
SEzsignformfieldgroupRegexp *string `json:"sEzsignformfieldgroupRegexp,omitempty"`
// A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup
TEzsignformfieldgroupTooltip *string `json:"tEzsignformfieldgroupTooltip,omitempty"`
EEzsignformfieldgroupTooltipposition *FieldEEzsignformfieldgroupTooltipposition `json:"eEzsignformfieldgroupTooltipposition,omitempty"`
EEzsignformfieldgroupTextvalidation *EnumTextvalidation `json:"eEzsignformfieldgroupTextvalidation,omitempty"`
AObjEzsignformfieldgroupsigner []EzsignformfieldgroupsignerRequestCompound `json:"a_objEzsignformfieldgroupsigner"`
AObjDropdownElement []CustomDropdownElementRequestCompound `json:"a_objDropdownElement,omitempty"`
AObjEzsignformfield []EzsignformfieldRequestCompound `json:"a_objEzsignformfield"`
}
type _EzsignformfieldgroupRequestCompound EzsignformfieldgroupRequestCompound
// NewEzsignformfieldgroupRequestCompound instantiates a new EzsignformfieldgroupRequestCompound 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 NewEzsignformfieldgroupRequestCompound(fkiEzsigndocumentID int32, eEzsignformfieldgroupType FieldEEzsignformfieldgroupType, sEzsignformfieldgroupLabel string, iEzsignformfieldgroupStep int32, iEzsignformfieldgroupFilledmin int32, iEzsignformfieldgroupFilledmax int32, bEzsignformfieldgroupReadonly bool, aObjEzsignformfieldgroupsigner []EzsignformfieldgroupsignerRequestCompound, aObjEzsignformfield []EzsignformfieldRequestCompound) *EzsignformfieldgroupRequestCompound {
this := EzsignformfieldgroupRequestCompound{}
this.FkiEzsigndocumentID = fkiEzsigndocumentID
this.EEzsignformfieldgroupType = eEzsignformfieldgroupType
this.SEzsignformfieldgroupLabel = sEzsignformfieldgroupLabel
this.IEzsignformfieldgroupStep = iEzsignformfieldgroupStep
this.IEzsignformfieldgroupFilledmin = iEzsignformfieldgroupFilledmin
this.IEzsignformfieldgroupFilledmax = iEzsignformfieldgroupFilledmax
this.BEzsignformfieldgroupReadonly = bEzsignformfieldgroupReadonly
this.AObjEzsignformfieldgroupsigner = aObjEzsignformfieldgroupsigner
this.AObjEzsignformfield = aObjEzsignformfield
return &this
}
// NewEzsignformfieldgroupRequestCompoundWithDefaults instantiates a new EzsignformfieldgroupRequestCompound 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 NewEzsignformfieldgroupRequestCompoundWithDefaults() *EzsignformfieldgroupRequestCompound {
this := EzsignformfieldgroupRequestCompound{}
return &this
}
// GetPkiEzsignformfieldgroupID returns the PkiEzsignformfieldgroupID field value if set, zero value otherwise.
func (o *EzsignformfieldgroupRequestCompound) GetPkiEzsignformfieldgroupID() int32 {
if o == nil || IsNil(o.PkiEzsignformfieldgroupID) {
var ret int32
return ret
}
return *o.PkiEzsignformfieldgroupID
}
// GetPkiEzsignformfieldgroupIDOk returns a tuple with the PkiEzsignformfieldgroupID field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetPkiEzsignformfieldgroupIDOk() (*int32, bool) {
if o == nil || IsNil(o.PkiEzsignformfieldgroupID) {
return nil, false
}
return o.PkiEzsignformfieldgroupID, true
}
// HasPkiEzsignformfieldgroupID returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasPkiEzsignformfieldgroupID() bool {
if o != nil && !IsNil(o.PkiEzsignformfieldgroupID) {
return true
}
return false
}
// SetPkiEzsignformfieldgroupID gets a reference to the given int32 and assigns it to the PkiEzsignformfieldgroupID field.
func (o *EzsignformfieldgroupRequestCompound) SetPkiEzsignformfieldgroupID(v int32) {
o.PkiEzsignformfieldgroupID = &v
}
// GetFkiEzsigndocumentID returns the FkiEzsigndocumentID field value
func (o *EzsignformfieldgroupRequestCompound) GetFkiEzsigndocumentID() int32 {
if o == nil {
var ret int32
return ret
}
return o.FkiEzsigndocumentID
}
// GetFkiEzsigndocumentIDOk returns a tuple with the FkiEzsigndocumentID field value
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetFkiEzsigndocumentIDOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.FkiEzsigndocumentID, true
}
// SetFkiEzsigndocumentID sets field value
func (o *EzsignformfieldgroupRequestCompound) SetFkiEzsigndocumentID(v int32) {
o.FkiEzsigndocumentID = v
}
// GetEEzsignformfieldgroupType returns the EEzsignformfieldgroupType field value
func (o *EzsignformfieldgroupRequestCompound) GetEEzsignformfieldgroupType() FieldEEzsignformfieldgroupType {
if o == nil {
var ret FieldEEzsignformfieldgroupType
return ret
}
return o.EEzsignformfieldgroupType
}
// GetEEzsignformfieldgroupTypeOk returns a tuple with the EEzsignformfieldgroupType field value
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetEEzsignformfieldgroupTypeOk() (*FieldEEzsignformfieldgroupType, bool) {
if o == nil {
return nil, false
}
return &o.EEzsignformfieldgroupType, true
}
// SetEEzsignformfieldgroupType sets field value
func (o *EzsignformfieldgroupRequestCompound) SetEEzsignformfieldgroupType(v FieldEEzsignformfieldgroupType) {
o.EEzsignformfieldgroupType = v
}
// GetEEzsignformfieldgroupSignerrequirement returns the EEzsignformfieldgroupSignerrequirement field value if set, zero value otherwise.
// Deprecated
func (o *EzsignformfieldgroupRequestCompound) GetEEzsignformfieldgroupSignerrequirement() FieldEEzsignformfieldgroupSignerrequirement {
if o == nil || IsNil(o.EEzsignformfieldgroupSignerrequirement) {
var ret FieldEEzsignformfieldgroupSignerrequirement
return ret
}
return *o.EEzsignformfieldgroupSignerrequirement
}
// GetEEzsignformfieldgroupSignerrequirementOk returns a tuple with the EEzsignformfieldgroupSignerrequirement field value if set, nil otherwise
// and a boolean to check if the value has been set.
// Deprecated
func (o *EzsignformfieldgroupRequestCompound) GetEEzsignformfieldgroupSignerrequirementOk() (*FieldEEzsignformfieldgroupSignerrequirement, bool) {
if o == nil || IsNil(o.EEzsignformfieldgroupSignerrequirement) {
return nil, false
}
return o.EEzsignformfieldgroupSignerrequirement, true
}
// HasEEzsignformfieldgroupSignerrequirement returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasEEzsignformfieldgroupSignerrequirement() bool {
if o != nil && !IsNil(o.EEzsignformfieldgroupSignerrequirement) {
return true
}
return false
}
// SetEEzsignformfieldgroupSignerrequirement gets a reference to the given FieldEEzsignformfieldgroupSignerrequirement and assigns it to the EEzsignformfieldgroupSignerrequirement field.
// Deprecated
func (o *EzsignformfieldgroupRequestCompound) SetEEzsignformfieldgroupSignerrequirement(v FieldEEzsignformfieldgroupSignerrequirement) {
o.EEzsignformfieldgroupSignerrequirement = &v
}
// GetSEzsignformfieldgroupLabel returns the SEzsignformfieldgroupLabel field value
func (o *EzsignformfieldgroupRequestCompound) GetSEzsignformfieldgroupLabel() string {
if o == nil {
var ret string
return ret
}
return o.SEzsignformfieldgroupLabel
}
// GetSEzsignformfieldgroupLabelOk returns a tuple with the SEzsignformfieldgroupLabel field value
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetSEzsignformfieldgroupLabelOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.SEzsignformfieldgroupLabel, true
}
// SetSEzsignformfieldgroupLabel sets field value
func (o *EzsignformfieldgroupRequestCompound) SetSEzsignformfieldgroupLabel(v string) {
o.SEzsignformfieldgroupLabel = v
}
// GetIEzsignformfieldgroupStep returns the IEzsignformfieldgroupStep field value
func (o *EzsignformfieldgroupRequestCompound) GetIEzsignformfieldgroupStep() int32 {
if o == nil {
var ret int32
return ret
}
return o.IEzsignformfieldgroupStep
}
// GetIEzsignformfieldgroupStepOk returns a tuple with the IEzsignformfieldgroupStep field value
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetIEzsignformfieldgroupStepOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.IEzsignformfieldgroupStep, true
}
// SetIEzsignformfieldgroupStep sets field value
func (o *EzsignformfieldgroupRequestCompound) SetIEzsignformfieldgroupStep(v int32) {
o.IEzsignformfieldgroupStep = v
}
// GetSEzsignformfieldgroupDefaultvalue returns the SEzsignformfieldgroupDefaultvalue field value if set, zero value otherwise.
func (o *EzsignformfieldgroupRequestCompound) GetSEzsignformfieldgroupDefaultvalue() string {
if o == nil || IsNil(o.SEzsignformfieldgroupDefaultvalue) {
var ret string
return ret
}
return *o.SEzsignformfieldgroupDefaultvalue
}
// GetSEzsignformfieldgroupDefaultvalueOk returns a tuple with the SEzsignformfieldgroupDefaultvalue field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetSEzsignformfieldgroupDefaultvalueOk() (*string, bool) {
if o == nil || IsNil(o.SEzsignformfieldgroupDefaultvalue) {
return nil, false
}
return o.SEzsignformfieldgroupDefaultvalue, true
}
// HasSEzsignformfieldgroupDefaultvalue returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasSEzsignformfieldgroupDefaultvalue() bool {
if o != nil && !IsNil(o.SEzsignformfieldgroupDefaultvalue) {
return true
}
return false
}
// SetSEzsignformfieldgroupDefaultvalue gets a reference to the given string and assigns it to the SEzsignformfieldgroupDefaultvalue field.
func (o *EzsignformfieldgroupRequestCompound) SetSEzsignformfieldgroupDefaultvalue(v string) {
o.SEzsignformfieldgroupDefaultvalue = &v
}
// GetIEzsignformfieldgroupFilledmin returns the IEzsignformfieldgroupFilledmin field value
func (o *EzsignformfieldgroupRequestCompound) GetIEzsignformfieldgroupFilledmin() int32 {
if o == nil {
var ret int32
return ret
}
return o.IEzsignformfieldgroupFilledmin
}
// GetIEzsignformfieldgroupFilledminOk returns a tuple with the IEzsignformfieldgroupFilledmin field value
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetIEzsignformfieldgroupFilledminOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.IEzsignformfieldgroupFilledmin, true
}
// SetIEzsignformfieldgroupFilledmin sets field value
func (o *EzsignformfieldgroupRequestCompound) SetIEzsignformfieldgroupFilledmin(v int32) {
o.IEzsignformfieldgroupFilledmin = v
}
// GetIEzsignformfieldgroupFilledmax returns the IEzsignformfieldgroupFilledmax field value
func (o *EzsignformfieldgroupRequestCompound) GetIEzsignformfieldgroupFilledmax() int32 {
if o == nil {
var ret int32
return ret
}
return o.IEzsignformfieldgroupFilledmax
}
// GetIEzsignformfieldgroupFilledmaxOk returns a tuple with the IEzsignformfieldgroupFilledmax field value
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetIEzsignformfieldgroupFilledmaxOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.IEzsignformfieldgroupFilledmax, true
}
// SetIEzsignformfieldgroupFilledmax sets field value
func (o *EzsignformfieldgroupRequestCompound) SetIEzsignformfieldgroupFilledmax(v int32) {
o.IEzsignformfieldgroupFilledmax = v
}
// GetBEzsignformfieldgroupReadonly returns the BEzsignformfieldgroupReadonly field value
func (o *EzsignformfieldgroupRequestCompound) GetBEzsignformfieldgroupReadonly() bool {
if o == nil {
var ret bool
return ret
}
return o.BEzsignformfieldgroupReadonly
}
// GetBEzsignformfieldgroupReadonlyOk returns a tuple with the BEzsignformfieldgroupReadonly field value
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetBEzsignformfieldgroupReadonlyOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.BEzsignformfieldgroupReadonly, true
}
// SetBEzsignformfieldgroupReadonly sets field value
func (o *EzsignformfieldgroupRequestCompound) SetBEzsignformfieldgroupReadonly(v bool) {
o.BEzsignformfieldgroupReadonly = v
}
// GetIEzsignformfieldgroupMaxlength returns the IEzsignformfieldgroupMaxlength field value if set, zero value otherwise.
func (o *EzsignformfieldgroupRequestCompound) GetIEzsignformfieldgroupMaxlength() int32 {
if o == nil || IsNil(o.IEzsignformfieldgroupMaxlength) {
var ret int32
return ret
}
return *o.IEzsignformfieldgroupMaxlength
}
// GetIEzsignformfieldgroupMaxlengthOk returns a tuple with the IEzsignformfieldgroupMaxlength field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetIEzsignformfieldgroupMaxlengthOk() (*int32, bool) {
if o == nil || IsNil(o.IEzsignformfieldgroupMaxlength) {
return nil, false
}
return o.IEzsignformfieldgroupMaxlength, true
}
// HasIEzsignformfieldgroupMaxlength returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasIEzsignformfieldgroupMaxlength() bool {
if o != nil && !IsNil(o.IEzsignformfieldgroupMaxlength) {
return true
}
return false
}
// SetIEzsignformfieldgroupMaxlength gets a reference to the given int32 and assigns it to the IEzsignformfieldgroupMaxlength field.
func (o *EzsignformfieldgroupRequestCompound) SetIEzsignformfieldgroupMaxlength(v int32) {
o.IEzsignformfieldgroupMaxlength = &v
}
// GetBEzsignformfieldgroupEncrypted returns the BEzsignformfieldgroupEncrypted field value if set, zero value otherwise.
func (o *EzsignformfieldgroupRequestCompound) GetBEzsignformfieldgroupEncrypted() bool {
if o == nil || IsNil(o.BEzsignformfieldgroupEncrypted) {
var ret bool
return ret
}
return *o.BEzsignformfieldgroupEncrypted
}
// GetBEzsignformfieldgroupEncryptedOk returns a tuple with the BEzsignformfieldgroupEncrypted field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetBEzsignformfieldgroupEncryptedOk() (*bool, bool) {
if o == nil || IsNil(o.BEzsignformfieldgroupEncrypted) {
return nil, false
}
return o.BEzsignformfieldgroupEncrypted, true
}
// HasBEzsignformfieldgroupEncrypted returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasBEzsignformfieldgroupEncrypted() bool {
if o != nil && !IsNil(o.BEzsignformfieldgroupEncrypted) {
return true
}
return false
}
// SetBEzsignformfieldgroupEncrypted gets a reference to the given bool and assigns it to the BEzsignformfieldgroupEncrypted field.
func (o *EzsignformfieldgroupRequestCompound) SetBEzsignformfieldgroupEncrypted(v bool) {
o.BEzsignformfieldgroupEncrypted = &v
}
// GetSEzsignformfieldgroupRegexp returns the SEzsignformfieldgroupRegexp field value if set, zero value otherwise.
func (o *EzsignformfieldgroupRequestCompound) GetSEzsignformfieldgroupRegexp() string {
if o == nil || IsNil(o.SEzsignformfieldgroupRegexp) {
var ret string
return ret
}
return *o.SEzsignformfieldgroupRegexp
}
// GetSEzsignformfieldgroupRegexpOk returns a tuple with the SEzsignformfieldgroupRegexp field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetSEzsignformfieldgroupRegexpOk() (*string, bool) {
if o == nil || IsNil(o.SEzsignformfieldgroupRegexp) {
return nil, false
}
return o.SEzsignformfieldgroupRegexp, true
}
// HasSEzsignformfieldgroupRegexp returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasSEzsignformfieldgroupRegexp() bool {
if o != nil && !IsNil(o.SEzsignformfieldgroupRegexp) {
return true
}
return false
}
// SetSEzsignformfieldgroupRegexp gets a reference to the given string and assigns it to the SEzsignformfieldgroupRegexp field.
func (o *EzsignformfieldgroupRequestCompound) SetSEzsignformfieldgroupRegexp(v string) {
o.SEzsignformfieldgroupRegexp = &v
}
// GetTEzsignformfieldgroupTooltip returns the TEzsignformfieldgroupTooltip field value if set, zero value otherwise.
func (o *EzsignformfieldgroupRequestCompound) GetTEzsignformfieldgroupTooltip() string {
if o == nil || IsNil(o.TEzsignformfieldgroupTooltip) {
var ret string
return ret
}
return *o.TEzsignformfieldgroupTooltip
}
// GetTEzsignformfieldgroupTooltipOk returns a tuple with the TEzsignformfieldgroupTooltip field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetTEzsignformfieldgroupTooltipOk() (*string, bool) {
if o == nil || IsNil(o.TEzsignformfieldgroupTooltip) {
return nil, false
}
return o.TEzsignformfieldgroupTooltip, true
}
// HasTEzsignformfieldgroupTooltip returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasTEzsignformfieldgroupTooltip() bool {
if o != nil && !IsNil(o.TEzsignformfieldgroupTooltip) {
return true
}
return false
}
// SetTEzsignformfieldgroupTooltip gets a reference to the given string and assigns it to the TEzsignformfieldgroupTooltip field.
func (o *EzsignformfieldgroupRequestCompound) SetTEzsignformfieldgroupTooltip(v string) {
o.TEzsignformfieldgroupTooltip = &v
}
// GetEEzsignformfieldgroupTooltipposition returns the EEzsignformfieldgroupTooltipposition field value if set, zero value otherwise.
func (o *EzsignformfieldgroupRequestCompound) GetEEzsignformfieldgroupTooltipposition() FieldEEzsignformfieldgroupTooltipposition {
if o == nil || IsNil(o.EEzsignformfieldgroupTooltipposition) {
var ret FieldEEzsignformfieldgroupTooltipposition
return ret
}
return *o.EEzsignformfieldgroupTooltipposition
}
// GetEEzsignformfieldgroupTooltippositionOk returns a tuple with the EEzsignformfieldgroupTooltipposition field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetEEzsignformfieldgroupTooltippositionOk() (*FieldEEzsignformfieldgroupTooltipposition, bool) {
if o == nil || IsNil(o.EEzsignformfieldgroupTooltipposition) {
return nil, false
}
return o.EEzsignformfieldgroupTooltipposition, true
}
// HasEEzsignformfieldgroupTooltipposition returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasEEzsignformfieldgroupTooltipposition() bool {
if o != nil && !IsNil(o.EEzsignformfieldgroupTooltipposition) {
return true
}
return false
}
// SetEEzsignformfieldgroupTooltipposition gets a reference to the given FieldEEzsignformfieldgroupTooltipposition and assigns it to the EEzsignformfieldgroupTooltipposition field.
func (o *EzsignformfieldgroupRequestCompound) SetEEzsignformfieldgroupTooltipposition(v FieldEEzsignformfieldgroupTooltipposition) {
o.EEzsignformfieldgroupTooltipposition = &v
}
// GetEEzsignformfieldgroupTextvalidation returns the EEzsignformfieldgroupTextvalidation field value if set, zero value otherwise.
func (o *EzsignformfieldgroupRequestCompound) GetEEzsignformfieldgroupTextvalidation() EnumTextvalidation {
if o == nil || IsNil(o.EEzsignformfieldgroupTextvalidation) {
var ret EnumTextvalidation
return ret
}
return *o.EEzsignformfieldgroupTextvalidation
}
// GetEEzsignformfieldgroupTextvalidationOk returns a tuple with the EEzsignformfieldgroupTextvalidation field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetEEzsignformfieldgroupTextvalidationOk() (*EnumTextvalidation, bool) {
if o == nil || IsNil(o.EEzsignformfieldgroupTextvalidation) {
return nil, false
}
return o.EEzsignformfieldgroupTextvalidation, true
}
// HasEEzsignformfieldgroupTextvalidation returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasEEzsignformfieldgroupTextvalidation() bool {
if o != nil && !IsNil(o.EEzsignformfieldgroupTextvalidation) {
return true
}
return false
}
// SetEEzsignformfieldgroupTextvalidation gets a reference to the given EnumTextvalidation and assigns it to the EEzsignformfieldgroupTextvalidation field.
func (o *EzsignformfieldgroupRequestCompound) SetEEzsignformfieldgroupTextvalidation(v EnumTextvalidation) {
o.EEzsignformfieldgroupTextvalidation = &v
}
// GetAObjEzsignformfieldgroupsigner returns the AObjEzsignformfieldgroupsigner field value
func (o *EzsignformfieldgroupRequestCompound) GetAObjEzsignformfieldgroupsigner() []EzsignformfieldgroupsignerRequestCompound {
if o == nil {
var ret []EzsignformfieldgroupsignerRequestCompound
return ret
}
return o.AObjEzsignformfieldgroupsigner
}
// GetAObjEzsignformfieldgroupsignerOk returns a tuple with the AObjEzsignformfieldgroupsigner field value
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetAObjEzsignformfieldgroupsignerOk() ([]EzsignformfieldgroupsignerRequestCompound, bool) {
if o == nil {
return nil, false
}
return o.AObjEzsignformfieldgroupsigner, true
}
// SetAObjEzsignformfieldgroupsigner sets field value
func (o *EzsignformfieldgroupRequestCompound) SetAObjEzsignformfieldgroupsigner(v []EzsignformfieldgroupsignerRequestCompound) {
o.AObjEzsignformfieldgroupsigner = v
}
// GetAObjDropdownElement returns the AObjDropdownElement field value if set, zero value otherwise.
func (o *EzsignformfieldgroupRequestCompound) GetAObjDropdownElement() []CustomDropdownElementRequestCompound {
if o == nil || IsNil(o.AObjDropdownElement) {
var ret []CustomDropdownElementRequestCompound
return ret
}
return o.AObjDropdownElement
}
// GetAObjDropdownElementOk returns a tuple with the AObjDropdownElement field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetAObjDropdownElementOk() ([]CustomDropdownElementRequestCompound, bool) {
if o == nil || IsNil(o.AObjDropdownElement) {
return nil, false
}
return o.AObjDropdownElement, true
}
// HasAObjDropdownElement returns a boolean if a field has been set.
func (o *EzsignformfieldgroupRequestCompound) HasAObjDropdownElement() bool {
if o != nil && !IsNil(o.AObjDropdownElement) {
return true
}
return false
}
// SetAObjDropdownElement gets a reference to the given []CustomDropdownElementRequestCompound and assigns it to the AObjDropdownElement field.
func (o *EzsignformfieldgroupRequestCompound) SetAObjDropdownElement(v []CustomDropdownElementRequestCompound) {
o.AObjDropdownElement = v
}
// GetAObjEzsignformfield returns the AObjEzsignformfield field value
func (o *EzsignformfieldgroupRequestCompound) GetAObjEzsignformfield() []EzsignformfieldRequestCompound {
if o == nil {
var ret []EzsignformfieldRequestCompound
return ret
}
return o.AObjEzsignformfield
}
// GetAObjEzsignformfieldOk returns a tuple with the AObjEzsignformfield field value
// and a boolean to check if the value has been set.
func (o *EzsignformfieldgroupRequestCompound) GetAObjEzsignformfieldOk() ([]EzsignformfieldRequestCompound, bool) {
if o == nil {
return nil, false
}
return o.AObjEzsignformfield, true
}
// SetAObjEzsignformfield sets field value
func (o *EzsignformfieldgroupRequestCompound) SetAObjEzsignformfield(v []EzsignformfieldRequestCompound) {
o.AObjEzsignformfield = v
}
func (o EzsignformfieldgroupRequestCompound) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o EzsignformfieldgroupRequestCompound) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.PkiEzsignformfieldgroupID) {
toSerialize["pkiEzsignformfieldgroupID"] = o.PkiEzsignformfieldgroupID
}
toSerialize["fkiEzsigndocumentID"] = o.FkiEzsigndocumentID
toSerialize["eEzsignformfieldgroupType"] = o.EEzsignformfieldgroupType
if !IsNil(o.EEzsignformfieldgroupSignerrequirement) {
toSerialize["eEzsignformfieldgroupSignerrequirement"] = o.EEzsignformfieldgroupSignerrequirement
}
toSerialize["sEzsignformfieldgroupLabel"] = o.SEzsignformfieldgroupLabel
toSerialize["iEzsignformfieldgroupStep"] = o.IEzsignformfieldgroupStep
if !IsNil(o.SEzsignformfieldgroupDefaultvalue) {
toSerialize["sEzsignformfieldgroupDefaultvalue"] = o.SEzsignformfieldgroupDefaultvalue
}
toSerialize["iEzsignformfieldgroupFilledmin"] = o.IEzsignformfieldgroupFilledmin
toSerialize["iEzsignformfieldgroupFilledmax"] = o.IEzsignformfieldgroupFilledmax
toSerialize["bEzsignformfieldgroupReadonly"] = o.BEzsignformfieldgroupReadonly
if !IsNil(o.IEzsignformfieldgroupMaxlength) {
toSerialize["iEzsignformfieldgroupMaxlength"] = o.IEzsignformfieldgroupMaxlength
}
if !IsNil(o.BEzsignformfieldgroupEncrypted) {
toSerialize["bEzsignformfieldgroupEncrypted"] = o.BEzsignformfieldgroupEncrypted
}
if !IsNil(o.SEzsignformfieldgroupRegexp) {
toSerialize["sEzsignformfieldgroupRegexp"] = o.SEzsignformfieldgroupRegexp
}
if !IsNil(o.TEzsignformfieldgroupTooltip) {
toSerialize["tEzsignformfieldgroupTooltip"] = o.TEzsignformfieldgroupTooltip
}
if !IsNil(o.EEzsignformfieldgroupTooltipposition) {
toSerialize["eEzsignformfieldgroupTooltipposition"] = o.EEzsignformfieldgroupTooltipposition
}
if !IsNil(o.EEzsignformfieldgroupTextvalidation) {
toSerialize["eEzsignformfieldgroupTextvalidation"] = o.EEzsignformfieldgroupTextvalidation
}
toSerialize["a_objEzsignformfieldgroupsigner"] = o.AObjEzsignformfieldgroupsigner
if !IsNil(o.AObjDropdownElement) {
toSerialize["a_objDropdownElement"] = o.AObjDropdownElement
}
toSerialize["a_objEzsignformfield"] = o.AObjEzsignformfield
return toSerialize, nil
}
func (o *EzsignformfieldgroupRequestCompound) UnmarshalJSON(data []byte) (err error) {
// This validates that all required properties are included in the JSON object
// by unmarshalling the object into a generic map with string keys and checking
// that every required field exists as a key in the generic map.
requiredProperties := []string{
"fkiEzsigndocumentID",
"eEzsignformfieldgroupType",
"sEzsignformfieldgroupLabel",
"iEzsignformfieldgroupStep",
"iEzsignformfieldgroupFilledmin",
"iEzsignformfieldgroupFilledmax",
"bEzsignformfieldgroupReadonly",
"a_objEzsignformfieldgroupsigner",
"a_objEzsignformfield",
}
allProperties := make(map[string]interface{})
err = json.Unmarshal(data, &allProperties)
if err != nil {
return err;
}
for _, requiredProperty := range(requiredProperties) {
if _, exists := allProperties[requiredProperty]; !exists {
return fmt.Errorf("no value given for required property %v", requiredProperty)
}
}
varEzsignformfieldgroupRequestCompound := _EzsignformfieldgroupRequestCompound{}
decoder := json.NewDecoder(bytes.NewReader(data))
decoder.DisallowUnknownFields()
err = decoder.Decode(&varEzsignformfieldgroupRequestCompound)
if err != nil {
return err
}
*o = EzsignformfieldgroupRequestCompound(varEzsignformfieldgroupRequestCompound)
return err
}
type NullableEzsignformfieldgroupRequestCompound struct {
value *EzsignformfieldgroupRequestCompound
isSet bool
}
func (v NullableEzsignformfieldgroupRequestCompound) Get() *EzsignformfieldgroupRequestCompound {
return v.value
}
func (v *NullableEzsignformfieldgroupRequestCompound) Set(val *EzsignformfieldgroupRequestCompound) {
v.value = val
v.isSet = true
}
func (v NullableEzsignformfieldgroupRequestCompound) IsSet() bool {
return v.isSet
}
func (v *NullableEzsignformfieldgroupRequestCompound) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableEzsignformfieldgroupRequestCompound(val *EzsignformfieldgroupRequestCompound) *NullableEzsignformfieldgroupRequestCompound {
return &NullableEzsignformfieldgroupRequestCompound{value: val, isSet: true}
}
func (v NullableEzsignformfieldgroupRequestCompound) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableEzsignformfieldgroupRequestCompound) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}