Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/main/java/com/tumblr/jumblr/types/Post.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ public String getValue() {
private String slug;
private Long reblogged_from_id;
private String reblogged_from_name;
private Long reblogged_root_id;
private String reblogged_root_name;
private Long note_count;
private List<Note> notes;

Expand Down Expand Up @@ -239,6 +241,26 @@ public String getRebloggedFromName() {
return reblogged_from_name;
}

/**
* Get the ID of the root post that this post reblogged
* @return the ID
*/
public Long getRebloggedRootId() {
return reblogged_root_id;
}

/**
* Get name of the root blog that this post reblogged
* @return the root blog name for the post that this post reblogged
*/
public String getRebloggedRootName() {
return reblogged_root_name;
}

/**
* Get the notes on this post. You must set "notes_info" to "true" in the
* options map for this to work.
* @return a copy of the array of the notes on this post
/**
* Get the notes on this post. You must set "notes_info" to "true" in the
* options map for this to work.
Expand Down