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"));
 }
Example #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"));
 }
Example #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"));
 }
 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");
 }
Example #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"));
        }
Example #6
0
 public RefUpdatedEvent(dynamic json)
 {
     type = GerritStream.GetValue(json, "type");
     submitter = new AccountAttribute(GerritStream.GetValue(json, "submitter"));
     refUpdate = new RefupdateAttribute(GerritStream.GetValue(json, "refUpdate"));
 }