Created
October 17, 2014 22:50
-
-
Save jpotts18/d8af7388afdb2050a6e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MessageData { | |
MessageWrapper data { | |
Message message { | |
boolean readAt | |
} | |
} | |
String channel; | |
} | |
Message message | |
public class JunaidMessageData { | |
private MessageWrapper data; | |
private String channel; | |
private Message getMessage(){ | |
return data.getMessage(); | |
} | |
} | |
{ | |
"data": { | |
"message": { | |
"read_at": null, | |
"owner": { | |
"id": 1, | |
"photo": null, | |
"name": "Dr. Mike Wazowszki" | |
}, | |
"id": 674, | |
"created_at": "2014-10-17T22:22:54.983Z", | |
"body": "whats happening", | |
"photo": null, | |
"file": null | |
} | |
}, | |
"channel": "/issues/8-neurologic-seizures" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment