package com.tumblr.jumblr.types;

public class ChatPost extends Post {

    // @TODO make editable

    private String title;
    private String body;
    private Dialogue[] dialogue;

    public Dialogue[] getDialogue() {
        return dialogue;
    }

    public String getTitle() {
        return title;
    }

    public String getBody() {
        return body;
    }

}

@@ -27,16 +27,39 @@
 types;%0A%0A
+import java.util.Map;%0A%0A
 public c
@@ -92,36 +92,8 @@
  %7B%0A%0A
-    // @TODO make editable%0A%0A
     
@@ -361,10 +361,340 @@
 %0A    %7D%0A%0A
+    public void setBody(String body) %7B%0A        this.body = body;%0A    %7D%0A%0A    @Override%0A    public Map%3CString, String%3E detail() %7B%0A        Map%3CString, String%3E details = super.detail();%0A        details.put(%22title%22, title);%0A        details.put(%22conversation%22, body);%0A        details.put(%22type%22, %22chat%22);%0A        return details;%0A    %7D%0A%0A
 %7D%0A

Make chat posts editable