-
Notifications
You must be signed in to change notification settings - Fork 2
/
model_account_response.go
2794 lines (2420 loc) · 88.7 KB
/
model_account_response.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
/*
MX Platform API
The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
API version: 0.1.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package mxplatformgo
import (
"encoding/json"
)
// checks if the AccountResponse type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &AccountResponse{}
// AccountResponse struct for AccountResponse
type AccountResponse struct {
AccountNumber NullableString `json:"account_number,omitempty"`
AccountOwnership NullableString `json:"account_ownership,omitempty"`
AnnuityPolicyToDate NullableString `json:"annuity_policy_to_date,omitempty"`
AnnuityProvider NullableString `json:"annuity_provider,omitempty"`
AnnuityTermYear NullableFloat32 `json:"annuity_term_year,omitempty"`
Apr NullableFloat32 `json:"apr,omitempty"`
Apy NullableFloat32 `json:"apy,omitempty"`
AvailableBalance NullableFloat32 `json:"available_balance,omitempty"`
AvailableCredit NullableFloat32 `json:"available_credit,omitempty"`
Balance NullableFloat32 `json:"balance,omitempty"`
CashBalance NullableFloat32 `json:"cash_balance,omitempty"`
CashSurrenderValue NullableFloat32 `json:"cash_surrender_value,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
CreditLimit NullableFloat32 `json:"credit_limit,omitempty"`
CurrencyCode NullableString `json:"currency_code,omitempty"`
DayPaymentIsDue NullableInt32 `json:"day_payment_is_due,omitempty"`
DeathBenefit NullableInt32 `json:"death_benefit,omitempty"`
FederalInsuranceStatus NullableString `json:"federal_insurance_status,omitempty"`
Guid NullableString `json:"guid,omitempty"`
HoldingsValue NullableFloat32 `json:"holdings_value,omitempty"`
Id NullableString `json:"id,omitempty"`
ImportedAt NullableString `json:"imported_at,omitempty"`
InstitutionCode NullableString `json:"institution_code,omitempty"`
InsuredName NullableString `json:"insured_name,omitempty"`
InterestRate NullableFloat32 `json:"interest_rate,omitempty"`
IsClosed NullableBool `json:"is_closed,omitempty"`
IsHidden NullableBool `json:"is_hidden,omitempty"`
IsManual NullableBool `json:"is_manual,omitempty"`
LastPayment NullableFloat32 `json:"last_payment,omitempty"`
LastPaymentAt NullableString `json:"last_payment_at,omitempty"`
LoanAmount NullableFloat32 `json:"loan_amount,omitempty"`
MarginBalance NullableFloat32 `json:"margin_balance,omitempty"`
MaturesOn NullableString `json:"matures_on,omitempty"`
MemberGuid NullableString `json:"member_guid,omitempty"`
MemberId NullableString `json:"member_id,omitempty"`
MemberIsManagedByUser NullableBool `json:"member_is_managed_by_user,omitempty"`
Metadata NullableString `json:"metadata,omitempty"`
MinimumBalance NullableFloat32 `json:"minimum_balance,omitempty"`
MinimumPayment NullableFloat32 `json:"minimum_payment,omitempty"`
Name NullableString `json:"name,omitempty"`
Nickname NullableString `json:"nickname,omitempty"`
OriginalBalance NullableFloat32 `json:"original_balance,omitempty"`
PayOutAmount NullableFloat32 `json:"pay_out_amount,omitempty"`
PaymentDueAt NullableString `json:"payment_due_at,omitempty"`
PayoffBalance NullableFloat32 `json:"payoff_balance,omitempty"`
PremiumAmount NullableFloat32 `json:"premium_amount,omitempty"`
PropertyType NullableString `json:"property_type,omitempty"`
RoutingNumber NullableString `json:"routing_number,omitempty"`
StartedOn NullableString `json:"started_on,omitempty"`
StatementBalance NullableFloat32 `json:"statement_balance,omitempty"`
Subtype NullableString `json:"subtype,omitempty"`
TodayUglAmount NullableFloat32 `json:"today_ugl_amount,omitempty"`
TodayUglPercentage NullableFloat32 `json:"today_ugl_percentage,omitempty"`
TotalAccountValue NullableFloat32 `json:"total_account_value,omitempty"`
TotalAccountValueUgl NullableFloat32 `json:"total_account_value_ugl,omitempty"`
Type NullableString `json:"type,omitempty"`
UpdatedAt NullableString `json:"updated_at,omitempty"`
UserGuid NullableString `json:"user_guid,omitempty"`
UserId NullableString `json:"user_id,omitempty"`
}
// NewAccountResponse instantiates a new AccountResponse 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 NewAccountResponse() *AccountResponse {
this := AccountResponse{}
return &this
}
// NewAccountResponseWithDefaults instantiates a new AccountResponse 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 NewAccountResponseWithDefaults() *AccountResponse {
this := AccountResponse{}
return &this
}
// GetAccountNumber returns the AccountNumber field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAccountNumber() string {
if o == nil || IsNil(o.AccountNumber.Get()) {
var ret string
return ret
}
return *o.AccountNumber.Get()
}
// GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise
// 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 *AccountResponse) GetAccountNumberOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.AccountNumber.Get(), o.AccountNumber.IsSet()
}
// HasAccountNumber returns a boolean if a field has been set.
func (o *AccountResponse) HasAccountNumber() bool {
if o != nil && o.AccountNumber.IsSet() {
return true
}
return false
}
// SetAccountNumber gets a reference to the given NullableString and assigns it to the AccountNumber field.
func (o *AccountResponse) SetAccountNumber(v string) {
o.AccountNumber.Set(&v)
}
// SetAccountNumberNil sets the value for AccountNumber to be an explicit nil
func (o *AccountResponse) SetAccountNumberNil() {
o.AccountNumber.Set(nil)
}
// UnsetAccountNumber ensures that no value is present for AccountNumber, not even an explicit nil
func (o *AccountResponse) UnsetAccountNumber() {
o.AccountNumber.Unset()
}
// GetAccountOwnership returns the AccountOwnership field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAccountOwnership() string {
if o == nil || IsNil(o.AccountOwnership.Get()) {
var ret string
return ret
}
return *o.AccountOwnership.Get()
}
// GetAccountOwnershipOk returns a tuple with the AccountOwnership field value if set, nil otherwise
// 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 *AccountResponse) GetAccountOwnershipOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.AccountOwnership.Get(), o.AccountOwnership.IsSet()
}
// HasAccountOwnership returns a boolean if a field has been set.
func (o *AccountResponse) HasAccountOwnership() bool {
if o != nil && o.AccountOwnership.IsSet() {
return true
}
return false
}
// SetAccountOwnership gets a reference to the given NullableString and assigns it to the AccountOwnership field.
func (o *AccountResponse) SetAccountOwnership(v string) {
o.AccountOwnership.Set(&v)
}
// SetAccountOwnershipNil sets the value for AccountOwnership to be an explicit nil
func (o *AccountResponse) SetAccountOwnershipNil() {
o.AccountOwnership.Set(nil)
}
// UnsetAccountOwnership ensures that no value is present for AccountOwnership, not even an explicit nil
func (o *AccountResponse) UnsetAccountOwnership() {
o.AccountOwnership.Unset()
}
// GetAnnuityPolicyToDate returns the AnnuityPolicyToDate field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAnnuityPolicyToDate() string {
if o == nil || IsNil(o.AnnuityPolicyToDate.Get()) {
var ret string
return ret
}
return *o.AnnuityPolicyToDate.Get()
}
// GetAnnuityPolicyToDateOk returns a tuple with the AnnuityPolicyToDate field value if set, nil otherwise
// 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 *AccountResponse) GetAnnuityPolicyToDateOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.AnnuityPolicyToDate.Get(), o.AnnuityPolicyToDate.IsSet()
}
// HasAnnuityPolicyToDate returns a boolean if a field has been set.
func (o *AccountResponse) HasAnnuityPolicyToDate() bool {
if o != nil && o.AnnuityPolicyToDate.IsSet() {
return true
}
return false
}
// SetAnnuityPolicyToDate gets a reference to the given NullableString and assigns it to the AnnuityPolicyToDate field.
func (o *AccountResponse) SetAnnuityPolicyToDate(v string) {
o.AnnuityPolicyToDate.Set(&v)
}
// SetAnnuityPolicyToDateNil sets the value for AnnuityPolicyToDate to be an explicit nil
func (o *AccountResponse) SetAnnuityPolicyToDateNil() {
o.AnnuityPolicyToDate.Set(nil)
}
// UnsetAnnuityPolicyToDate ensures that no value is present for AnnuityPolicyToDate, not even an explicit nil
func (o *AccountResponse) UnsetAnnuityPolicyToDate() {
o.AnnuityPolicyToDate.Unset()
}
// GetAnnuityProvider returns the AnnuityProvider field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAnnuityProvider() string {
if o == nil || IsNil(o.AnnuityProvider.Get()) {
var ret string
return ret
}
return *o.AnnuityProvider.Get()
}
// GetAnnuityProviderOk returns a tuple with the AnnuityProvider field value if set, nil otherwise
// 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 *AccountResponse) GetAnnuityProviderOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.AnnuityProvider.Get(), o.AnnuityProvider.IsSet()
}
// HasAnnuityProvider returns a boolean if a field has been set.
func (o *AccountResponse) HasAnnuityProvider() bool {
if o != nil && o.AnnuityProvider.IsSet() {
return true
}
return false
}
// SetAnnuityProvider gets a reference to the given NullableString and assigns it to the AnnuityProvider field.
func (o *AccountResponse) SetAnnuityProvider(v string) {
o.AnnuityProvider.Set(&v)
}
// SetAnnuityProviderNil sets the value for AnnuityProvider to be an explicit nil
func (o *AccountResponse) SetAnnuityProviderNil() {
o.AnnuityProvider.Set(nil)
}
// UnsetAnnuityProvider ensures that no value is present for AnnuityProvider, not even an explicit nil
func (o *AccountResponse) UnsetAnnuityProvider() {
o.AnnuityProvider.Unset()
}
// GetAnnuityTermYear returns the AnnuityTermYear field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAnnuityTermYear() float32 {
if o == nil || IsNil(o.AnnuityTermYear.Get()) {
var ret float32
return ret
}
return *o.AnnuityTermYear.Get()
}
// GetAnnuityTermYearOk returns a tuple with the AnnuityTermYear field value if set, nil otherwise
// 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 *AccountResponse) GetAnnuityTermYearOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.AnnuityTermYear.Get(), o.AnnuityTermYear.IsSet()
}
// HasAnnuityTermYear returns a boolean if a field has been set.
func (o *AccountResponse) HasAnnuityTermYear() bool {
if o != nil && o.AnnuityTermYear.IsSet() {
return true
}
return false
}
// SetAnnuityTermYear gets a reference to the given NullableFloat32 and assigns it to the AnnuityTermYear field.
func (o *AccountResponse) SetAnnuityTermYear(v float32) {
o.AnnuityTermYear.Set(&v)
}
// SetAnnuityTermYearNil sets the value for AnnuityTermYear to be an explicit nil
func (o *AccountResponse) SetAnnuityTermYearNil() {
o.AnnuityTermYear.Set(nil)
}
// UnsetAnnuityTermYear ensures that no value is present for AnnuityTermYear, not even an explicit nil
func (o *AccountResponse) UnsetAnnuityTermYear() {
o.AnnuityTermYear.Unset()
}
// GetApr returns the Apr field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetApr() float32 {
if o == nil || IsNil(o.Apr.Get()) {
var ret float32
return ret
}
return *o.Apr.Get()
}
// GetAprOk returns a tuple with the Apr field value if set, nil otherwise
// 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 *AccountResponse) GetAprOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.Apr.Get(), o.Apr.IsSet()
}
// HasApr returns a boolean if a field has been set.
func (o *AccountResponse) HasApr() bool {
if o != nil && o.Apr.IsSet() {
return true
}
return false
}
// SetApr gets a reference to the given NullableFloat32 and assigns it to the Apr field.
func (o *AccountResponse) SetApr(v float32) {
o.Apr.Set(&v)
}
// SetAprNil sets the value for Apr to be an explicit nil
func (o *AccountResponse) SetAprNil() {
o.Apr.Set(nil)
}
// UnsetApr ensures that no value is present for Apr, not even an explicit nil
func (o *AccountResponse) UnsetApr() {
o.Apr.Unset()
}
// GetApy returns the Apy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetApy() float32 {
if o == nil || IsNil(o.Apy.Get()) {
var ret float32
return ret
}
return *o.Apy.Get()
}
// GetApyOk returns a tuple with the Apy field value if set, nil otherwise
// 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 *AccountResponse) GetApyOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.Apy.Get(), o.Apy.IsSet()
}
// HasApy returns a boolean if a field has been set.
func (o *AccountResponse) HasApy() bool {
if o != nil && o.Apy.IsSet() {
return true
}
return false
}
// SetApy gets a reference to the given NullableFloat32 and assigns it to the Apy field.
func (o *AccountResponse) SetApy(v float32) {
o.Apy.Set(&v)
}
// SetApyNil sets the value for Apy to be an explicit nil
func (o *AccountResponse) SetApyNil() {
o.Apy.Set(nil)
}
// UnsetApy ensures that no value is present for Apy, not even an explicit nil
func (o *AccountResponse) UnsetApy() {
o.Apy.Unset()
}
// GetAvailableBalance returns the AvailableBalance field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAvailableBalance() float32 {
if o == nil || IsNil(o.AvailableBalance.Get()) {
var ret float32
return ret
}
return *o.AvailableBalance.Get()
}
// GetAvailableBalanceOk returns a tuple with the AvailableBalance field value if set, nil otherwise
// 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 *AccountResponse) GetAvailableBalanceOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.AvailableBalance.Get(), o.AvailableBalance.IsSet()
}
// HasAvailableBalance returns a boolean if a field has been set.
func (o *AccountResponse) HasAvailableBalance() bool {
if o != nil && o.AvailableBalance.IsSet() {
return true
}
return false
}
// SetAvailableBalance gets a reference to the given NullableFloat32 and assigns it to the AvailableBalance field.
func (o *AccountResponse) SetAvailableBalance(v float32) {
o.AvailableBalance.Set(&v)
}
// SetAvailableBalanceNil sets the value for AvailableBalance to be an explicit nil
func (o *AccountResponse) SetAvailableBalanceNil() {
o.AvailableBalance.Set(nil)
}
// UnsetAvailableBalance ensures that no value is present for AvailableBalance, not even an explicit nil
func (o *AccountResponse) UnsetAvailableBalance() {
o.AvailableBalance.Unset()
}
// GetAvailableCredit returns the AvailableCredit field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAvailableCredit() float32 {
if o == nil || IsNil(o.AvailableCredit.Get()) {
var ret float32
return ret
}
return *o.AvailableCredit.Get()
}
// GetAvailableCreditOk returns a tuple with the AvailableCredit field value if set, nil otherwise
// 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 *AccountResponse) GetAvailableCreditOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.AvailableCredit.Get(), o.AvailableCredit.IsSet()
}
// HasAvailableCredit returns a boolean if a field has been set.
func (o *AccountResponse) HasAvailableCredit() bool {
if o != nil && o.AvailableCredit.IsSet() {
return true
}
return false
}
// SetAvailableCredit gets a reference to the given NullableFloat32 and assigns it to the AvailableCredit field.
func (o *AccountResponse) SetAvailableCredit(v float32) {
o.AvailableCredit.Set(&v)
}
// SetAvailableCreditNil sets the value for AvailableCredit to be an explicit nil
func (o *AccountResponse) SetAvailableCreditNil() {
o.AvailableCredit.Set(nil)
}
// UnsetAvailableCredit ensures that no value is present for AvailableCredit, not even an explicit nil
func (o *AccountResponse) UnsetAvailableCredit() {
o.AvailableCredit.Unset()
}
// GetBalance returns the Balance field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetBalance() float32 {
if o == nil || IsNil(o.Balance.Get()) {
var ret float32
return ret
}
return *o.Balance.Get()
}
// GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise
// 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 *AccountResponse) GetBalanceOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.Balance.Get(), o.Balance.IsSet()
}
// HasBalance returns a boolean if a field has been set.
func (o *AccountResponse) HasBalance() bool {
if o != nil && o.Balance.IsSet() {
return true
}
return false
}
// SetBalance gets a reference to the given NullableFloat32 and assigns it to the Balance field.
func (o *AccountResponse) SetBalance(v float32) {
o.Balance.Set(&v)
}
// SetBalanceNil sets the value for Balance to be an explicit nil
func (o *AccountResponse) SetBalanceNil() {
o.Balance.Set(nil)
}
// UnsetBalance ensures that no value is present for Balance, not even an explicit nil
func (o *AccountResponse) UnsetBalance() {
o.Balance.Unset()
}
// GetCashBalance returns the CashBalance field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetCashBalance() float32 {
if o == nil || IsNil(o.CashBalance.Get()) {
var ret float32
return ret
}
return *o.CashBalance.Get()
}
// GetCashBalanceOk returns a tuple with the CashBalance field value if set, nil otherwise
// 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 *AccountResponse) GetCashBalanceOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.CashBalance.Get(), o.CashBalance.IsSet()
}
// HasCashBalance returns a boolean if a field has been set.
func (o *AccountResponse) HasCashBalance() bool {
if o != nil && o.CashBalance.IsSet() {
return true
}
return false
}
// SetCashBalance gets a reference to the given NullableFloat32 and assigns it to the CashBalance field.
func (o *AccountResponse) SetCashBalance(v float32) {
o.CashBalance.Set(&v)
}
// SetCashBalanceNil sets the value for CashBalance to be an explicit nil
func (o *AccountResponse) SetCashBalanceNil() {
o.CashBalance.Set(nil)
}
// UnsetCashBalance ensures that no value is present for CashBalance, not even an explicit nil
func (o *AccountResponse) UnsetCashBalance() {
o.CashBalance.Unset()
}
// GetCashSurrenderValue returns the CashSurrenderValue field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetCashSurrenderValue() float32 {
if o == nil || IsNil(o.CashSurrenderValue.Get()) {
var ret float32
return ret
}
return *o.CashSurrenderValue.Get()
}
// GetCashSurrenderValueOk returns a tuple with the CashSurrenderValue field value if set, nil otherwise
// 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 *AccountResponse) GetCashSurrenderValueOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.CashSurrenderValue.Get(), o.CashSurrenderValue.IsSet()
}
// HasCashSurrenderValue returns a boolean if a field has been set.
func (o *AccountResponse) HasCashSurrenderValue() bool {
if o != nil && o.CashSurrenderValue.IsSet() {
return true
}
return false
}
// SetCashSurrenderValue gets a reference to the given NullableFloat32 and assigns it to the CashSurrenderValue field.
func (o *AccountResponse) SetCashSurrenderValue(v float32) {
o.CashSurrenderValue.Set(&v)
}
// SetCashSurrenderValueNil sets the value for CashSurrenderValue to be an explicit nil
func (o *AccountResponse) SetCashSurrenderValueNil() {
o.CashSurrenderValue.Set(nil)
}
// UnsetCashSurrenderValue ensures that no value is present for CashSurrenderValue, not even an explicit nil
func (o *AccountResponse) UnsetCashSurrenderValue() {
o.CashSurrenderValue.Unset()
}
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (o *AccountResponse) GetCreatedAt() string {
if o == nil || IsNil(o.CreatedAt) {
var ret string
return ret
}
return *o.CreatedAt
}
// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AccountResponse) GetCreatedAtOk() (*string, bool) {
if o == nil || IsNil(o.CreatedAt) {
return nil, false
}
return o.CreatedAt, true
}
// HasCreatedAt returns a boolean if a field has been set.
func (o *AccountResponse) HasCreatedAt() bool {
if o != nil && !IsNil(o.CreatedAt) {
return true
}
return false
}
// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (o *AccountResponse) SetCreatedAt(v string) {
o.CreatedAt = &v
}
// GetCreditLimit returns the CreditLimit field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetCreditLimit() float32 {
if o == nil || IsNil(o.CreditLimit.Get()) {
var ret float32
return ret
}
return *o.CreditLimit.Get()
}
// GetCreditLimitOk returns a tuple with the CreditLimit field value if set, nil otherwise
// 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 *AccountResponse) GetCreditLimitOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.CreditLimit.Get(), o.CreditLimit.IsSet()
}
// HasCreditLimit returns a boolean if a field has been set.
func (o *AccountResponse) HasCreditLimit() bool {
if o != nil && o.CreditLimit.IsSet() {
return true
}
return false
}
// SetCreditLimit gets a reference to the given NullableFloat32 and assigns it to the CreditLimit field.
func (o *AccountResponse) SetCreditLimit(v float32) {
o.CreditLimit.Set(&v)
}
// SetCreditLimitNil sets the value for CreditLimit to be an explicit nil
func (o *AccountResponse) SetCreditLimitNil() {
o.CreditLimit.Set(nil)
}
// UnsetCreditLimit ensures that no value is present for CreditLimit, not even an explicit nil
func (o *AccountResponse) UnsetCreditLimit() {
o.CreditLimit.Unset()
}
// GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetCurrencyCode() string {
if o == nil || IsNil(o.CurrencyCode.Get()) {
var ret string
return ret
}
return *o.CurrencyCode.Get()
}
// GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise
// 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 *AccountResponse) GetCurrencyCodeOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.CurrencyCode.Get(), o.CurrencyCode.IsSet()
}
// HasCurrencyCode returns a boolean if a field has been set.
func (o *AccountResponse) HasCurrencyCode() bool {
if o != nil && o.CurrencyCode.IsSet() {
return true
}
return false
}
// SetCurrencyCode gets a reference to the given NullableString and assigns it to the CurrencyCode field.
func (o *AccountResponse) SetCurrencyCode(v string) {
o.CurrencyCode.Set(&v)
}
// SetCurrencyCodeNil sets the value for CurrencyCode to be an explicit nil
func (o *AccountResponse) SetCurrencyCodeNil() {
o.CurrencyCode.Set(nil)
}
// UnsetCurrencyCode ensures that no value is present for CurrencyCode, not even an explicit nil
func (o *AccountResponse) UnsetCurrencyCode() {
o.CurrencyCode.Unset()
}
// GetDayPaymentIsDue returns the DayPaymentIsDue field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetDayPaymentIsDue() int32 {
if o == nil || IsNil(o.DayPaymentIsDue.Get()) {
var ret int32
return ret
}
return *o.DayPaymentIsDue.Get()
}
// GetDayPaymentIsDueOk returns a tuple with the DayPaymentIsDue field value if set, nil otherwise
// 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 *AccountResponse) GetDayPaymentIsDueOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.DayPaymentIsDue.Get(), o.DayPaymentIsDue.IsSet()
}
// HasDayPaymentIsDue returns a boolean if a field has been set.
func (o *AccountResponse) HasDayPaymentIsDue() bool {
if o != nil && o.DayPaymentIsDue.IsSet() {
return true
}
return false
}
// SetDayPaymentIsDue gets a reference to the given NullableInt32 and assigns it to the DayPaymentIsDue field.
func (o *AccountResponse) SetDayPaymentIsDue(v int32) {
o.DayPaymentIsDue.Set(&v)
}
// SetDayPaymentIsDueNil sets the value for DayPaymentIsDue to be an explicit nil
func (o *AccountResponse) SetDayPaymentIsDueNil() {
o.DayPaymentIsDue.Set(nil)
}
// UnsetDayPaymentIsDue ensures that no value is present for DayPaymentIsDue, not even an explicit nil
func (o *AccountResponse) UnsetDayPaymentIsDue() {
o.DayPaymentIsDue.Unset()
}
// GetDeathBenefit returns the DeathBenefit field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetDeathBenefit() int32 {
if o == nil || IsNil(o.DeathBenefit.Get()) {
var ret int32
return ret
}
return *o.DeathBenefit.Get()
}
// GetDeathBenefitOk returns a tuple with the DeathBenefit field value if set, nil otherwise
// 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 *AccountResponse) GetDeathBenefitOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.DeathBenefit.Get(), o.DeathBenefit.IsSet()
}
// HasDeathBenefit returns a boolean if a field has been set.
func (o *AccountResponse) HasDeathBenefit() bool {
if o != nil && o.DeathBenefit.IsSet() {
return true
}
return false
}
// SetDeathBenefit gets a reference to the given NullableInt32 and assigns it to the DeathBenefit field.
func (o *AccountResponse) SetDeathBenefit(v int32) {
o.DeathBenefit.Set(&v)
}
// SetDeathBenefitNil sets the value for DeathBenefit to be an explicit nil
func (o *AccountResponse) SetDeathBenefitNil() {
o.DeathBenefit.Set(nil)
}
// UnsetDeathBenefit ensures that no value is present for DeathBenefit, not even an explicit nil
func (o *AccountResponse) UnsetDeathBenefit() {
o.DeathBenefit.Unset()
}
// GetFederalInsuranceStatus returns the FederalInsuranceStatus field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetFederalInsuranceStatus() string {
if o == nil || IsNil(o.FederalInsuranceStatus.Get()) {
var ret string
return ret
}
return *o.FederalInsuranceStatus.Get()
}
// GetFederalInsuranceStatusOk returns a tuple with the FederalInsuranceStatus field value if set, nil otherwise
// 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 *AccountResponse) GetFederalInsuranceStatusOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.FederalInsuranceStatus.Get(), o.FederalInsuranceStatus.IsSet()
}
// HasFederalInsuranceStatus returns a boolean if a field has been set.
func (o *AccountResponse) HasFederalInsuranceStatus() bool {
if o != nil && o.FederalInsuranceStatus.IsSet() {
return true
}
return false
}
// SetFederalInsuranceStatus gets a reference to the given NullableString and assigns it to the FederalInsuranceStatus field.
func (o *AccountResponse) SetFederalInsuranceStatus(v string) {
o.FederalInsuranceStatus.Set(&v)
}
// SetFederalInsuranceStatusNil sets the value for FederalInsuranceStatus to be an explicit nil
func (o *AccountResponse) SetFederalInsuranceStatusNil() {
o.FederalInsuranceStatus.Set(nil)
}
// UnsetFederalInsuranceStatus ensures that no value is present for FederalInsuranceStatus, not even an explicit nil
func (o *AccountResponse) UnsetFederalInsuranceStatus() {
o.FederalInsuranceStatus.Unset()
}
// GetGuid returns the Guid field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetGuid() string {
if o == nil || IsNil(o.Guid.Get()) {
var ret string
return ret
}
return *o.Guid.Get()
}
// GetGuidOk returns a tuple with the Guid field value if set, nil otherwise
// 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 *AccountResponse) GetGuidOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Guid.Get(), o.Guid.IsSet()
}
// HasGuid returns a boolean if a field has been set.
func (o *AccountResponse) HasGuid() bool {
if o != nil && o.Guid.IsSet() {
return true
}
return false
}
// SetGuid gets a reference to the given NullableString and assigns it to the Guid field.
func (o *AccountResponse) SetGuid(v string) {
o.Guid.Set(&v)
}
// SetGuidNil sets the value for Guid to be an explicit nil
func (o *AccountResponse) SetGuidNil() {
o.Guid.Set(nil)
}
// UnsetGuid ensures that no value is present for Guid, not even an explicit nil
func (o *AccountResponse) UnsetGuid() {
o.Guid.Unset()
}
// GetHoldingsValue returns the HoldingsValue field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetHoldingsValue() float32 {
if o == nil || IsNil(o.HoldingsValue.Get()) {
var ret float32
return ret
}
return *o.HoldingsValue.Get()
}
// GetHoldingsValueOk returns a tuple with the HoldingsValue field value if set, nil otherwise
// 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 *AccountResponse) GetHoldingsValueOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.HoldingsValue.Get(), o.HoldingsValue.IsSet()
}
// HasHoldingsValue returns a boolean if a field has been set.
func (o *AccountResponse) HasHoldingsValue() bool {
if o != nil && o.HoldingsValue.IsSet() {
return true
}
return false
}
// SetHoldingsValue gets a reference to the given NullableFloat32 and assigns it to the HoldingsValue field.
func (o *AccountResponse) SetHoldingsValue(v float32) {
o.HoldingsValue.Set(&v)
}
// SetHoldingsValueNil sets the value for HoldingsValue to be an explicit nil
func (o *AccountResponse) SetHoldingsValueNil() {
o.HoldingsValue.Set(nil)
}
// UnsetHoldingsValue ensures that no value is present for HoldingsValue, not even an explicit nil
func (o *AccountResponse) UnsetHoldingsValue() {
o.HoldingsValue.Unset()
}
// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetId() string {
if o == nil || IsNil(o.Id.Get()) {
var ret string
return ret
}
return *o.Id.Get()
}
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// 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 *AccountResponse) GetIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Id.Get(), o.Id.IsSet()
}
// HasId returns a boolean if a field has been set.
func (o *AccountResponse) HasId() bool {
if o != nil && o.Id.IsSet() {
return true
}
return false
}
// SetId gets a reference to the given NullableString and assigns it to the Id field.
func (o *AccountResponse) SetId(v string) {
o.Id.Set(&v)
}
// SetIdNil sets the value for Id to be an explicit nil
func (o *AccountResponse) SetIdNil() {
o.Id.Set(nil)
}
// UnsetId ensures that no value is present for Id, not even an explicit nil
func (o *AccountResponse) UnsetId() {
o.Id.Unset()
}
// GetImportedAt returns the ImportedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetImportedAt() string {
if o == nil || IsNil(o.ImportedAt.Get()) {
var ret string
return ret
}
return *o.ImportedAt.Get()
}
// GetImportedAtOk returns a tuple with the ImportedAt field value if set, nil otherwise
// 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 *AccountResponse) GetImportedAtOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.ImportedAt.Get(), o.ImportedAt.IsSet()
}
// HasImportedAt returns a boolean if a field has been set.
func (o *AccountResponse) HasImportedAt() bool {
if o != nil && o.ImportedAt.IsSet() {
return true
}
return false
}
// SetImportedAt gets a reference to the given NullableString and assigns it to the ImportedAt field.