diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2021-02-04 10:25:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-02-04 10:25:28 +0000 |
commit | 60e4660810c4d7961b5407dc38f4b2826d288816 (patch) | |
tree | a2e5177e3bda3297f02012ae47e294b6694812e1 /src/main/java/com/cmcc/simulator/authmodule/AuthResponse.java | |
parent | 804f07142c7fdd7b8a38738b80e8cb97859a4344 (diff) | |
parent | be6f49580a7bb98a13021175b8ca363ce02f57cd (diff) |
Merge "Initial code check-in core-nssmf-simulator Issue-ID: INT-1840"honolulu
Diffstat (limited to 'src/main/java/com/cmcc/simulator/authmodule/AuthResponse.java')
-rw-r--r-- | src/main/java/com/cmcc/simulator/authmodule/AuthResponse.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/main/java/com/cmcc/simulator/authmodule/AuthResponse.java b/src/main/java/com/cmcc/simulator/authmodule/AuthResponse.java new file mode 100644 index 0000000..6a43904 --- /dev/null +++ b/src/main/java/com/cmcc/simulator/authmodule/AuthResponse.java @@ -0,0 +1,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; + } + +} |