예제 #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"));
 }
예제 #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"));
 }
예제 #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"));
 }
예제 #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");
 }
예제 #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"));
        }