File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed
FinancialModelingPrepApi/Model/CompanyValuation Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 1
- namespace MatthiWare . FinancialModelingPrep . Model . CompanyValuation
1
+ using System . Text . Json . Serialization ;
2
+
3
+ namespace MatthiWare . FinancialModelingPrep . Model . CompanyValuation
2
4
{
3
5
public class SymbolResponse
4
6
{
5
- public string symbol { get ; set ; }
6
- public string name { get ; set ; }
7
- public double price { get ; set ; }
8
- public string exchange { get ; set ; }
7
+ [ JsonPropertyName ( "symbol" ) ]
8
+ public string Symbol { get ; set ; }
9
+
10
+ [ JsonPropertyName ( "name" ) ]
11
+ public string Name { get ; set ; }
12
+
13
+ [ JsonPropertyName ( "price" ) ]
14
+ public double Price { get ; set ; }
15
+
16
+ [ JsonPropertyName ( "exchange" ) ]
17
+ public string Exchange { get ; set ; }
18
+
19
+ [ JsonPropertyName ( "exchangeShortName" ) ]
20
+ public string ExchangeShortName { get ; set ; }
21
+
22
+ [ JsonPropertyName ( "type" ) ]
23
+ public string Type { get ; set ; }
9
24
}
10
25
}
You can’t perform that action at this time.
0 commit comments