Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
java-gitlab-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
沈俊林
java-gitlab-api
Commits
efd607fe
Commit
efd607fe
authored
Jan 11, 2017
by
Łukasz Dziedziul
Committed by
Tim Olshansky
Jan 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add createdAt field to CommitComment (#180)
parent
372a1542
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
CommitComment.java
src/main/java/org/gitlab/api/models/CommitComment.java
+13
-0
No files found.
src/main/java/org/gitlab/api/models/CommitComment.java
View file @
efd607fe
...
@@ -2,6 +2,8 @@ package org.gitlab.api.models;
...
@@ -2,6 +2,8 @@ package org.gitlab.api.models;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
java.util.Date
;
public
class
CommitComment
{
public
class
CommitComment
{
public
static
final
String
URL
=
"/comments"
;
public
static
final
String
URL
=
"/comments"
;
...
@@ -14,6 +16,9 @@ public class CommitComment {
...
@@ -14,6 +16,9 @@ public class CommitComment {
@JsonProperty
(
"line_type"
)
@JsonProperty
(
"line_type"
)
private
String
lineType
;
private
String
lineType
;
@JsonProperty
(
"created_at"
)
private
Date
createdAt
;
public
GitlabUser
getAuthor
()
{
public
GitlabUser
getAuthor
()
{
return
author
;
return
author
;
}
}
...
@@ -53,4 +58,12 @@ public class CommitComment {
...
@@ -53,4 +58,12 @@ public class CommitComment {
public
void
setLineType
(
String
lineType
)
{
public
void
setLineType
(
String
lineType
)
{
this
.
lineType
=
lineType
;
this
.
lineType
=
lineType
;
}
}
public
Date
getCreatedAt
()
{
return
createdAt
;
}
public
void
setCreatedAt
(
Date
createdAt
)
{
this
.
createdAt
=
createdAt
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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