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
065dd386
Commit
065dd386
authored
May 06, 2019
by
Greg Messner
Browse files
Initial commit (#341).
parent
1df3dd77
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/DetailedStatus.java
0 → 100644
View file @
065dd386
package
org.gitlab4j.api.models
;
import
org.gitlab4j.api.utils.JacksonJson
;
/**
* This class is part of the Pipeline message.
*/
public
class
DetailedStatus
{
private
String
icon
;
private
String
text
;
private
String
label
;
private
String
group
;
private
String
tooltip
;
private
Boolean
hasDetails
;
private
String
detailsPath
;
private
String
illustration
;
private
String
favicon
;
public
String
getIcon
()
{
return
icon
;
}
public
void
setIcon
(
String
icon
)
{
this
.
icon
=
icon
;
}
public
String
getText
()
{
return
text
;
}
public
void
setText
(
String
text
)
{
this
.
text
=
text
;
}
public
String
getLabel
()
{
return
label
;
}
public
void
setLabel
(
String
label
)
{
this
.
label
=
label
;
}
public
String
getGroup
()
{
return
group
;
}
public
void
setGroup
(
String
group
)
{
this
.
group
=
group
;
}
public
String
getTooltip
()
{
return
tooltip
;
}
public
void
setTooltip
(
String
tooltip
)
{
this
.
tooltip
=
tooltip
;
}
public
Boolean
getHasDetails
()
{
return
hasDetails
;
}
public
void
setHasDetails
(
Boolean
hasDetails
)
{
this
.
hasDetails
=
hasDetails
;
}
public
String
getDetailsPath
()
{
return
detailsPath
;
}
public
void
setDetailsPath
(
String
detailsPath
)
{
this
.
detailsPath
=
detailsPath
;
}
public
String
getIllustration
()
{
return
illustration
;
}
public
void
setIllustration
(
String
illustration
)
{
this
.
illustration
=
illustration
;
}
public
String
getFavicon
()
{
return
favicon
;
}
public
void
setFavicon
(
String
favicon
)
{
this
.
favicon
=
favicon
;
}
@Override
public
String
toString
()
{
return
(
JacksonJson
.
toJsonString
(
this
));
}
}
src/main/java/org/gitlab4j/api/models/Trigger.java
0 → 100644
View file @
065dd386
package
org.gitlab4j.api.models
;
import
java.util.Date
;
public
class
Trigger
{
private
Integer
id
;
private
String
description
;
private
Date
createdAt
;
private
Date
lastUsed
;
private
String
token
;
private
Date
updatedAt
;
private
User
owner
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getDescription
()
{
return
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
public
Date
getCreatedAt
()
{
return
createdAt
;
}
public
void
setCreatedAt
(
Date
createdAt
)
{
this
.
createdAt
=
createdAt
;
}
public
Date
getLastUsed
()
{
return
lastUsed
;
}
public
void
setLastUsed
(
Date
lastUsed
)
{
this
.
lastUsed
=
lastUsed
;
}
public
String
getToken
()
{
return
token
;
}
public
void
setToken
(
String
token
)
{
this
.
token
=
token
;
}
public
Date
getUpdatedAt
()
{
return
updatedAt
;
}
public
void
setUpdatedAt
(
Date
updatedAt
)
{
this
.
updatedAt
=
updatedAt
;
}
public
User
getOwner
()
{
return
owner
;
}
public
void
setOwner
(
User
owner
)
{
this
.
owner
=
owner
;
}
}
src/test/resources/org/gitlab4j/api/trigger.json
0 → 100644
View file @
065dd386
{
"id"
:
10
,
"description"
:
"my trigger"
,
"created_at"
:
"2016-01-07T09:53:58.235Z"
,
"token"
:
"6d056f63e50fe6f8c5f8f4aa10edb7"
,
"updated_at"
:
"2016-01-07T09:53:58.235Z"
}
\ No newline at end of file
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