com.tumblr.jumblr.types
Class AnswerPost

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

public class AnswerPost
extends Post

This class represents a Post of type "answer"

Author:
jc

Field Summary
 
Fields inherited from class com.tumblr.jumblr.types.Resource
client
 
Constructor Summary
AnswerPost()
           
 
Method Summary
 String getAnswer()
          Get the answer
 String getAskingName()
          Get the asking name
 String getAskingUrl()
          Get the asking URL
 String getQuestion()
          Get the question
 void save()
          AnswerPost can not be saved
 
Methods inherited from class com.tumblr.jumblr.types.Post
addTag, delete, detail, 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

AnswerPost

public AnswerPost()
Method Detail

getAskingUrl

public String getAskingUrl()
Get the asking URL

Returns:
String URL

getAskingName

public String getAskingName()
Get the asking name

Returns:
String name

getQuestion

public String getQuestion()
Get the question

Returns:
String question

getAnswer

public String getAnswer()
Get the answer

Returns:
String answer;

save

public void save()
AnswerPost can not be saved

Overrides:
save in class Post
Throws:
IllegalArgumentException


Copyright © 2013. All Rights Reserved.