@@ -22,6 +22,7 @@ import java.util.Optional
22
22
import kotlin.jvm.optionals.getOrNull
23
23
24
24
class UnifiedResponse
25
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
25
26
private constructor (
26
27
private val dematAccounts: JsonField <List <DematAccount >>,
27
28
private val insurance: JsonField <Insurance >,
@@ -380,6 +381,7 @@ private constructor(
380
381
(summary.asKnown().getOrNull()?.validity() ? : 0 )
381
382
382
383
class DematAccount
384
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
383
385
private constructor (
384
386
private val additionalInfo: JsonField <AdditionalInfo >,
385
387
private val boId: JsonField <String >,
@@ -827,6 +829,7 @@ private constructor(
827
829
828
830
/* * Additional information specific to the demat account type */
829
831
class AdditionalInfo
832
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
830
833
private constructor (
831
834
private val boStatus: JsonField <String >,
832
835
private val boSubStatus: JsonField <String >,
@@ -1408,6 +1411,7 @@ private constructor(
1408
1411
}
1409
1412
1410
1413
class Holdings
1414
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
1411
1415
private constructor (
1412
1416
private val aifs: JsonField <List <Aif >>,
1413
1417
private val corporateBonds: JsonField <List <CorporateBond >>,
@@ -1766,6 +1770,7 @@ private constructor(
1766
1770
? : 0 )
1767
1771
1768
1772
class Aif
1773
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
1769
1774
private constructor (
1770
1775
private val additionalInfo: JsonValue ,
1771
1776
private val isin: JsonField <String >,
@@ -2052,6 +2057,7 @@ private constructor(
2052
2057
}
2053
2058
2054
2059
class CorporateBond
2060
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
2055
2061
private constructor (
2056
2062
private val additionalInfo: JsonValue ,
2057
2063
private val isin: JsonField <String >,
@@ -2340,6 +2346,7 @@ private constructor(
2340
2346
}
2341
2347
2342
2348
class DematMutualFund
2349
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
2343
2350
private constructor (
2344
2351
private val additionalInfo: JsonValue ,
2345
2352
private val isin: JsonField <String >,
@@ -2628,6 +2635,7 @@ private constructor(
2628
2635
}
2629
2636
2630
2637
class Equity
2638
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
2631
2639
private constructor (
2632
2640
private val additionalInfo: JsonValue ,
2633
2641
private val isin: JsonField <String >,
@@ -2914,6 +2922,7 @@ private constructor(
2914
2922
}
2915
2923
2916
2924
class GovernmentSecurity
2925
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
2917
2926
private constructor (
2918
2927
private val additionalInfo: JsonValue ,
2919
2928
private val isin: JsonField <String >,
@@ -3235,6 +3244,7 @@ private constructor(
3235
3244
}
3236
3245
3237
3246
class LinkedHolder
3247
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
3238
3248
private constructor (
3239
3249
private val name: JsonField <String >,
3240
3250
private val pan: JsonField <String >,
@@ -3453,6 +3463,7 @@ private constructor(
3453
3463
}
3454
3464
3455
3465
class Insurance
3466
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
3456
3467
private constructor (
3457
3468
private val lifeInsurancePolicies: JsonField <List <LifeInsurancePolicy >>,
3458
3469
private val additionalProperties: MutableMap <String , JsonValue >,
@@ -3600,6 +3611,7 @@ private constructor(
3600
3611
(lifeInsurancePolicies.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ? : 0 )
3601
3612
3602
3613
class LifeInsurancePolicy
3614
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
3603
3615
private constructor (
3604
3616
private val additionalInfo: JsonValue ,
3605
3617
private val lifeAssured: JsonField <String >,
@@ -4107,6 +4119,7 @@ private constructor(
4107
4119
}
4108
4120
4109
4121
class Investor
4122
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
4110
4123
private constructor (
4111
4124
private val address: JsonField <String >,
4112
4125
private val casId: JsonField <String >,
@@ -4465,6 +4478,7 @@ private constructor(
4465
4478
}
4466
4479
4467
4480
class Meta
4481
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
4468
4482
private constructor (
4469
4483
private val casType: JsonField <CasType >,
4470
4484
private val generatedAt: JsonField <OffsetDateTime >,
@@ -4807,6 +4821,7 @@ private constructor(
4807
4821
}
4808
4822
4809
4823
class StatementPeriod
4824
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
4810
4825
private constructor (
4811
4826
private val from: JsonField <LocalDate >,
4812
4827
private val to: JsonField <LocalDate >,
@@ -5008,6 +5023,7 @@ private constructor(
5008
5023
}
5009
5024
5010
5025
class MutualFund
5026
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
5011
5027
private constructor (
5012
5028
private val additionalInfo: JsonField <AdditionalInfo >,
5013
5029
private val amc: JsonField <String >,
@@ -5401,6 +5417,7 @@ private constructor(
5401
5417
5402
5418
/* * Additional folio information */
5403
5419
class AdditionalInfo
5420
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
5404
5421
private constructor (
5405
5422
private val kyc: JsonField <String >,
5406
5423
private val pan: JsonField <String >,
@@ -5617,6 +5634,7 @@ private constructor(
5617
5634
}
5618
5635
5619
5636
class LinkedHolder
5637
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
5620
5638
private constructor (
5621
5639
private val name: JsonField <String >,
5622
5640
private val pan: JsonField <String >,
@@ -5796,6 +5814,7 @@ private constructor(
5796
5814
}
5797
5815
5798
5816
class Scheme
5817
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
5799
5818
private constructor (
5800
5819
private val additionalInfo: JsonField <AdditionalInfo >,
5801
5820
private val cost: JsonField <Float >,
@@ -6324,6 +6343,7 @@ private constructor(
6324
6343
6325
6344
/* * Additional information specific to the scheme */
6326
6345
class AdditionalInfo
6346
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
6327
6347
private constructor (
6328
6348
private val advisor: JsonField <String >,
6329
6349
private val amfi: JsonField <String >,
@@ -6649,6 +6669,7 @@ private constructor(
6649
6669
}
6650
6670
6651
6671
class Gain
6672
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
6652
6673
private constructor (
6653
6674
private val absolute: JsonField <Float >,
6654
6675
private val percentage: JsonField <Float >,
@@ -6843,6 +6864,7 @@ private constructor(
6843
6864
}
6844
6865
6845
6866
class Transaction
6867
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
6846
6868
private constructor (
6847
6869
private val amount: JsonField <Float >,
6848
6870
private val balance: JsonField <Float >,
@@ -7517,6 +7539,7 @@ private constructor(
7517
7539
}
7518
7540
7519
7541
class Np
7542
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
7520
7543
private constructor (
7521
7544
private val additionalInfo: JsonValue ,
7522
7545
private val cra: JsonField <String >,
@@ -7830,6 +7853,7 @@ private constructor(
7830
7853
(if (value.asKnown().isPresent) 1 else 0 )
7831
7854
7832
7855
class Fund
7856
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
7833
7857
private constructor (
7834
7858
private val additionalInfo: JsonField <AdditionalInfo >,
7835
7859
private val cost: JsonField <Float >,
@@ -8141,6 +8165,7 @@ private constructor(
8141
8165
8142
8166
/* * Additional information specific to the NPS fund */
8143
8167
class AdditionalInfo
8168
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
8144
8169
private constructor (
8145
8170
private val manager: JsonField <String >,
8146
8171
private val tier: JsonField <Tier >,
@@ -8487,6 +8512,7 @@ private constructor(
8487
8512
}
8488
8513
8489
8514
class LinkedHolder
8515
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
8490
8516
private constructor (
8491
8517
private val name: JsonField <String >,
8492
8518
private val pan: JsonField <String >,
@@ -8699,6 +8725,7 @@ private constructor(
8699
8725
}
8700
8726
8701
8727
class Summary
8728
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
8702
8729
private constructor (
8703
8730
private val accounts: JsonField <Accounts >,
8704
8731
private val totalValue: JsonField <Float >,
@@ -8860,6 +8887,7 @@ private constructor(
8860
8887
(if (totalValue.asKnown().isPresent) 1 else 0 )
8861
8888
8862
8889
class Accounts
8890
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
8863
8891
private constructor (
8864
8892
private val demat: JsonField <Demat >,
8865
8893
private val insurance: JsonField <Insurance >,
@@ -9095,6 +9123,7 @@ private constructor(
9095
9123
(nps.asKnown().getOrNull()?.validity() ? : 0 )
9096
9124
9097
9125
class Demat
9126
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
9098
9127
private constructor (
9099
9128
private val count: JsonField <Long >,
9100
9129
private val totalValue: JsonField <Float >,
@@ -9287,6 +9316,7 @@ private constructor(
9287
9316
}
9288
9317
9289
9318
class Insurance
9319
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
9290
9320
private constructor (
9291
9321
private val count: JsonField <Long >,
9292
9322
private val totalValue: JsonField <Float >,
@@ -9479,6 +9509,7 @@ private constructor(
9479
9509
}
9480
9510
9481
9511
class MutualFunds
9512
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
9482
9513
private constructor (
9483
9514
private val count: JsonField <Long >,
9484
9515
private val totalValue: JsonField <Float >,
@@ -9671,6 +9702,7 @@ private constructor(
9671
9702
}
9672
9703
9673
9704
class Nps
9705
+ @JsonCreator(mode = JsonCreator .Mode .DISABLED )
9674
9706
private constructor (
9675
9707
private val count: JsonField <Long >,
9676
9708
private val totalValue: JsonField <Float >,
0 commit comments