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
c20d0d36
Commit
c20d0d36
authored
Jul 15, 2020
by
Greg Messner
Browse files
Added created_at property (#594)
parent
33f5708a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/Group.java
View file @
c20d0d36
...
@@ -66,6 +66,7 @@ public class Group {
...
@@ -66,6 +66,7 @@ public class Group {
private
Statistics
statistics
;
private
Statistics
statistics
;
private
List
<
Project
>
projects
;
private
List
<
Project
>
projects
;
private
List
<
Project
>
sharedProjects
;
private
List
<
Project
>
sharedProjects
;
private
Date
createdAt
;
@JsonSerialize
(
using
=
JacksonJson
.
DateOnlySerializer
.
class
)
@JsonSerialize
(
using
=
JacksonJson
.
DateOnlySerializer
.
class
)
private
Date
markedForDeletionOn
;
private
Date
markedForDeletionOn
;
...
@@ -206,6 +207,14 @@ public class Group {
...
@@ -206,6 +207,14 @@ public class Group {
this
.
markedForDeletionOn
=
markedForDeletionOn
;
this
.
markedForDeletionOn
=
markedForDeletionOn
;
}
}
public
Date
getCreatedAt
()
{
return
createdAt
;
}
public
void
setCreatedAt
(
Date
createdAt
)
{
this
.
createdAt
=
createdAt
;
}
public
Group
withId
(
Integer
id
)
{
public
Group
withId
(
Integer
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
return
this
;
return
this
;
...
...
src/test/resources/org/gitlab4j/api/group.json
View file @
c20d0d36
...
@@ -52,7 +52,8 @@
...
@@ -52,7 +52,8 @@
"open_issues_count"
:
3
,
"open_issues_count"
:
3
,
"public_jobs"
:
true
,
"public_jobs"
:
true
,
"shared_with_groups"
:
[],
"shared_with_groups"
:
[],
"request_access_enabled"
:
false
"request_access_enabled"
:
false
,
"created_at"
:
"2020-01-15T12:36:29.590Z"
},
},
{
{
"id"
:
6
,
"id"
:
6
,
...
...
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