-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmodel_account_response.go
More file actions
5738 lines (4980 loc) · 191 KB
/
Copy pathmodel_account_response.go
File metadata and controls
5738 lines (4980 loc) · 191 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
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. Just getting started? See our [use case guides](/use-cases/).
API version: 20111101
*/
// 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"`
AccountNumberSetBy NullableInt32 `json:"account_number_set_by,omitempty"`
AccountOwnership NullableString `json:"account_ownership,omitempty"`
AnnuityPolicyToDate NullableString `json:"annuity_policy_to_date,omitempty"`
AnnuityProvider NullableString `json:"annuity_provider,omitempty"`
AnnuityTermYear NullableInt32 `json:"annuity_term_year,omitempty"`
Apr NullableFloat32 `json:"apr,omitempty"`
AprSetBy NullableInt32 `json:"apr_set_by,omitempty"`
Apy NullableFloat32 `json:"apy,omitempty"`
ApySetBy NullableInt32 `json:"apy_set_by,omitempty"`
AvailableBalance NullableFloat32 `json:"available_balance,omitempty"`
AvailableBalanceSetBy NullableInt32 `json:"available_balance_set_by,omitempty"`
AvailableCredit NullableFloat32 `json:"available_credit,omitempty"`
AvailableCreditSetBy NullableInt32 `json:"available_credit_set_by,omitempty"`
Balance NullableFloat32 `json:"balance,omitempty"`
BalanceSetBy NullableInt32 `json:"balance_set_by,omitempty"`
CalculatedApr NullableFloat32 `json:"calculated_apr,omitempty"`
CashBalance NullableFloat32 `json:"cash_balance,omitempty"`
CashBalanceSetBy NullableInt32 `json:"cash_balance_set_by,omitempty"`
CashSurrenderValue NullableFloat32 `json:"cash_surrender_value,omitempty"`
CashSurrenderValueSetBy NullableInt32 `json:"cash_surrender_value_set_by,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
CreditLimit NullableFloat32 `json:"credit_limit,omitempty"`
CreditLimitSetBy NullableInt32 `json:"credit_limit_set_by,omitempty"`
CurrencyCode NullableString `json:"currency_code,omitempty"`
CurrencyCodeSetBy NullableInt32 `json:"currency_code_set_by,omitempty"`
DayPaymentIsDue NullableInt32 `json:"day_payment_is_due,omitempty"`
DayPaymentIsDueSetBy NullableInt32 `json:"day_payment_is_due_set_by,omitempty"`
DeathBenefit NullableInt32 `json:"death_benefit,omitempty"`
DeathBenefitSetBy NullableInt32 `json:"death_benefit_set_by,omitempty"`
FederalInsuranceStatus NullableString `json:"federal_insurance_status,omitempty"`
FeedAccountNumber NullableString `json:"feed_account_number,omitempty"`
FeedAccountSubtype NullableInt32 `json:"feed_account_subtype,omitempty"`
FeedAccountType NullableInt32 `json:"feed_account_type,omitempty"`
FeedApr NullableFloat32 `json:"feed_apr,omitempty"`
FeedApy NullableFloat32 `json:"feed_apy,omitempty"`
FeedAvailableBalance NullableFloat32 `json:"feed_available_balance,omitempty"`
FeedBalance NullableFloat32 `json:"feed_balance,omitempty"`
FeedCashBalance NullableFloat32 `json:"feed_cash_balance,omitempty"`
FeedCashSurrenderValue NullableFloat32 `json:"feed_cash_surrender_value,omitempty"`
FeedCreditLimit NullableFloat32 `json:"feed_credit_limit,omitempty"`
FeedCurrencyCode NullableString `json:"feed_currency_code,omitempty"`
FeedDayPaymentIsDue NullableInt32 `json:"feed_day_payment_is_due,omitempty"`
FeedDeathBenefit NullableInt32 `json:"feed_death_benefit,omitempty"`
FeedHoldingsValue NullableFloat32 `json:"feed_holdings_value,omitempty"`
FeedInterestRate NullableFloat32 `json:"feed_interest_rate,omitempty"`
FeedIsClosed NullableBool `json:"feed_is_closed,omitempty"`
FeedLastPayment NullableFloat32 `json:"feed_last_payment,omitempty"`
FeedLastPaymentAt NullableString `json:"feed_last_payment_at,omitempty"`
FeedLoanAmount NullableFloat32 `json:"feed_loan_amount,omitempty"`
FeedMaturesOn NullableString `json:"feed_matures_on,omitempty"`
FeedMinimumBalance NullableFloat32 `json:"feed_minimum_balance,omitempty"`
FeedMinimumPayment NullableFloat32 `json:"feed_minimum_payment,omitempty"`
FeedName NullableString `json:"feed_name,omitempty"`
FeedNickname NullableString `json:"feed_nickname,omitempty"`
FeedOriginalBalance NullableFloat32 `json:"feed_original_balance,omitempty"`
FeedPaymentDueAt NullableString `json:"feed_payment_due_at,omitempty"`
FeedPayoffBalance NullableFloat32 `json:"feed_payoff_balance,omitempty"`
FeedRoutingNumber NullableString `json:"feed_routing_number,omitempty"`
FeedStartedOn NullableString `json:"feed_started_on,omitempty"`
FeedStatementBalance NullableFloat32 `json:"feed_statement_balance,omitempty"`
FeedTotalAccountValue NullableFloat32 `json:"feed_total_account_value,omitempty"`
Guid NullableString `json:"guid,omitempty"`
HoldingsValue NullableFloat32 `json:"holdings_value,omitempty"`
HoldingsValueSetBy NullableInt32 `json:"holdings_value_set_by,omitempty"`
Id NullableString `json:"id,omitempty"`
ImportedAt NullableString `json:"imported_at,omitempty"`
InstitutionCode NullableString `json:"institution_code,omitempty"`
InstitutionGuid NullableString `json:"institution_guid,omitempty"`
InsuredName NullableString `json:"insured_name,omitempty"`
InterestRate NullableFloat32 `json:"interest_rate,omitempty"`
InterestRateSetBy NullableInt32 `json:"interest_rate_set_by,omitempty"`
IsClosed NullableBool `json:"is_closed,omitempty"`
IsClosedSetBy NullableInt32 `json:"is_closed_set_by,omitempty"`
IsHidden NullableBool `json:"is_hidden,omitempty"`
IsManual NullableBool `json:"is_manual,omitempty"`
LastPayment NullableFloat32 `json:"last_payment,omitempty"`
LastPaymentSetBy NullableInt32 `json:"last_payment_set_by,omitempty"`
LastPaymentAt NullableString `json:"last_payment_at,omitempty"`
LastPaymentAtSetBy NullableInt32 `json:"last_payment_at_set_by,omitempty"`
LoanAmount NullableFloat32 `json:"loan_amount,omitempty"`
LoanAmountSetBy NullableInt32 `json:"loan_amount_set_by,omitempty"`
MarginBalance NullableFloat32 `json:"margin_balance,omitempty"`
MaturesOn NullableString `json:"matures_on,omitempty"`
MaturesOnSetBy NullableInt32 `json:"matures_on_set_by,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"`
MinimumBalanceSetBy NullableInt32 `json:"minimum_balance_set_by,omitempty"`
MinimumPayment NullableFloat32 `json:"minimum_payment,omitempty"`
MinimumPaymentSetBy NullableInt32 `json:"minimum_payment_set_by,omitempty"`
Name NullableString `json:"name,omitempty"`
NameSetBy NullableInt32 `json:"name_set_by,omitempty"`
Nickname NullableString `json:"nickname,omitempty"`
NicknameSetBy NullableInt32 `json:"nickname_set_by,omitempty"`
OriginalBalance NullableFloat32 `json:"original_balance,omitempty"`
OriginalBalanceSetBy NullableInt32 `json:"original_balance_set_by,omitempty"`
PayOutAmount NullableFloat32 `json:"pay_out_amount,omitempty"`
PaymentDueAt NullableString `json:"payment_due_at,omitempty"`
PaymentDueAtSetBy NullableInt32 `json:"payment_due_at_set_by,omitempty"`
PayoffBalance NullableFloat32 `json:"payoff_balance,omitempty"`
PayoffBalanceSetBy NullableInt32 `json:"payoff_balance_set_by,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"`
StartedOnSetBy NullableInt32 `json:"started_on_set_by,omitempty"`
StatementBalance NullableFloat32 `json:"statement_balance,omitempty"`
StatementBalanceSetBy NullableInt32 `json:"statement_balance_set_by,omitempty"`
Subtype NullableString `json:"subtype,omitempty"`
SubtypeSetBy NullableInt32 `json:"subtype_set_by,omitempty"`
TodayUglAmount NullableFloat32 `json:"today_ugl_amount,omitempty"`
TodayUglPercentage NullableFloat32 `json:"today_ugl_percentage,omitempty"`
TotalAccountValue NullableFloat32 `json:"total_account_value,omitempty"`
TotalAccountValueSetBy NullableInt32 `json:"total_account_value_set_by,omitempty"`
TotalAccountValueUgl NullableFloat32 `json:"total_account_value_ugl,omitempty"`
Type NullableString `json:"type,omitempty"`
TypeSetBy NullableInt32 `json:"type_set_by,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()
}
// GetAccountNumberSetBy returns the AccountNumberSetBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAccountNumberSetBy() int32 {
if o == nil || IsNil(o.AccountNumberSetBy.Get()) {
var ret int32
return ret
}
return *o.AccountNumberSetBy.Get()
}
// GetAccountNumberSetByOk returns a tuple with the AccountNumberSetBy 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) GetAccountNumberSetByOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.AccountNumberSetBy.Get(), o.AccountNumberSetBy.IsSet()
}
// HasAccountNumberSetBy returns a boolean if a field has been set.
func (o *AccountResponse) HasAccountNumberSetBy() bool {
if o != nil && o.AccountNumberSetBy.IsSet() {
return true
}
return false
}
// SetAccountNumberSetBy gets a reference to the given NullableInt32 and assigns it to the AccountNumberSetBy field.
func (o *AccountResponse) SetAccountNumberSetBy(v int32) {
o.AccountNumberSetBy.Set(&v)
}
// SetAccountNumberSetByNil sets the value for AccountNumberSetBy to be an explicit nil
func (o *AccountResponse) SetAccountNumberSetByNil() {
o.AccountNumberSetBy.Set(nil)
}
// UnsetAccountNumberSetBy ensures that no value is present for AccountNumberSetBy, not even an explicit nil
func (o *AccountResponse) UnsetAccountNumberSetBy() {
o.AccountNumberSetBy.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() int32 {
if o == nil || IsNil(o.AnnuityTermYear.Get()) {
var ret int32
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() (*int32, 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 NullableInt32 and assigns it to the AnnuityTermYear field.
func (o *AccountResponse) SetAnnuityTermYear(v int32) {
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()
}
// GetAprSetBy returns the AprSetBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAprSetBy() int32 {
if o == nil || IsNil(o.AprSetBy.Get()) {
var ret int32
return ret
}
return *o.AprSetBy.Get()
}
// GetAprSetByOk returns a tuple with the AprSetBy 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) GetAprSetByOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.AprSetBy.Get(), o.AprSetBy.IsSet()
}
// HasAprSetBy returns a boolean if a field has been set.
func (o *AccountResponse) HasAprSetBy() bool {
if o != nil && o.AprSetBy.IsSet() {
return true
}
return false
}
// SetAprSetBy gets a reference to the given NullableInt32 and assigns it to the AprSetBy field.
func (o *AccountResponse) SetAprSetBy(v int32) {
o.AprSetBy.Set(&v)
}
// SetAprSetByNil sets the value for AprSetBy to be an explicit nil
func (o *AccountResponse) SetAprSetByNil() {
o.AprSetBy.Set(nil)
}
// UnsetAprSetBy ensures that no value is present for AprSetBy, not even an explicit nil
func (o *AccountResponse) UnsetAprSetBy() {
o.AprSetBy.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()
}
// GetApySetBy returns the ApySetBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetApySetBy() int32 {
if o == nil || IsNil(o.ApySetBy.Get()) {
var ret int32
return ret
}
return *o.ApySetBy.Get()
}
// GetApySetByOk returns a tuple with the ApySetBy 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) GetApySetByOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.ApySetBy.Get(), o.ApySetBy.IsSet()
}
// HasApySetBy returns a boolean if a field has been set.
func (o *AccountResponse) HasApySetBy() bool {
if o != nil && o.ApySetBy.IsSet() {
return true
}
return false
}
// SetApySetBy gets a reference to the given NullableInt32 and assigns it to the ApySetBy field.
func (o *AccountResponse) SetApySetBy(v int32) {
o.ApySetBy.Set(&v)
}
// SetApySetByNil sets the value for ApySetBy to be an explicit nil
func (o *AccountResponse) SetApySetByNil() {
o.ApySetBy.Set(nil)
}
// UnsetApySetBy ensures that no value is present for ApySetBy, not even an explicit nil
func (o *AccountResponse) UnsetApySetBy() {
o.ApySetBy.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()
}
// GetAvailableBalanceSetBy returns the AvailableBalanceSetBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAvailableBalanceSetBy() int32 {
if o == nil || IsNil(o.AvailableBalanceSetBy.Get()) {
var ret int32
return ret
}
return *o.AvailableBalanceSetBy.Get()
}
// GetAvailableBalanceSetByOk returns a tuple with the AvailableBalanceSetBy 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) GetAvailableBalanceSetByOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.AvailableBalanceSetBy.Get(), o.AvailableBalanceSetBy.IsSet()
}
// HasAvailableBalanceSetBy returns a boolean if a field has been set.
func (o *AccountResponse) HasAvailableBalanceSetBy() bool {
if o != nil && o.AvailableBalanceSetBy.IsSet() {
return true
}
return false
}
// SetAvailableBalanceSetBy gets a reference to the given NullableInt32 and assigns it to the AvailableBalanceSetBy field.
func (o *AccountResponse) SetAvailableBalanceSetBy(v int32) {
o.AvailableBalanceSetBy.Set(&v)
}
// SetAvailableBalanceSetByNil sets the value for AvailableBalanceSetBy to be an explicit nil
func (o *AccountResponse) SetAvailableBalanceSetByNil() {
o.AvailableBalanceSetBy.Set(nil)
}
// UnsetAvailableBalanceSetBy ensures that no value is present for AvailableBalanceSetBy, not even an explicit nil
func (o *AccountResponse) UnsetAvailableBalanceSetBy() {
o.AvailableBalanceSetBy.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()
}
// GetAvailableCreditSetBy returns the AvailableCreditSetBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetAvailableCreditSetBy() int32 {
if o == nil || IsNil(o.AvailableCreditSetBy.Get()) {
var ret int32
return ret
}
return *o.AvailableCreditSetBy.Get()
}
// GetAvailableCreditSetByOk returns a tuple with the AvailableCreditSetBy 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) GetAvailableCreditSetByOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.AvailableCreditSetBy.Get(), o.AvailableCreditSetBy.IsSet()
}
// HasAvailableCreditSetBy returns a boolean if a field has been set.
func (o *AccountResponse) HasAvailableCreditSetBy() bool {
if o != nil && o.AvailableCreditSetBy.IsSet() {
return true
}
return false
}
// SetAvailableCreditSetBy gets a reference to the given NullableInt32 and assigns it to the AvailableCreditSetBy field.
func (o *AccountResponse) SetAvailableCreditSetBy(v int32) {
o.AvailableCreditSetBy.Set(&v)
}
// SetAvailableCreditSetByNil sets the value for AvailableCreditSetBy to be an explicit nil
func (o *AccountResponse) SetAvailableCreditSetByNil() {
o.AvailableCreditSetBy.Set(nil)
}
// UnsetAvailableCreditSetBy ensures that no value is present for AvailableCreditSetBy, not even an explicit nil
func (o *AccountResponse) UnsetAvailableCreditSetBy() {
o.AvailableCreditSetBy.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()
}
// GetBalanceSetBy returns the BalanceSetBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetBalanceSetBy() int32 {
if o == nil || IsNil(o.BalanceSetBy.Get()) {
var ret int32
return ret
}
return *o.BalanceSetBy.Get()
}
// GetBalanceSetByOk returns a tuple with the BalanceSetBy 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) GetBalanceSetByOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.BalanceSetBy.Get(), o.BalanceSetBy.IsSet()
}
// HasBalanceSetBy returns a boolean if a field has been set.
func (o *AccountResponse) HasBalanceSetBy() bool {
if o != nil && o.BalanceSetBy.IsSet() {
return true
}
return false
}
// SetBalanceSetBy gets a reference to the given NullableInt32 and assigns it to the BalanceSetBy field.
func (o *AccountResponse) SetBalanceSetBy(v int32) {
o.BalanceSetBy.Set(&v)
}
// SetBalanceSetByNil sets the value for BalanceSetBy to be an explicit nil
func (o *AccountResponse) SetBalanceSetByNil() {
o.BalanceSetBy.Set(nil)
}
// UnsetBalanceSetBy ensures that no value is present for BalanceSetBy, not even an explicit nil
func (o *AccountResponse) UnsetBalanceSetBy() {
o.BalanceSetBy.Unset()
}
// GetCalculatedApr returns the CalculatedApr field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetCalculatedApr() float32 {
if o == nil || IsNil(o.CalculatedApr.Get()) {
var ret float32
return ret
}
return *o.CalculatedApr.Get()
}
// GetCalculatedAprOk returns a tuple with the CalculatedApr 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) GetCalculatedAprOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.CalculatedApr.Get(), o.CalculatedApr.IsSet()
}
// HasCalculatedApr returns a boolean if a field has been set.
func (o *AccountResponse) HasCalculatedApr() bool {
if o != nil && o.CalculatedApr.IsSet() {
return true
}
return false
}
// SetCalculatedApr gets a reference to the given NullableFloat32 and assigns it to the CalculatedApr field.
func (o *AccountResponse) SetCalculatedApr(v float32) {
o.CalculatedApr.Set(&v)
}
// SetCalculatedAprNil sets the value for CalculatedApr to be an explicit nil
func (o *AccountResponse) SetCalculatedAprNil() {
o.CalculatedApr.Set(nil)
}
// UnsetCalculatedApr ensures that no value is present for CalculatedApr, not even an explicit nil
func (o *AccountResponse) UnsetCalculatedApr() {
o.CalculatedApr.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()
}
// GetCashBalanceSetBy returns the CashBalanceSetBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *AccountResponse) GetCashBalanceSetBy() int32 {
if o == nil || IsNil(o.CashBalanceSetBy.Get()) {
var ret int32
return ret
}
return *o.CashBalanceSetBy.Get()
}
// GetCashBalanceSetByOk returns a tuple with the CashBalanceSetBy 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) GetCashBalanceSetByOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.CashBalanceSetBy.Get(), o.CashBalanceSetBy.IsSet()
}
// HasCashBalanceSetBy returns a boolean if a field has been set.
func (o *AccountResponse) HasCashBalanceSetBy() bool {
if o != nil && o.CashBalanceSetBy.IsSet() {
return true
}
return false
}
// SetCashBalanceSetBy gets a reference to the given NullableInt32 and assigns it to the CashBalanceSetBy field.
func (o *AccountResponse) SetCashBalanceSetBy(v int32) {
o.CashBalanceSetBy.Set(&v)
}
// SetCashBalanceSetByNil sets the value for CashBalanceSetBy to be an explicit nil
func (o *AccountResponse) SetCashBalanceSetByNil() {
o.CashBalanceSetBy.Set(nil)
}
// UnsetCashBalanceSetBy ensures that no value is present for CashBalanceSetBy, not even an explicit nil
func (o *AccountResponse) UnsetCashBalanceSetBy() {
o.CashBalanceSetBy.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() {