public PatchsetAttribute(dynamic json) { number = GerritStream.GetValue(json, "number"); revision = GerritStream.GetValue(json, "revision"); reference = GerritStream.GetValue(json, "ref"); uploader = new AccountAttribute(GerritStream.GetValue(json, "uploader")); approvals = new ApprovalsAttribute(GerritStream.GetValue(json, "approvals")); }
public CommentAddedEvent(dynamic json) { type = GerritStream.GetValue(json, "type"); change = new ChangeAttribute(GerritStream.GetValue(json, "change")); patchset = new PatchsetAttribute(GerritStream.GetValue(json, "patchSet")); author = new AccountAttribute(GerritStream.GetValue(json, "author")); comment = GerritStream.GetValue(json, "comment"); approvals = new ApprovalsAttribute(GerritStream.GetValue(json, "approvals")); }