Save event IDs so the future loader will know it will not have to process it again.
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Pull-Request: #1867
Reviewed-by: Romain Chanoir <romain.chanoir@viacesi.fr>
Reviewed-by: Jean Privat <jean@pryen.org>
super
end
+ # Issue id.
+ fun id: Int do return json["id"].as(Int)
+
+ # Set issue id.
+ fun id=(id: Int) do json["id"] = id
+
# Issue title.
fun title: String do return json["title"].as(String)
self.json = json
end
+ # Event ID from Github.
+ fun id: String do return json["id"].as(String)
+
+ # Set id.
+ fun id=(id: String) do json["id"] = id
+
# Action performed by the event.
fun action: String do return json["action"].as(String)