-
Notifications
You must be signed in to change notification settings - Fork 246
/
TokenResponse.java
45 lines (33 loc) · 979 Bytes
/
TokenResponse.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
package ch.rasc.twolegged;
import com.fasterxml.jackson.annotation.JsonProperty;
public class TokenResponse {
@JsonProperty("access_token")
private String accessToken;
@JsonProperty("token_type")
private String tokenType;
@JsonProperty("expires_in")
private int expiresIn;
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public String getTokenType() {
return this.tokenType;
}
public void setTokenType(String tokenType) {
this.tokenType = tokenType;
}
public int getExpiresIn() {
return this.expiresIn;
}
public void setExpiresIn(int expiresIn) {
this.expiresIn = expiresIn;
}
@Override
public String toString() {
return "TokenResponse [accessToken=" + this.accessToken + ", tokenType="
+ this.tokenType + ", expiresIn=" + this.expiresIn + "]";
}
}