@@ -0,0 +1,1898 @@
+package cc.bran.tumblr.types;%0A%0Aimport java.util.Collection;%0Aimport java.util.List;%0Aimport java.util.Objects;%0A%0Aimport org.joda.time.Instant;%0A%0Aimport com.google.common.base.Preconditions;%0Aimport com.google.common.collect.ImmutableList;%0A%0A/**%0A * Represents a Tumblr video post.%0A * %0A * @author Brandon Pitman (brandon.pitman@gmail.com)%0A */%0Apublic class VideoPost extends Post %7B%0A%0A  public static class Video %7B%0A%0A    private final String embedCode;%0A%0A    private final int width;%0A%0A    public Video(int width, String embedCode) %7B%0A      Preconditions.checkNotNull(embedCode);%0A%0A      this.width = width;%0A      this.embedCode = embedCode;%0A    %7D%0A%0A    public String getEmbedCode() %7B%0A      return embedCode;%0A    %7D%0A%0A    public int getWidth() %7B%0A      return width;%0A    %7D%0A  %7D%0A%0A  private final String caption;%0A%0A  private final List%3CVideo%3E players;%0A%0A  public VideoPost(long id, String blogName, String postUrl, Instant postedInstant,%0A          Instant retrievedInstant, Collection%3CString%3E tags, String caption, List%3CVideo%3E players) %7B%0A    super(id, blogName, postUrl, postedInstant, retrievedInstant, tags);%0A    Preconditions.checkNotNull(caption);%0A    Preconditions.checkNotNull(players);%0A%0A    this.caption = caption;%0A    this.players = ImmutableList.copyOf(players);%0A  %7D%0A%0A  @Override%0A  public boolean equals(Object other) %7B%0A    if (!super.equals(other)) %7B%0A      return false;%0A    %7D%0A    if (!(other instanceof VideoPost)) %7B%0A      return false;%0A    %7D%0A    VideoPost otherPost = (VideoPost) other;%0A    return Objects.equals(this.caption, otherPost.caption)%0A            && Objects.equals(this.players, otherPost.players);%0A  %7D%0A%0A  public String getCaption() %7B%0A    return caption;%0A  %7D%0A%0A  public List%3CVideo%3E getPlayers() %7B%0A    return players;%0A  %7D%0A%0A  @Override%0A  public PostType getType() %7B%0A    return PostType.VIDEO;%0A  %7D%0A%0A  @Override%0A  public int hashCode() %7B%0A    return Objects.hash(super.hashCode(), caption, players);%0A  %7D%0A%7D%0A

Add VideoPost model type.