Exemplo 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"));
 }
Exemplo 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"));
 }
Exemplo 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"));
 }
Exemplo 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");
 }
Exemplo 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"));
        }