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
d8bb6af3
Commit
d8bb6af3
authored
Feb 28, 2014
by
Christopher Luu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exposed some additional properties in the commit and project models.
parent
10319475
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
GitlabCommit.java
src/main/java/org/gitlab/api/models/GitlabCommit.java
+9
-0
GitlabProject.java
src/main/java/org/gitlab/api/models/GitlabProject.java
+11
-0
No files found.
src/main/java/org/gitlab/api/models/GitlabCommit.java
View file @
d8bb6af3
...
...
@@ -10,6 +10,7 @@ public class GitlabCommit {
private
String
_id
;
private
String
_title
;
private
String
_description
;
@JsonProperty
(
"short_id"
)
private
String
_shortId
;
...
...
@@ -56,6 +57,14 @@ public class GitlabCommit {
_title
=
title
;
}
public
String
getDescription
()
{
return
_description
;
}
public
void
setDescription
(
String
description
)
{
_description
=
description
;
}
public
String
getAuthorName
()
{
return
_authorName
;
}
...
...
src/main/java/org/gitlab/api/models/GitlabProject.java
View file @
d8bb6af3
...
...
@@ -39,6 +39,9 @@ public class GitlabProject {
@JsonProperty
(
"ssh_url_to_repo"
)
private
String
_sshUrl
;
@JsonProperty
(
"web_url"
)
private
String
_webUrl
;
private
GitlabNamespace
_namespace
;
public
Integer
getId
()
{
...
...
@@ -145,6 +148,14 @@ public class GitlabProject {
_sshUrl
=
sshUrl
;
}
public
String
getWebUrl
()
{
return
_webUrl
;
}
public
void
setWebUrl
(
String
webUrl
)
{
_webUrl
=
webUrl
;
}
public
GitlabNamespace
getNamespace
()
{
return
_namespace
;
}
...
...
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