Skip to content

Commit c5c539e

Browse files
committed
Add new symbol response properties
1 parent aecbca8 commit c5c539e

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed
Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
1-
namespace MatthiWare.FinancialModelingPrep.Model.CompanyValuation
1+
using System.Text.Json.Serialization;
2+
3+
namespace MatthiWare.FinancialModelingPrep.Model.CompanyValuation
24
{
35
public class SymbolResponse
46
{
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; }
924
}
1025
}

0 commit comments

Comments
 (0)