forked from timols/java-gitlab-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPipelinesQuery.java
More file actions
100 lines (77 loc) · 2.74 KB
/
Copy pathPipelinesQuery.java
File metadata and controls
100 lines (77 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package org.gitlab.api.query;
import java.io.UnsupportedEncodingException;
public class PipelinesQuery extends PaginationQuery {
public void setScope(String scope) throws UnsupportedEncodingException {
appendIf("scope", scope);
}
public PipelinesQuery withScope(String scope) throws UnsupportedEncodingException {
this.setScope(scope);
return this;
}
public void setStatus(String status) throws UnsupportedEncodingException {
appendIf("status", status);
}
public PipelinesQuery withStatus(String status) throws UnsupportedEncodingException {
this.setStatus(status);
return this;
}
public void setRef(String ref) throws UnsupportedEncodingException {
appendIf("ref", ref);
}
public PipelinesQuery withRef(String ref) throws UnsupportedEncodingException {
this.setRef(ref);
return this;
}
public void setSha(String sha) throws UnsupportedEncodingException {
appendIf("sha", sha);
}
public PipelinesQuery withSha(String sha) throws UnsupportedEncodingException {
this.setSha(sha);
return this;
}
public void setYamlErrors(Boolean yamlErrors) throws UnsupportedEncodingException {
appendIf("yaml_errors", yamlErrors);
}
public PipelinesQuery withYamlErrors(Boolean yamlErrors) throws UnsupportedEncodingException {
this.setYamlErrors(yamlErrors);
return this;
}
public void setName(String name) throws UnsupportedEncodingException {
appendIf("name", name);
}
public PipelinesQuery withName(String name) throws UnsupportedEncodingException {
this.setName(name);
return this;
}
public void setUsername(String username) throws UnsupportedEncodingException {
appendIf("username", username);
}
public PipelinesQuery withUsername(String username) throws UnsupportedEncodingException {
this.setUsername(username);
return this;
}
public void setOrderBy(String orderBy) throws UnsupportedEncodingException {
appendIf("order_by", orderBy);
}
public PipelinesQuery withOrderBy(String orderBy) throws UnsupportedEncodingException {
this.setOrderBy(orderBy);
return this;
}
public void setSort(String sort) throws UnsupportedEncodingException {
appendIf("sort", sort);
}
public PipelinesQuery withSort(String sort) throws UnsupportedEncodingException {
this.setSort(sort);
return this;
}
@Override
public PipelinesQuery withPage(int page) {
super.withPage(page);
return this;
}
@Override
public PipelinesQuery withPerPage(int perPage) {
super.withPerPage(perPage);
return this;
}
}