-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_ezsigntemplate_response_compound.go
581 lines (487 loc) · 19.8 KB
/
model_ezsigntemplate_response_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
/*
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 EzsigntemplateResponseCompound type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &EzsigntemplateResponseCompound{}
// EzsigntemplateResponseCompound A Ezsigntemplate Object
type EzsigntemplateResponseCompound struct {
// The unique ID of the Ezsigntemplate
PkiEzsigntemplateID int32 `json:"pkiEzsigntemplateID"`
// The unique ID of the Ezsigntemplatedocument
FkiEzsigntemplatedocumentID *int32 `json:"fkiEzsigntemplatedocumentID,omitempty"`
// The unique ID of the Ezsignfoldertype.
FkiEzsignfoldertypeID *int32 `json:"fkiEzsignfoldertypeID,omitempty"`
// The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|
FkiLanguageID int32 `json:"fkiLanguageID"`
// The Name of the Language in the language of the requester
SLanguageNameX string `json:"sLanguageNameX"`
// The description of the Ezsigntemplate
SEzsigntemplateDescription string `json:"sEzsigntemplateDescription"`
// The filename pattern of the Ezsigntemplate
SEzsigntemplateFilenamepattern *string `json:"sEzsigntemplateFilenamepattern,omitempty"`
// Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)
BEzsigntemplateAdminonly bool `json:"bEzsigntemplateAdminonly"`
// The name of the Ezsignfoldertype in the language of the requester
SEzsignfoldertypeNameX *string `json:"sEzsignfoldertypeNameX,omitempty"`
ObjAudit CommonAudit `json:"objAudit"`
// Whether the Ezsigntemplate if allowed to edit or not
BEzsigntemplateEditallowed bool `json:"bEzsigntemplateEditallowed"`
EEzsigntemplateType *FieldEEzsigntemplateType `json:"eEzsigntemplateType,omitempty"`
ObjEzsigntemplatedocument *EzsigntemplatedocumentResponse `json:"objEzsigntemplatedocument,omitempty"`
AObjEzsigntemplatesigner []EzsigntemplatesignerResponseCompound `json:"a_objEzsigntemplatesigner"`
}
type _EzsigntemplateResponseCompound EzsigntemplateResponseCompound
// NewEzsigntemplateResponseCompound instantiates a new EzsigntemplateResponseCompound 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 NewEzsigntemplateResponseCompound(pkiEzsigntemplateID int32, fkiLanguageID int32, sLanguageNameX string, sEzsigntemplateDescription string, bEzsigntemplateAdminonly bool, objAudit CommonAudit, bEzsigntemplateEditallowed bool, aObjEzsigntemplatesigner []EzsigntemplatesignerResponseCompound) *EzsigntemplateResponseCompound {
this := EzsigntemplateResponseCompound{}
this.PkiEzsigntemplateID = pkiEzsigntemplateID
this.FkiLanguageID = fkiLanguageID
this.SLanguageNameX = sLanguageNameX
this.SEzsigntemplateDescription = sEzsigntemplateDescription
this.BEzsigntemplateAdminonly = bEzsigntemplateAdminonly
this.ObjAudit = objAudit
this.BEzsigntemplateEditallowed = bEzsigntemplateEditallowed
this.AObjEzsigntemplatesigner = aObjEzsigntemplatesigner
return &this
}
// NewEzsigntemplateResponseCompoundWithDefaults instantiates a new EzsigntemplateResponseCompound 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 NewEzsigntemplateResponseCompoundWithDefaults() *EzsigntemplateResponseCompound {
this := EzsigntemplateResponseCompound{}
return &this
}
// GetPkiEzsigntemplateID returns the PkiEzsigntemplateID field value
func (o *EzsigntemplateResponseCompound) GetPkiEzsigntemplateID() int32 {
if o == nil {
var ret int32
return ret
}
return o.PkiEzsigntemplateID
}
// GetPkiEzsigntemplateIDOk returns a tuple with the PkiEzsigntemplateID field value
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetPkiEzsigntemplateIDOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.PkiEzsigntemplateID, true
}
// SetPkiEzsigntemplateID sets field value
func (o *EzsigntemplateResponseCompound) SetPkiEzsigntemplateID(v int32) {
o.PkiEzsigntemplateID = v
}
// GetFkiEzsigntemplatedocumentID returns the FkiEzsigntemplatedocumentID field value if set, zero value otherwise.
func (o *EzsigntemplateResponseCompound) GetFkiEzsigntemplatedocumentID() int32 {
if o == nil || IsNil(o.FkiEzsigntemplatedocumentID) {
var ret int32
return ret
}
return *o.FkiEzsigntemplatedocumentID
}
// GetFkiEzsigntemplatedocumentIDOk returns a tuple with the FkiEzsigntemplatedocumentID field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetFkiEzsigntemplatedocumentIDOk() (*int32, bool) {
if o == nil || IsNil(o.FkiEzsigntemplatedocumentID) {
return nil, false
}
return o.FkiEzsigntemplatedocumentID, true
}
// HasFkiEzsigntemplatedocumentID returns a boolean if a field has been set.
func (o *EzsigntemplateResponseCompound) HasFkiEzsigntemplatedocumentID() bool {
if o != nil && !IsNil(o.FkiEzsigntemplatedocumentID) {
return true
}
return false
}
// SetFkiEzsigntemplatedocumentID gets a reference to the given int32 and assigns it to the FkiEzsigntemplatedocumentID field.
func (o *EzsigntemplateResponseCompound) SetFkiEzsigntemplatedocumentID(v int32) {
o.FkiEzsigntemplatedocumentID = &v
}
// GetFkiEzsignfoldertypeID returns the FkiEzsignfoldertypeID field value if set, zero value otherwise.
func (o *EzsigntemplateResponseCompound) GetFkiEzsignfoldertypeID() int32 {
if o == nil || IsNil(o.FkiEzsignfoldertypeID) {
var ret int32
return ret
}
return *o.FkiEzsignfoldertypeID
}
// GetFkiEzsignfoldertypeIDOk returns a tuple with the FkiEzsignfoldertypeID field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetFkiEzsignfoldertypeIDOk() (*int32, bool) {
if o == nil || IsNil(o.FkiEzsignfoldertypeID) {
return nil, false
}
return o.FkiEzsignfoldertypeID, true
}
// HasFkiEzsignfoldertypeID returns a boolean if a field has been set.
func (o *EzsigntemplateResponseCompound) HasFkiEzsignfoldertypeID() bool {
if o != nil && !IsNil(o.FkiEzsignfoldertypeID) {
return true
}
return false
}
// SetFkiEzsignfoldertypeID gets a reference to the given int32 and assigns it to the FkiEzsignfoldertypeID field.
func (o *EzsigntemplateResponseCompound) SetFkiEzsignfoldertypeID(v int32) {
o.FkiEzsignfoldertypeID = &v
}
// GetFkiLanguageID returns the FkiLanguageID field value
func (o *EzsigntemplateResponseCompound) GetFkiLanguageID() int32 {
if o == nil {
var ret int32
return ret
}
return o.FkiLanguageID
}
// GetFkiLanguageIDOk returns a tuple with the FkiLanguageID field value
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetFkiLanguageIDOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.FkiLanguageID, true
}
// SetFkiLanguageID sets field value
func (o *EzsigntemplateResponseCompound) SetFkiLanguageID(v int32) {
o.FkiLanguageID = v
}
// GetSLanguageNameX returns the SLanguageNameX field value
func (o *EzsigntemplateResponseCompound) GetSLanguageNameX() string {
if o == nil {
var ret string
return ret
}
return o.SLanguageNameX
}
// GetSLanguageNameXOk returns a tuple with the SLanguageNameX field value
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetSLanguageNameXOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.SLanguageNameX, true
}
// SetSLanguageNameX sets field value
func (o *EzsigntemplateResponseCompound) SetSLanguageNameX(v string) {
o.SLanguageNameX = v
}
// GetSEzsigntemplateDescription returns the SEzsigntemplateDescription field value
func (o *EzsigntemplateResponseCompound) GetSEzsigntemplateDescription() string {
if o == nil {
var ret string
return ret
}
return o.SEzsigntemplateDescription
}
// GetSEzsigntemplateDescriptionOk returns a tuple with the SEzsigntemplateDescription field value
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetSEzsigntemplateDescriptionOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.SEzsigntemplateDescription, true
}
// SetSEzsigntemplateDescription sets field value
func (o *EzsigntemplateResponseCompound) SetSEzsigntemplateDescription(v string) {
o.SEzsigntemplateDescription = v
}
// GetSEzsigntemplateFilenamepattern returns the SEzsigntemplateFilenamepattern field value if set, zero value otherwise.
func (o *EzsigntemplateResponseCompound) GetSEzsigntemplateFilenamepattern() string {
if o == nil || IsNil(o.SEzsigntemplateFilenamepattern) {
var ret string
return ret
}
return *o.SEzsigntemplateFilenamepattern
}
// GetSEzsigntemplateFilenamepatternOk returns a tuple with the SEzsigntemplateFilenamepattern field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetSEzsigntemplateFilenamepatternOk() (*string, bool) {
if o == nil || IsNil(o.SEzsigntemplateFilenamepattern) {
return nil, false
}
return o.SEzsigntemplateFilenamepattern, true
}
// HasSEzsigntemplateFilenamepattern returns a boolean if a field has been set.
func (o *EzsigntemplateResponseCompound) HasSEzsigntemplateFilenamepattern() bool {
if o != nil && !IsNil(o.SEzsigntemplateFilenamepattern) {
return true
}
return false
}
// SetSEzsigntemplateFilenamepattern gets a reference to the given string and assigns it to the SEzsigntemplateFilenamepattern field.
func (o *EzsigntemplateResponseCompound) SetSEzsigntemplateFilenamepattern(v string) {
o.SEzsigntemplateFilenamepattern = &v
}
// GetBEzsigntemplateAdminonly returns the BEzsigntemplateAdminonly field value
func (o *EzsigntemplateResponseCompound) GetBEzsigntemplateAdminonly() bool {
if o == nil {
var ret bool
return ret
}
return o.BEzsigntemplateAdminonly
}
// GetBEzsigntemplateAdminonlyOk returns a tuple with the BEzsigntemplateAdminonly field value
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetBEzsigntemplateAdminonlyOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.BEzsigntemplateAdminonly, true
}
// SetBEzsigntemplateAdminonly sets field value
func (o *EzsigntemplateResponseCompound) SetBEzsigntemplateAdminonly(v bool) {
o.BEzsigntemplateAdminonly = v
}
// GetSEzsignfoldertypeNameX returns the SEzsignfoldertypeNameX field value if set, zero value otherwise.
func (o *EzsigntemplateResponseCompound) GetSEzsignfoldertypeNameX() string {
if o == nil || IsNil(o.SEzsignfoldertypeNameX) {
var ret string
return ret
}
return *o.SEzsignfoldertypeNameX
}
// GetSEzsignfoldertypeNameXOk returns a tuple with the SEzsignfoldertypeNameX field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetSEzsignfoldertypeNameXOk() (*string, bool) {
if o == nil || IsNil(o.SEzsignfoldertypeNameX) {
return nil, false
}
return o.SEzsignfoldertypeNameX, true
}
// HasSEzsignfoldertypeNameX returns a boolean if a field has been set.
func (o *EzsigntemplateResponseCompound) HasSEzsignfoldertypeNameX() bool {
if o != nil && !IsNil(o.SEzsignfoldertypeNameX) {
return true
}
return false
}
// SetSEzsignfoldertypeNameX gets a reference to the given string and assigns it to the SEzsignfoldertypeNameX field.
func (o *EzsigntemplateResponseCompound) SetSEzsignfoldertypeNameX(v string) {
o.SEzsignfoldertypeNameX = &v
}
// GetObjAudit returns the ObjAudit field value
func (o *EzsigntemplateResponseCompound) GetObjAudit() CommonAudit {
if o == nil {
var ret CommonAudit
return ret
}
return o.ObjAudit
}
// GetObjAuditOk returns a tuple with the ObjAudit field value
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetObjAuditOk() (*CommonAudit, bool) {
if o == nil {
return nil, false
}
return &o.ObjAudit, true
}
// SetObjAudit sets field value
func (o *EzsigntemplateResponseCompound) SetObjAudit(v CommonAudit) {
o.ObjAudit = v
}
// GetBEzsigntemplateEditallowed returns the BEzsigntemplateEditallowed field value
func (o *EzsigntemplateResponseCompound) GetBEzsigntemplateEditallowed() bool {
if o == nil {
var ret bool
return ret
}
return o.BEzsigntemplateEditallowed
}
// GetBEzsigntemplateEditallowedOk returns a tuple with the BEzsigntemplateEditallowed field value
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetBEzsigntemplateEditallowedOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.BEzsigntemplateEditallowed, true
}
// SetBEzsigntemplateEditallowed sets field value
func (o *EzsigntemplateResponseCompound) SetBEzsigntemplateEditallowed(v bool) {
o.BEzsigntemplateEditallowed = v
}
// GetEEzsigntemplateType returns the EEzsigntemplateType field value if set, zero value otherwise.
func (o *EzsigntemplateResponseCompound) GetEEzsigntemplateType() FieldEEzsigntemplateType {
if o == nil || IsNil(o.EEzsigntemplateType) {
var ret FieldEEzsigntemplateType
return ret
}
return *o.EEzsigntemplateType
}
// GetEEzsigntemplateTypeOk returns a tuple with the EEzsigntemplateType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetEEzsigntemplateTypeOk() (*FieldEEzsigntemplateType, bool) {
if o == nil || IsNil(o.EEzsigntemplateType) {
return nil, false
}
return o.EEzsigntemplateType, true
}
// HasEEzsigntemplateType returns a boolean if a field has been set.
func (o *EzsigntemplateResponseCompound) HasEEzsigntemplateType() bool {
if o != nil && !IsNil(o.EEzsigntemplateType) {
return true
}
return false
}
// SetEEzsigntemplateType gets a reference to the given FieldEEzsigntemplateType and assigns it to the EEzsigntemplateType field.
func (o *EzsigntemplateResponseCompound) SetEEzsigntemplateType(v FieldEEzsigntemplateType) {
o.EEzsigntemplateType = &v
}
// GetObjEzsigntemplatedocument returns the ObjEzsigntemplatedocument field value if set, zero value otherwise.
func (o *EzsigntemplateResponseCompound) GetObjEzsigntemplatedocument() EzsigntemplatedocumentResponse {
if o == nil || IsNil(o.ObjEzsigntemplatedocument) {
var ret EzsigntemplatedocumentResponse
return ret
}
return *o.ObjEzsigntemplatedocument
}
// GetObjEzsigntemplatedocumentOk returns a tuple with the ObjEzsigntemplatedocument field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetObjEzsigntemplatedocumentOk() (*EzsigntemplatedocumentResponse, bool) {
if o == nil || IsNil(o.ObjEzsigntemplatedocument) {
return nil, false
}
return o.ObjEzsigntemplatedocument, true
}
// HasObjEzsigntemplatedocument returns a boolean if a field has been set.
func (o *EzsigntemplateResponseCompound) HasObjEzsigntemplatedocument() bool {
if o != nil && !IsNil(o.ObjEzsigntemplatedocument) {
return true
}
return false
}
// SetObjEzsigntemplatedocument gets a reference to the given EzsigntemplatedocumentResponse and assigns it to the ObjEzsigntemplatedocument field.
func (o *EzsigntemplateResponseCompound) SetObjEzsigntemplatedocument(v EzsigntemplatedocumentResponse) {
o.ObjEzsigntemplatedocument = &v
}
// GetAObjEzsigntemplatesigner returns the AObjEzsigntemplatesigner field value
func (o *EzsigntemplateResponseCompound) GetAObjEzsigntemplatesigner() []EzsigntemplatesignerResponseCompound {
if o == nil {
var ret []EzsigntemplatesignerResponseCompound
return ret
}
return o.AObjEzsigntemplatesigner
}
// GetAObjEzsigntemplatesignerOk returns a tuple with the AObjEzsigntemplatesigner field value
// and a boolean to check if the value has been set.
func (o *EzsigntemplateResponseCompound) GetAObjEzsigntemplatesignerOk() ([]EzsigntemplatesignerResponseCompound, bool) {
if o == nil {
return nil, false
}
return o.AObjEzsigntemplatesigner, true
}
// SetAObjEzsigntemplatesigner sets field value
func (o *EzsigntemplateResponseCompound) SetAObjEzsigntemplatesigner(v []EzsigntemplatesignerResponseCompound) {
o.AObjEzsigntemplatesigner = v
}
func (o EzsigntemplateResponseCompound) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o EzsigntemplateResponseCompound) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["pkiEzsigntemplateID"] = o.PkiEzsigntemplateID
if !IsNil(o.FkiEzsigntemplatedocumentID) {
toSerialize["fkiEzsigntemplatedocumentID"] = o.FkiEzsigntemplatedocumentID
}
if !IsNil(o.FkiEzsignfoldertypeID) {
toSerialize["fkiEzsignfoldertypeID"] = o.FkiEzsignfoldertypeID
}
toSerialize["fkiLanguageID"] = o.FkiLanguageID
toSerialize["sLanguageNameX"] = o.SLanguageNameX
toSerialize["sEzsigntemplateDescription"] = o.SEzsigntemplateDescription
if !IsNil(o.SEzsigntemplateFilenamepattern) {
toSerialize["sEzsigntemplateFilenamepattern"] = o.SEzsigntemplateFilenamepattern
}
toSerialize["bEzsigntemplateAdminonly"] = o.BEzsigntemplateAdminonly
if !IsNil(o.SEzsignfoldertypeNameX) {
toSerialize["sEzsignfoldertypeNameX"] = o.SEzsignfoldertypeNameX
}
toSerialize["objAudit"] = o.ObjAudit
toSerialize["bEzsigntemplateEditallowed"] = o.BEzsigntemplateEditallowed
if !IsNil(o.EEzsigntemplateType) {
toSerialize["eEzsigntemplateType"] = o.EEzsigntemplateType
}
if !IsNil(o.ObjEzsigntemplatedocument) {
toSerialize["objEzsigntemplatedocument"] = o.ObjEzsigntemplatedocument
}
toSerialize["a_objEzsigntemplatesigner"] = o.AObjEzsigntemplatesigner
return toSerialize, nil
}
func (o *EzsigntemplateResponseCompound) 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{
"pkiEzsigntemplateID",
"fkiLanguageID",
"sLanguageNameX",
"sEzsigntemplateDescription",
"bEzsigntemplateAdminonly",
"objAudit",
"bEzsigntemplateEditallowed",
"a_objEzsigntemplatesigner",
}
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)
}
}
varEzsigntemplateResponseCompound := _EzsigntemplateResponseCompound{}
decoder := json.NewDecoder(bytes.NewReader(data))
decoder.DisallowUnknownFields()
err = decoder.Decode(&varEzsigntemplateResponseCompound)
if err != nil {
return err
}
*o = EzsigntemplateResponseCompound(varEzsigntemplateResponseCompound)
return err
}
type NullableEzsigntemplateResponseCompound struct {
value *EzsigntemplateResponseCompound
isSet bool
}
func (v NullableEzsigntemplateResponseCompound) Get() *EzsigntemplateResponseCompound {
return v.value
}
func (v *NullableEzsigntemplateResponseCompound) Set(val *EzsigntemplateResponseCompound) {
v.value = val
v.isSet = true
}
func (v NullableEzsigntemplateResponseCompound) IsSet() bool {
return v.isSet
}
func (v *NullableEzsigntemplateResponseCompound) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableEzsigntemplateResponseCompound(val *EzsigntemplateResponseCompound) *NullableEzsigntemplateResponseCompound {
return &NullableEzsigntemplateResponseCompound{value: val, isSet: true}
}
func (v NullableEzsigntemplateResponseCompound) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableEzsigntemplateResponseCompound) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}