summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/cmcc/simulator/authmodule/AuthRequest.java
blob: f481d25fb1149464e79144f7eabcde0d984b33c4 (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
42
43
44
45
46
47
48
49
50
51
package com.cmcc.simulator.authmodule;

/*
 * "grantType": "password", 
    "userName": "test", 
"value": "XXXXXX" 

 * */
public class AuthRequest {

	private String grantType;
	private String userName;
	private String value;

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

	public AuthRequest(String grantType, String userName, String value) {
		super();
		this.grantType = grantType;
		this.userName = userName;
		this.value = value;
	}

	public String getGrantType() {
		return grantType;
	}

	public void setGrantType(String grantType) {
		this.grantType = grantType;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}