forked from gitlab4j/gitlab4j-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAbstractEvent.java
53 lines (42 loc) · 1.17 KB
/
AbstractEvent.java
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
package org.gitlab4j.api.webhook;
import com.fasterxml.jackson.annotation.JsonIgnore;
public abstract class AbstractEvent implements Event {
private static final long serialVersionUID = 1L;
private String eventType;
private String requestUrl;
private String requestQueryString;
private String secretToken;
public String getEventType() {
return eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
}
@Override
public void setRequestUrl(String requestUrl) {
this.requestUrl = requestUrl;
}
@Override
@JsonIgnore
public String getRequestUrl() {
return (requestUrl);
}
@Override
public void setRequestQueryString(String requestQueryString) {
this.requestQueryString = requestQueryString;
}
@Override
@JsonIgnore
public String getRequestQueryString() {
return (requestQueryString);
}
@Override
public void setRequestSecretToken(String secretToken) {
this.secretToken = secretToken;
}
@Override
@JsonIgnore
public String getRequestSecretToken() {
return (secretToken);
}
}