Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
ccd43b90
Commit
ccd43b90
authored
Sep 14, 2021
by
杨新
Browse files
fix: add missing attribute `resolved_at` to `Note` class
parent
37617ec3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/Note.java
View file @
ccd43b90
...
@@ -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
;
}
}
...
...
src/test/resources/org/gitlab4j/api/note.json
View file @
ccd43b90
...
@@ -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"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment