Пример #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"));
        }