Skip to content

Commit 065dd38

Browse files
committed
Initial commit (#341).
1 parent 1df3dd7 commit 065dd38

File tree

3 files changed

+173
-0
lines changed

3 files changed

+173
-0
lines changed
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
package org.gitlab4j.api.models;
2+
3+
import org.gitlab4j.api.utils.JacksonJson;
4+
5+
/**
6+
* This class is part of the Pipeline message.
7+
*/
8+
public class DetailedStatus {
9+
10+
private String icon;
11+
private String text;
12+
private String label;
13+
private String group;
14+
private String tooltip;
15+
private Boolean hasDetails;
16+
private String detailsPath;
17+
private String illustration;
18+
private String favicon;
19+
20+
public String getIcon() {
21+
return icon;
22+
}
23+
24+
public void setIcon(String icon) {
25+
this.icon = icon;
26+
}
27+
28+
public String getText() {
29+
return text;
30+
}
31+
32+
public void setText(String text) {
33+
this.text = text;
34+
}
35+
36+
public String getLabel() {
37+
return label;
38+
}
39+
40+
public void setLabel(String label) {
41+
this.label = label;
42+
}
43+
44+
public String getGroup() {
45+
return group;
46+
}
47+
48+
public void setGroup(String group) {
49+
this.group = group;
50+
}
51+
52+
public String getTooltip() {
53+
return tooltip;
54+
}
55+
56+
public void setTooltip(String tooltip) {
57+
this.tooltip = tooltip;
58+
}
59+
60+
public Boolean getHasDetails() {
61+
return hasDetails;
62+
}
63+
64+
public void setHasDetails(Boolean hasDetails) {
65+
this.hasDetails = hasDetails;
66+
}
67+
68+
public String getDetailsPath() {
69+
return detailsPath;
70+
}
71+
72+
public void setDetailsPath(String detailsPath) {
73+
this.detailsPath = detailsPath;
74+
}
75+
76+
public String getIllustration() {
77+
return illustration;
78+
}
79+
80+
public void setIllustration(String illustration) {
81+
this.illustration = illustration;
82+
}
83+
84+
public String getFavicon() {
85+
return favicon;
86+
}
87+
88+
public void setFavicon(String favicon) {
89+
this.favicon = favicon;
90+
}
91+
92+
@Override
93+
public String toString() {
94+
return (JacksonJson.toJsonString(this));
95+
}
96+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
package org.gitlab4j.api.models;
2+
3+
import java.util.Date;
4+
5+
public class Trigger {
6+
7+
private Integer id;
8+
private String description;
9+
private Date createdAt;
10+
private Date lastUsed;
11+
private String token;
12+
private Date updatedAt;
13+
private User owner;
14+
15+
public Integer getId() {
16+
return id;
17+
}
18+
19+
public void setId(Integer id) {
20+
this.id = id;
21+
}
22+
23+
public String getDescription() {
24+
return description;
25+
}
26+
27+
public void setDescription(String description) {
28+
this.description = description;
29+
}
30+
31+
public Date getCreatedAt() {
32+
return createdAt;
33+
}
34+
35+
public void setCreatedAt(Date createdAt) {
36+
this.createdAt = createdAt;
37+
}
38+
39+
public Date getLastUsed() {
40+
return lastUsed;
41+
}
42+
43+
public void setLastUsed(Date lastUsed) {
44+
this.lastUsed = lastUsed;
45+
}
46+
47+
public String getToken() {
48+
return token;
49+
}
50+
51+
public void setToken(String token) {
52+
this.token = token;
53+
}
54+
55+
public Date getUpdatedAt() {
56+
return updatedAt;
57+
}
58+
59+
public void setUpdatedAt(Date updatedAt) {
60+
this.updatedAt = updatedAt;
61+
}
62+
63+
public User getOwner() {
64+
return owner;
65+
}
66+
67+
public void setOwner(User owner) {
68+
this.owner = owner;
69+
}
70+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"id": 10,
3+
"description": "my trigger",
4+
"created_at": "2016-01-07T09:53:58.235Z",
5+
"token": "6d056f63e50fe6f8c5f8f4aa10edb7",
6+
"updated_at": "2016-01-07T09:53:58.235Z"
7+
}

0 commit comments

Comments
 (0)