Skip to content

Instantly share code, notes, and snippets.

@jpotts18
Created October 17, 2014 22:50
Show Gist options
  • Save jpotts18/d8af7388afdb2050a6e6 to your computer and use it in GitHub Desktop.
Save jpotts18/d8af7388afdb2050a6e6 to your computer and use it in GitHub Desktop.
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