summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/cmcc/simulator/authmodule/AuthResponse.java
blob: 6a439045d6a1d796001e3a66062be9e6f310e2e5 (plain)
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
package com.cmcc.simulator.authmodule;

/*
 * “accessToken”:”7512eb3feb5249eca5ddd742fedddd39”,
“expires”:1800

 * */

public class AuthResponse {

	private String accessToken;
	private int expires;

	public AuthResponse() {
		super();
		// TODO Auto-generated constructor stub
	}

	public AuthResponse(String accessToken, int expires) {
		super();
		this.accessToken = accessToken;
		this.expires = expires;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public int getExpires() {
		return expires;
	}

	public void setExpires(int expires) {
		this.expires = expires;
	}

}