Skip to content

Commit fe2552e

Browse files
committed
Initial commit (#111).
1 parent 3071864 commit fe2552e

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
package org.gitlab4j.api.models;
2+
3+
import javax.xml.bind.annotation.XmlAccessType;
4+
import javax.xml.bind.annotation.XmlAccessorType;
5+
import javax.xml.bind.annotation.XmlRootElement;
6+
7+
@XmlRootElement
8+
@XmlAccessorType(XmlAccessType.FIELD)
9+
public class OauthTokenResponse {
10+
11+
private String accessToken;
12+
private String tokenType;
13+
private String refreshToken;
14+
private String scope;
15+
private Long createdAt;
16+
17+
public String getAccessToken() {
18+
return accessToken;
19+
}
20+
21+
public void setAccessToken(String accessToken) {
22+
this.accessToken = accessToken;
23+
}
24+
25+
public String getTokenType() {
26+
return tokenType;
27+
}
28+
29+
public void setTokenType(String tokenType) {
30+
this.tokenType = tokenType;
31+
}
32+
33+
public String getRefreshToken() {
34+
return refreshToken;
35+
}
36+
37+
public void setRefreshToken(String refreshToken) {
38+
this.refreshToken = refreshToken;
39+
}
40+
41+
public String getScope() {
42+
return scope;
43+
}
44+
45+
public void setScope(String scope) {
46+
this.scope = scope;
47+
}
48+
49+
public Long getCreatedAt() {
50+
return createdAt;
51+
}
52+
53+
public void setCreatedAt(Long createdAt) {
54+
this.createdAt = createdAt;
55+
}
56+
}

0 commit comments

Comments
 (0)