Esempio n. 1
0
 public PatchsetCreatedEvent(dynamic json)
 {
     type = GerritStream.GetValue(json, "type");
     change = new ChangeAttribute(GerritStream.GetValue(json, "change"));
     patchset = new PatchsetAttribute(GerritStream.GetValue(json, "patchSet"));
     uploader = new AccountAttribute(GerritStream.GetValue(json, "uploader"));
 }
Esempio n. 2
0
 public ChangeMergedEvent(dynamic json)
 {
     type = GerritStream.GetValue(json, "type");
     change = new ChangeAttribute(GerritStream.GetValue(json, "change"));
     patchset = new PatchsetAttribute(GerritStream.GetValue(json, "patchSet"));
     submitter = new AccountAttribute(GerritStream.GetValue(json, "submitter"));
 }
Esempio n. 3
0
 public ReviewerAddedEvent(dynamic json)
 {
     type = GerritStream.GetValue(json, "type");
     change = new ChangeAttribute(GerritStream.GetValue(json, "change"));
     patchset = new PatchsetAttribute(GerritStream.GetValue(json, "patchSet"));
     reviewer = new AccountAttribute(GerritStream.GetValue(json, "reviewer"));
 }
Esempio n. 4
0
 public ChangeAbandonedEvent(dynamic json)
 {
     type = GerritStream.GetValue(json, "type");
     change = new ChangeAttribute(GerritStream.GetValue(json, "change"));
     patchset = new PatchsetAttribute(GerritStream.GetValue(json, "patchSet"));
     abandoner = new AccountAttribute(GerritStream.GetValue(json, "abandoner"));
     reason = GerritStream.GetValue(json, "reason");
 }
Esempio n. 5
0
        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"));
        }