Skip to content

Commit 484bd1b

Browse files
authored
Mark properties as nullable (#141)
1 parent bb12bbf commit 484bd1b

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

FinancialModelingPrepApi/Model/CompanyValuation/BalanceSheetResponse.cs

+9-9
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class BalanceSheetResponse
3232
public double CashAndCashEquivalents { get; set; }
3333

3434
[JsonPropertyName("shortTermInvestments")]
35-
public double ShortTermInvestments { get; set; }
35+
public double? ShortTermInvestments { get; set; }
3636

3737
[JsonPropertyName("cashAndShortTermInvestments")]
3838
public double CashAndShortTermInvestments { get; set; }
@@ -56,13 +56,13 @@ public class BalanceSheetResponse
5656
public double Goodwill { get; set; }
5757

5858
[JsonPropertyName("intangibleAssets")]
59-
public double IntangibleAssets { get; set; }
59+
public double? IntangibleAssets { get; set; }
6060

6161
[JsonPropertyName("goodwillAndIntangibleAssets")]
6262
public double GoodwillAndIntangibleAssets { get; set; }
6363

6464
[JsonPropertyName("longTermInvestments")]
65-
public double LongTermInvestments { get; set; }
65+
public double? LongTermInvestments { get; set; }
6666

6767
[JsonPropertyName("taxAssets")]
6868
public double TaxAssets { get; set; }
@@ -86,7 +86,7 @@ public class BalanceSheetResponse
8686
public double ShortTermDebt { get; set; }
8787

8888
[JsonPropertyName("taxPayables")]
89-
public double TaxPayables { get; set; }
89+
public double? TaxPayables { get; set; }
9090

9191
[JsonPropertyName("deferredRevenue")]
9292
public double DeferredRevenue { get; set; }
@@ -104,7 +104,7 @@ public class BalanceSheetResponse
104104
public double DeferredRevenueNonCurrent { get; set; }
105105

106106
[JsonPropertyName("deferredTaxLiabilitiesNonCurrent")]
107-
public double DeferredTaxLiabilitiesNonCurrent { get; set; }
107+
public double? DeferredTaxLiabilitiesNonCurrent { get; set; }
108108

109109
[JsonPropertyName("otherNonCurrentLiabilities")]
110110
public double OtherNonCurrentLiabilities { get; set; }
@@ -125,13 +125,13 @@ public class BalanceSheetResponse
125125
public double PreferredStock { get; set; }
126126

127127
[JsonPropertyName("commonStock")]
128-
public double CommonStock { get; set; }
128+
public double? CommonStock { get; set; }
129129

130130
[JsonPropertyName("retainedEarnings")]
131-
public double RetainedEarnings { get; set; }
131+
public double? RetainedEarnings { get; set; }
132132

133133
[JsonPropertyName("accumulatedOtherComprehensiveIncomeLoss")]
134-
public double AccumulatedOtherComprehensiveIncomeLoss { get; set; }
134+
public double? AccumulatedOtherComprehensiveIncomeLoss { get; set; }
135135

136136
[JsonPropertyName("othertotalStockholdersEquity")]
137137
public double? OthertotalStockholdersEquity { get; set; }
@@ -152,7 +152,7 @@ public class BalanceSheetResponse
152152
public double TotalLiabilitiesAndTotalEquity { get; set; }
153153

154154
[JsonPropertyName("totalInvestments")]
155-
public double TotalInvestments { get; set; }
155+
public double? TotalInvestments { get; set; }
156156

157157
[JsonPropertyName("totalDebt")]
158158
public double TotalDebt { get; set; }

FinancialModelingPrepApi/Model/CompanyValuation/CashFlowResponse.cs

+8-8
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ public class CashFlowResponse
4444
public double ChangeInWorkingCapital { get; set; }
4545

4646
[JsonPropertyName("accountsReceivables")]
47-
public double AccountsReceivables { get; set; }
47+
public double? AccountsReceivables { get; set; }
4848

4949
[JsonPropertyName("inventory")]
50-
public double Inventory { get; set; }
50+
public double? Inventory { get; set; }
5151

5252
[JsonPropertyName("accountsPayables")]
53-
public double AccountsPayables { get; set; }
53+
public double? AccountsPayables { get; set; }
5454

5555
[JsonPropertyName("otherWorkingCapital")]
56-
public double OtherWorkingCapital { get; set; }
56+
public double? OtherWorkingCapital { get; set; }
5757

5858
[JsonPropertyName("otherNonCashItems")]
5959
public double OtherNonCashItems { get; set; }
@@ -65,7 +65,7 @@ public class CashFlowResponse
6565
public double InvestmentsInPropertyPlantAndEquipment { get; set; }
6666

6767
[JsonPropertyName("acquisitionsNet")]
68-
public double AcquisitionsNet { get; set; }
68+
public double? AcquisitionsNet { get; set; }
6969

7070
[JsonPropertyName("purchasesOfInvestments")]
7171
public double PurchasesOfInvestments { get; set; }
@@ -86,13 +86,13 @@ public class CashFlowResponse
8686
public double CommonStockIssued { get; set; }
8787

8888
[JsonPropertyName("commonStockRepurchased")]
89-
public double CommonStockRepurchased { get; set; }
89+
public double? CommonStockRepurchased { get; set; }
9090

9191
[JsonPropertyName("dividendsPaid")]
92-
public double DividendsPaid { get; set; }
92+
public double? DividendsPaid { get; set; }
9393

9494
[JsonPropertyName("otherFinancingActivites")]
95-
public double OtherFinancingActivites { get; set; }
95+
public double? OtherFinancingActivites { get; set; }
9696

9797
[JsonPropertyName("netCashUsedProvidedByFinancingActivities")]
9898
public double NetCashUsedProvidedByFinancingActivities { get; set; }

0 commit comments

Comments
 (0)