Skip to content

Commit 848f00e

Browse files
committed
V3 Updates
Updated documentation to include sector, docket file number, and sec release number. Test cases Successful
1 parent 4b32be5 commit 848f00e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

RegalyticsRegulatoryArticle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public class RegalyticsRegulatoryArticle : BaseData
9191
public List<string> Agencies { get; set; }
9292

9393
[JsonProperty(PropertyName = "sector_type")]
94-
public List<string> Sector { get; set; }
94+
public List<Dictionary<string,string>> Sector { get; set; }
9595

9696
[JsonProperty(PropertyName = "pdf_url")]
9797
public string AnnouncementUrl { get; set; }

tests/RegalyticsRegulatoryArticleTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private BaseData CreateNewInstance()
109109
AlertType = "string",
110110
States = new Dictionary<string, List<string>> { {"string", new List<string>{"string"}} },
111111
Agencies = new List<string>{"string"},
112-
Sector = "string",
112+
Sector = new List<Dictionary<string, string>> { new Dictionary<string, string> { { "key", "value" } } },
113113
AnnouncementUrl = "string",
114114
CreatedAt = DateTime.MinValue
115115
};
@@ -143,7 +143,7 @@ private BaseData CreateNewCollectionInstance()
143143
AlertType = "string",
144144
States = new Dictionary<string, List<string>> { {"string", new List<string>{"string"}} },
145145
Agencies = new List<string>{"string"},
146-
Sector = "string",
146+
Sector = new List<Dictionary<string, string>> { new Dictionary<string, string> { { "key", "value" } } },
147147
AnnouncementUrl = "string",
148148
CreatedAt = DateTime.MinValue
149149
},
@@ -171,7 +171,7 @@ private BaseData CreateNewCollectionInstance()
171171
AlertType = "string",
172172
States = new Dictionary<string, List<string>> { {"string", new List<string>{"string"}} },
173173
Agencies = new List<string>{"string"},
174-
Sector = "string",
174+
Sector = new List<Dictionary<string, string>> { new Dictionary<string, string> { { "key", "value" } } },
175175
AnnouncementUrl = "string",
176176
CreatedAt = DateTime.MinValue
177177
}

0 commit comments

Comments
 (0)