diff options
Diffstat (limited to 'sms-client/src/java/example/SmsClientExample.java')
-rw-r--r-- | sms-client/src/java/example/SmsClientExample.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sms-client/src/java/example/SmsClientExample.java b/sms-client/src/java/example/SmsClientExample.java index 7bbaa90..dc0e776 100644 --- a/sms-client/src/java/example/SmsClientExample.java +++ b/sms-client/src/java/example/SmsClientExample.java @@ -103,6 +103,9 @@ public class SmsClientExample { } SmsResponse resp6= sms.getSecret("onap.new.test.sms0", "credentials"); if ( resp6.getSuccess() ) { + Boolean b = (Boolean)resp6.getResponse().get("isadmin"); + if ( b ) + System.out.println("Age=" + (Integer)resp6.getResponse().get("age")); System.out.println(resp6.getResponse()); System.out.println(resp6.getResponseCode()); } |