summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/cmcc/simulator/authmodule/AuthRequest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/cmcc/simulator/authmodule/AuthRequest.java')
-rw-r--r--src/main/java/com/cmcc/simulator/authmodule/AuthRequest.java51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/main/java/com/cmcc/simulator/authmodule/AuthRequest.java b/src/main/java/com/cmcc/simulator/authmodule/AuthRequest.java
new file mode 100644
index 0000000..f481d25
--- /dev/null
+++ b/src/main/java/com/cmcc/simulator/authmodule/AuthRequest.java
@@ -0,0 +1,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;
+ }
+
+}