Commit ccd43b90 authored by 杨新's avatar 杨新
Browse files

fix: add missing attribute `resolved_at` to `Note` class

parent 37617ec3
...@@ -97,6 +97,7 @@ public class Note { ...@@ -97,6 +97,7 @@ public class Note {
private Boolean resolved; private Boolean resolved;
private Boolean resolvable; private Boolean resolvable;
private Participant resolvedBy; private Participant resolvedBy;
private Date resolvedAt;
private Type type; private Type type;
private Position position; private Position position;
...@@ -245,6 +246,14 @@ public class Note { ...@@ -245,6 +246,14 @@ public class Note {
this.resolvedBy = resolvedBy; this.resolvedBy = resolvedBy;
} }
public Date getResolvedAt() {
return resolvedAt;
}
public void setResolvedAt(Date resolvedAt) {
this.resolvedAt = resolvedAt;
}
public Type getType() { public Type getType() {
return type; return type;
} }
......
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
"web_url": "https://gitlab.example.com/pipin" "web_url": "https://gitlab.example.com/pipin"
}, },
"created_at": "2016-04-06T16:51:53.239Z", "created_at": "2016-04-06T16:51:53.239Z",
"updated_at": "2021-09-14T09:03:50.221Z",
"resolvable": true,
"resolved": true,
"resolved_at": "2021-09-14T09:03:50.221Z",
"system": false, "system": false,
"noteable_id": 52, "noteable_id": 52,
"noteable_type": "Snippet", "noteable_type": "Snippet",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment