Skip to content

Commit 2e264bd

Browse files
authored
Merge pull request #11 from yprime7/master
V3
2 parents c752089 + 848f00e commit 2e264bd

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

RegalyticsRegulatoryArticle.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ public class RegalyticsRegulatoryArticle : BaseData
5757
[JsonProperty(PropertyName = "federal_register_number")]
5858
public string FederalRegisterNumber { get; set; }
5959

60+
[JsonProperty(PropertyName = "docket_file_number")]
61+
public string DocketFileNumber { get; set; }
62+
63+
[JsonProperty(PropertyName = "sec_release_number")]
64+
public string SecReleaseNumber { get; set; }
65+
6066
//[JsonProperty(PropertyName = "regalytics_alert_id")]
6167
//public string AlertId { get; set; }
6268

@@ -84,6 +90,9 @@ public class RegalyticsRegulatoryArticle : BaseData
8490
[JsonProperty(PropertyName = "agencies")]
8591
public List<string> Agencies { get; set; }
8692

93+
[JsonProperty(PropertyName = "sector_type")]
94+
public List<Dictionary<string,string>> Sector { get; set; }
95+
8796
[JsonProperty(PropertyName = "pdf_url")]
8897
public string AnnouncementUrl { get; set; }
8998

@@ -136,6 +145,8 @@ public override BaseData Clone()
136145
FilingType = FilingType,
137146
InFederalRegister = InFederalRegister,
138147
FederalRegisterNumber = FederalRegisterNumber,
148+
DocketFileNumber = DocketFileNumber,
149+
SecReleaseNumber = SecReleaseNumber,
139150
// AlertId = AlertId,
140151
ProposedCommentsDueDate = ProposedCommentsDueDate,
141152
OriginalPublicationDate = OriginalPublicationDate,
@@ -145,6 +156,7 @@ public override BaseData Clone()
145156
AlertType = AlertType,
146157
States = States,
147158
Agencies = Agencies,
159+
Sector = Sector,
148160
AnnouncementUrl = AnnouncementUrl,
149161
CreatedAt = CreatedAt
150162
};

tests/RegalyticsRegulatoryArticleTests.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private BaseData CreateNewInstance()
9090
Symbol = Symbol.Empty,
9191
Time = DateTime.Today,
9292
DataType = MarketDataType.Base,
93-
93+
9494
Id = "0",
9595
Title = "string",
9696
Summary = "string",
@@ -99,6 +99,8 @@ private BaseData CreateNewInstance()
9999
FilingType = "string",
100100
InFederalRegister = true,
101101
FederalRegisterNumber = "string",
102+
DocketFileNumber = "string",
103+
SecReleaseNumber = "string",
102104
ProposedCommentsDueDate = DateTime.MinValue,
103105
OriginalPublicationDate = DateTime.MinValue,
104106
FederalRegisterPublicationDate = DateTime.MinValue,
@@ -107,6 +109,7 @@ private BaseData CreateNewInstance()
107109
AlertType = "string",
108110
States = new Dictionary<string, List<string>> { {"string", new List<string>{"string"}} },
109111
Agencies = new List<string>{"string"},
112+
Sector = new List<Dictionary<string, string>> { new Dictionary<string, string> { { "key", "value" } } },
110113
AnnouncementUrl = "string",
111114
CreatedAt = DateTime.MinValue
112115
};
@@ -130,6 +133,8 @@ private BaseData CreateNewCollectionInstance()
130133
FilingType = "string",
131134
InFederalRegister = true,
132135
FederalRegisterNumber = "string",
136+
DocketFileNumber = "string",
137+
SecReleaseNumber = "string",
133138
ProposedCommentsDueDate = DateTime.MinValue,
134139
OriginalPublicationDate = DateTime.MinValue,
135140
FederalRegisterPublicationDate = DateTime.MinValue,
@@ -138,6 +143,7 @@ private BaseData CreateNewCollectionInstance()
138143
AlertType = "string",
139144
States = new Dictionary<string, List<string>> { {"string", new List<string>{"string"}} },
140145
Agencies = new List<string>{"string"},
146+
Sector = new List<Dictionary<string, string>> { new Dictionary<string, string> { { "key", "value" } } },
141147
AnnouncementUrl = "string",
142148
CreatedAt = DateTime.MinValue
143149
},
@@ -155,6 +161,8 @@ private BaseData CreateNewCollectionInstance()
155161
FilingType = "string",
156162
InFederalRegister = true,
157163
FederalRegisterNumber = "string",
164+
DocketFileNumber = "string",
165+
SecReleaseNumber = "string",
158166
ProposedCommentsDueDate = DateTime.MinValue,
159167
OriginalPublicationDate = DateTime.MinValue,
160168
FederalRegisterPublicationDate = DateTime.MinValue,
@@ -163,6 +171,7 @@ private BaseData CreateNewCollectionInstance()
163171
AlertType = "string",
164172
States = new Dictionary<string, List<string>> { {"string", new List<string>{"string"}} },
165173
Agencies = new List<string>{"string"},
174+
Sector = new List<Dictionary<string, string>> { new Dictionary<string, string> { { "key", "value" } } },
166175
AnnouncementUrl = "string",
167176
CreatedAt = DateTime.MinValue
168177
}

0 commit comments

Comments
 (0)