Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/main/java/org/gitlab4j/api/models/Note.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public String toString() {
private Boolean resolved;
private Boolean resolvable;
private Participant resolvedBy;
private Date resolvedAt;
private Type type;

private Position position;
Expand Down Expand Up @@ -245,6 +246,14 @@ public void setResolvedBy(Participant resolvedBy) {
this.resolvedBy = resolvedBy;
}

public Date getResolvedAt() {
return resolvedAt;
}

public void setResolvedAt(Date resolvedAt) {
this.resolvedAt = resolvedAt;
}

public Type getType() {
return type;
}
Expand Down
4 changes: 4 additions & 0 deletions src/test/resources/org/gitlab4j/api/note.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"web_url": "https://gitlab.example.com/pipin"
},
"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,
"noteable_id": 52,
"noteable_type": "Snippet",
Expand Down