-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmodel_responses_hyperlane_transfer.go
More file actions
705 lines (599 loc) · 19.4 KB
/
model_responses_hyperlane_transfer.go
File metadata and controls
705 lines (599 loc) · 19.4 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
/*
Celenium API
Celenium API is a powerful tool to access all blockchain data that is processed and indexed by our proprietary indexer. With Celenium API you can retrieve all historical data, off-chain data, blobs and statistics through our REST API. Celenium API indexer are open source, which allows you to not depend on third-party services. You can clone, build and run them independently, giving you full control over all components. If you have any questions or feature requests, please feel free to contact us. We appreciate your feedback!
API version: 1.0
Contact: celenium@pklabs.me
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package celenium
import (
"encoding/json"
"os"
"time"
)
// checks if the ResponsesHyperlaneTransfer type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &ResponsesHyperlaneTransfer{}
// ResponsesHyperlaneTransfer struct for ResponsesHyperlaneTransfer
type ResponsesHyperlaneTransfer struct {
Address *ResponsesShortAddress `json:"address,omitempty"`
Body *string `json:"body,omitempty"`
Counterparty *ResponsesHyperlaneCounterparty `json:"counterparty,omitempty"`
Denom *string `json:"denom,omitempty"`
GasPayment *ResponsesGasPayment `json:"gas_payment,omitempty"`
Height *int64 `json:"height,omitempty"`
Id *int64 `json:"id,omitempty"`
Mailbox **os.File `json:"mailbox,omitempty"`
Metadata *string `json:"metadata,omitempty"`
Nonce *int64 `json:"nonce,omitempty"`
Received *string `json:"received,omitempty"`
Relayer *ResponsesShortAddress `json:"relayer,omitempty"`
Time *time.Time `json:"time,omitempty"`
TokenId **os.File `json:"token_id,omitempty"`
TxHash **os.File `json:"tx_hash,omitempty"`
Type *string `json:"type,omitempty"`
Version *int64 `json:"version,omitempty"`
}
// NewResponsesHyperlaneTransfer instantiates a new ResponsesHyperlaneTransfer 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 NewResponsesHyperlaneTransfer() *ResponsesHyperlaneTransfer {
this := ResponsesHyperlaneTransfer{}
return &this
}
// NewResponsesHyperlaneTransferWithDefaults instantiates a new ResponsesHyperlaneTransfer 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 NewResponsesHyperlaneTransferWithDefaults() *ResponsesHyperlaneTransfer {
this := ResponsesHyperlaneTransfer{}
return &this
}
// GetAddress returns the Address field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetAddress() ResponsesShortAddress {
if o == nil || IsNil(o.Address) {
var ret ResponsesShortAddress
return ret
}
return *o.Address
}
// GetAddressOk returns a tuple with the Address field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetAddressOk() (*ResponsesShortAddress, bool) {
if o == nil || IsNil(o.Address) {
return nil, false
}
return o.Address, true
}
// HasAddress returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasAddress() bool {
if o != nil && !IsNil(o.Address) {
return true
}
return false
}
// SetAddress gets a reference to the given ResponsesShortAddress and assigns it to the Address field.
func (o *ResponsesHyperlaneTransfer) SetAddress(v ResponsesShortAddress) {
o.Address = &v
}
// GetBody returns the Body field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetBody() string {
if o == nil || IsNil(o.Body) {
var ret string
return ret
}
return *o.Body
}
// GetBodyOk returns a tuple with the Body field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetBodyOk() (*string, bool) {
if o == nil || IsNil(o.Body) {
return nil, false
}
return o.Body, true
}
// HasBody returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasBody() bool {
if o != nil && !IsNil(o.Body) {
return true
}
return false
}
// SetBody gets a reference to the given string and assigns it to the Body field.
func (o *ResponsesHyperlaneTransfer) SetBody(v string) {
o.Body = &v
}
// GetCounterparty returns the Counterparty field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetCounterparty() ResponsesHyperlaneCounterparty {
if o == nil || IsNil(o.Counterparty) {
var ret ResponsesHyperlaneCounterparty
return ret
}
return *o.Counterparty
}
// GetCounterpartyOk returns a tuple with the Counterparty field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetCounterpartyOk() (*ResponsesHyperlaneCounterparty, bool) {
if o == nil || IsNil(o.Counterparty) {
return nil, false
}
return o.Counterparty, true
}
// HasCounterparty returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasCounterparty() bool {
if o != nil && !IsNil(o.Counterparty) {
return true
}
return false
}
// SetCounterparty gets a reference to the given ResponsesHyperlaneCounterparty and assigns it to the Counterparty field.
func (o *ResponsesHyperlaneTransfer) SetCounterparty(v ResponsesHyperlaneCounterparty) {
o.Counterparty = &v
}
// GetDenom returns the Denom field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetDenom() string {
if o == nil || IsNil(o.Denom) {
var ret string
return ret
}
return *o.Denom
}
// GetDenomOk returns a tuple with the Denom field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetDenomOk() (*string, bool) {
if o == nil || IsNil(o.Denom) {
return nil, false
}
return o.Denom, true
}
// HasDenom returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasDenom() bool {
if o != nil && !IsNil(o.Denom) {
return true
}
return false
}
// SetDenom gets a reference to the given string and assigns it to the Denom field.
func (o *ResponsesHyperlaneTransfer) SetDenom(v string) {
o.Denom = &v
}
// GetGasPayment returns the GasPayment field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetGasPayment() ResponsesGasPayment {
if o == nil || IsNil(o.GasPayment) {
var ret ResponsesGasPayment
return ret
}
return *o.GasPayment
}
// GetGasPaymentOk returns a tuple with the GasPayment field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetGasPaymentOk() (*ResponsesGasPayment, bool) {
if o == nil || IsNil(o.GasPayment) {
return nil, false
}
return o.GasPayment, true
}
// HasGasPayment returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasGasPayment() bool {
if o != nil && !IsNil(o.GasPayment) {
return true
}
return false
}
// SetGasPayment gets a reference to the given ResponsesGasPayment and assigns it to the GasPayment field.
func (o *ResponsesHyperlaneTransfer) SetGasPayment(v ResponsesGasPayment) {
o.GasPayment = &v
}
// GetHeight returns the Height field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetHeight() int64 {
if o == nil || IsNil(o.Height) {
var ret int64
return ret
}
return *o.Height
}
// GetHeightOk returns a tuple with the Height field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetHeightOk() (*int64, bool) {
if o == nil || IsNil(o.Height) {
return nil, false
}
return o.Height, true
}
// HasHeight returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasHeight() bool {
if o != nil && !IsNil(o.Height) {
return true
}
return false
}
// SetHeight gets a reference to the given int64 and assigns it to the Height field.
func (o *ResponsesHyperlaneTransfer) SetHeight(v int64) {
o.Height = &v
}
// GetId returns the Id field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetId() int64 {
if o == nil || IsNil(o.Id) {
var ret int64
return ret
}
return *o.Id
}
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetIdOk() (*int64, bool) {
if o == nil || IsNil(o.Id) {
return nil, false
}
return o.Id, true
}
// HasId returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasId() bool {
if o != nil && !IsNil(o.Id) {
return true
}
return false
}
// SetId gets a reference to the given int64 and assigns it to the Id field.
func (o *ResponsesHyperlaneTransfer) SetId(v int64) {
o.Id = &v
}
// GetMailbox returns the Mailbox field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetMailbox() *os.File {
if o == nil || IsNil(o.Mailbox) {
var ret *os.File
return ret
}
return *o.Mailbox
}
// GetMailboxOk returns a tuple with the Mailbox field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetMailboxOk() (**os.File, bool) {
if o == nil || IsNil(o.Mailbox) {
return nil, false
}
return o.Mailbox, true
}
// HasMailbox returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasMailbox() bool {
if o != nil && !IsNil(o.Mailbox) {
return true
}
return false
}
// SetMailbox gets a reference to the given *os.File and assigns it to the Mailbox field.
func (o *ResponsesHyperlaneTransfer) SetMailbox(v *os.File) {
o.Mailbox = &v
}
// GetMetadata returns the Metadata field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetMetadata() string {
if o == nil || IsNil(o.Metadata) {
var ret string
return ret
}
return *o.Metadata
}
// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetMetadataOk() (*string, bool) {
if o == nil || IsNil(o.Metadata) {
return nil, false
}
return o.Metadata, true
}
// HasMetadata returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasMetadata() bool {
if o != nil && !IsNil(o.Metadata) {
return true
}
return false
}
// SetMetadata gets a reference to the given string and assigns it to the Metadata field.
func (o *ResponsesHyperlaneTransfer) SetMetadata(v string) {
o.Metadata = &v
}
// GetNonce returns the Nonce field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetNonce() int64 {
if o == nil || IsNil(o.Nonce) {
var ret int64
return ret
}
return *o.Nonce
}
// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetNonceOk() (*int64, bool) {
if o == nil || IsNil(o.Nonce) {
return nil, false
}
return o.Nonce, true
}
// HasNonce returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasNonce() bool {
if o != nil && !IsNil(o.Nonce) {
return true
}
return false
}
// SetNonce gets a reference to the given int64 and assigns it to the Nonce field.
func (o *ResponsesHyperlaneTransfer) SetNonce(v int64) {
o.Nonce = &v
}
// GetReceived returns the Received field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetReceived() string {
if o == nil || IsNil(o.Received) {
var ret string
return ret
}
return *o.Received
}
// GetReceivedOk returns a tuple with the Received field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetReceivedOk() (*string, bool) {
if o == nil || IsNil(o.Received) {
return nil, false
}
return o.Received, true
}
// HasReceived returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasReceived() bool {
if o != nil && !IsNil(o.Received) {
return true
}
return false
}
// SetReceived gets a reference to the given string and assigns it to the Received field.
func (o *ResponsesHyperlaneTransfer) SetReceived(v string) {
o.Received = &v
}
// GetRelayer returns the Relayer field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetRelayer() ResponsesShortAddress {
if o == nil || IsNil(o.Relayer) {
var ret ResponsesShortAddress
return ret
}
return *o.Relayer
}
// GetRelayerOk returns a tuple with the Relayer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetRelayerOk() (*ResponsesShortAddress, bool) {
if o == nil || IsNil(o.Relayer) {
return nil, false
}
return o.Relayer, true
}
// HasRelayer returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasRelayer() bool {
if o != nil && !IsNil(o.Relayer) {
return true
}
return false
}
// SetRelayer gets a reference to the given ResponsesShortAddress and assigns it to the Relayer field.
func (o *ResponsesHyperlaneTransfer) SetRelayer(v ResponsesShortAddress) {
o.Relayer = &v
}
// GetTime returns the Time field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetTime() time.Time {
if o == nil || IsNil(o.Time) {
var ret time.Time
return ret
}
return *o.Time
}
// GetTimeOk returns a tuple with the Time field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetTimeOk() (*time.Time, bool) {
if o == nil || IsNil(o.Time) {
return nil, false
}
return o.Time, true
}
// HasTime returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasTime() bool {
if o != nil && !IsNil(o.Time) {
return true
}
return false
}
// SetTime gets a reference to the given time.Time and assigns it to the Time field.
func (o *ResponsesHyperlaneTransfer) SetTime(v time.Time) {
o.Time = &v
}
// GetTokenId returns the TokenId field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetTokenId() *os.File {
if o == nil || IsNil(o.TokenId) {
var ret *os.File
return ret
}
return *o.TokenId
}
// GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetTokenIdOk() (**os.File, bool) {
if o == nil || IsNil(o.TokenId) {
return nil, false
}
return o.TokenId, true
}
// HasTokenId returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasTokenId() bool {
if o != nil && !IsNil(o.TokenId) {
return true
}
return false
}
// SetTokenId gets a reference to the given *os.File and assigns it to the TokenId field.
func (o *ResponsesHyperlaneTransfer) SetTokenId(v *os.File) {
o.TokenId = &v
}
// GetTxHash returns the TxHash field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetTxHash() *os.File {
if o == nil || IsNil(o.TxHash) {
var ret *os.File
return ret
}
return *o.TxHash
}
// GetTxHashOk returns a tuple with the TxHash field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetTxHashOk() (**os.File, bool) {
if o == nil || IsNil(o.TxHash) {
return nil, false
}
return o.TxHash, true
}
// HasTxHash returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasTxHash() bool {
if o != nil && !IsNil(o.TxHash) {
return true
}
return false
}
// SetTxHash gets a reference to the given *os.File and assigns it to the TxHash field.
func (o *ResponsesHyperlaneTransfer) SetTxHash(v *os.File) {
o.TxHash = &v
}
// GetType returns the Type field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetType() string {
if o == nil || IsNil(o.Type) {
var ret string
return ret
}
return *o.Type
}
// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetTypeOk() (*string, bool) {
if o == nil || IsNil(o.Type) {
return nil, false
}
return o.Type, true
}
// HasType returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasType() bool {
if o != nil && !IsNil(o.Type) {
return true
}
return false
}
// SetType gets a reference to the given string and assigns it to the Type field.
func (o *ResponsesHyperlaneTransfer) SetType(v string) {
o.Type = &v
}
// GetVersion returns the Version field value if set, zero value otherwise.
func (o *ResponsesHyperlaneTransfer) GetVersion() int64 {
if o == nil || IsNil(o.Version) {
var ret int64
return ret
}
return *o.Version
}
// GetVersionOk returns a tuple with the Version field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponsesHyperlaneTransfer) GetVersionOk() (*int64, bool) {
if o == nil || IsNil(o.Version) {
return nil, false
}
return o.Version, true
}
// HasVersion returns a boolean if a field has been set.
func (o *ResponsesHyperlaneTransfer) HasVersion() bool {
if o != nil && !IsNil(o.Version) {
return true
}
return false
}
// SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (o *ResponsesHyperlaneTransfer) SetVersion(v int64) {
o.Version = &v
}
func (o ResponsesHyperlaneTransfer) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o ResponsesHyperlaneTransfer) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Address) {
toSerialize["address"] = o.Address
}
if !IsNil(o.Body) {
toSerialize["body"] = o.Body
}
if !IsNil(o.Counterparty) {
toSerialize["counterparty"] = o.Counterparty
}
if !IsNil(o.Denom) {
toSerialize["denom"] = o.Denom
}
if !IsNil(o.GasPayment) {
toSerialize["gas_payment"] = o.GasPayment
}
if !IsNil(o.Height) {
toSerialize["height"] = o.Height
}
if !IsNil(o.Id) {
toSerialize["id"] = o.Id
}
if !IsNil(o.Mailbox) {
toSerialize["mailbox"] = o.Mailbox
}
if !IsNil(o.Metadata) {
toSerialize["metadata"] = o.Metadata
}
if !IsNil(o.Nonce) {
toSerialize["nonce"] = o.Nonce
}
if !IsNil(o.Received) {
toSerialize["received"] = o.Received
}
if !IsNil(o.Relayer) {
toSerialize["relayer"] = o.Relayer
}
if !IsNil(o.Time) {
toSerialize["time"] = o.Time
}
if !IsNil(o.TokenId) {
toSerialize["token_id"] = o.TokenId
}
if !IsNil(o.TxHash) {
toSerialize["tx_hash"] = o.TxHash
}
if !IsNil(o.Type) {
toSerialize["type"] = o.Type
}
if !IsNil(o.Version) {
toSerialize["version"] = o.Version
}
return toSerialize, nil
}
type NullableResponsesHyperlaneTransfer struct {
value *ResponsesHyperlaneTransfer
isSet bool
}
func (v NullableResponsesHyperlaneTransfer) Get() *ResponsesHyperlaneTransfer {
return v.value
}
func (v *NullableResponsesHyperlaneTransfer) Set(val *ResponsesHyperlaneTransfer) {
v.value = val
v.isSet = true
}
func (v NullableResponsesHyperlaneTransfer) IsSet() bool {
return v.isSet
}
func (v *NullableResponsesHyperlaneTransfer) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableResponsesHyperlaneTransfer(val *ResponsesHyperlaneTransfer) *NullableResponsesHyperlaneTransfer {
return &NullableResponsesHyperlaneTransfer{value: val, isSet: true}
}
func (v NullableResponsesHyperlaneTransfer) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableResponsesHyperlaneTransfer) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}