com.tumblr.jumblr.types
Class ChatPost

java.lang.Object
  extended by com.tumblr.jumblr.types.Resource
      extended by com.tumblr.jumblr.types.Post
          extended by com.tumblr.jumblr.types.ChatPost

public class ChatPost
extends Post

This class represents a post of type "chat"

Author:
jc

Field Summary
 
Fields inherited from class com.tumblr.jumblr.types.Resource
client
 
Constructor Summary
ChatPost()
           
 
Method Summary
 Map<String,Object> detail()
          Get the details for this post (and the base details)
 String getBody()
          Get the body for this post
 List<Dialogue> getDialogue()
          Get the dialogues for this post
 String getTitle()
          Get the title for this post
 void save()
          save swallowing IOException (only for audio, video, photo)
 void setBody(String body)
          Set the body for this post
 void setTitle(String title)
          Set the title for this post
 
Methods inherited from class com.tumblr.jumblr.types.Post
addTag, delete, getBlogName, getDateGMT, getFormat, getId, getPostUrl, getRebloggedFromId, getRebloggedFromName, getReblogKey, getSourceUrl, getState, getTags, getTimestamp, getType, isBookmarklet, isLiked, isMobile, like, reblog, reblog, removeTag, setBlogName, setDate, setDate, setFormat, setId, setSlug, setState, setTags, toString, unlike
 
Methods inherited from class com.tumblr.jumblr.types.Resource
getClient, setClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChatPost

public ChatPost()
Method Detail

getDialogue

public List<Dialogue> getDialogue()
Get the dialogues for this post

Returns:
an Array[Dialogue]

getTitle

public String getTitle()
Get the title for this post

Returns:
the title

getBody

public String getBody()
Get the body for this post

Returns:
the body

setBody

public void setBody(String body)
Set the body for this post

Parameters:
body - the body to set

setTitle

public void setTitle(String title)
Set the title for this post

Parameters:
title - the title to set

detail

public Map<String,Object> detail()
Get the details for this post (and the base details)

Overrides:
detail in class Post
Returns:
the detail

save

public void save()
save swallowing IOException (only for audio, video, photo)

Overrides:
save in class Post


Copyright © 2013. All Rights Reserved.