package net.dean.jraw.models.attr;

import net.dean.jraw.models.meta.JsonProperty;
import net.dean.jraw.models.VoteDirection;

/**
 * Provides a way to show that this Thing is able to be voted on.
 *
 * @see net.dean.jraw.models.VoteDirection
 */
public interface Votable extends JsonAttribute {

    /**
     * Gets the amount of upvotes the object has received
     *
     * @return The amount of upvotes the object has received
     * @deprecated With recent changes in Reddit, this will always be equivalent to {@link #getScore()}. See
     *             <a href="https://github.com/reddit/reddit/commit/8c9ad4e">this commit</a> for more information.
     */
    @JsonProperty
    @Deprecated
    public Integer getUpvotes();

    /**
     * Gets the amount of downvotes the object has received.
     *
     * @return The amount of downvotes the post has received
     * @deprecated With recent changes in Reddit, this will always return 0. See
     *             <a href="https://github.com/reddit/reddit/commit/8c9ad4e">this commit</a> for more information.
     */
    @JsonProperty
    @Deprecated
    public Integer getDownvotes();

    /**
     * The net score of this Votable model
     *
     * @return The link's net score
     */
    @JsonProperty
    public Integer getScore();


    /**
     * Gets the way in which the logged in user voted. If there is none,
     * {@link net.dean.jraw.models.VoteDirection#NO_VOTE} will be returned.
     *
     * @return The way in which the logged in user voted
     */
    @JsonProperty
    public VoteDirection getVote();
}

@@ -61,25 +61,21 @@
 els.
-meta.JsonProperty
+VoteDirection
 ;%0Aim
@@ -100,29 +100,33 @@
 .models.
-VoteDirection
+meta.JsonProperty
 ;%0A%0A/**%0A 
@@ -240,16 +240,16 @@
 ion%0A */%0A
+
 public i
@@ -293,854 +293,8 @@
 e %7B%0A
-%0A    /**%0A     * Gets the amount of upvotes the object has received%0A     *%0A     * @return The amount of upvotes the object has received%0A     * @deprecated With recent changes in Reddit, this will always be equivalent to %7B@link #getScore()%7D. See%0A     *             %3Ca href=%22https://github.com/reddit/reddit/commit/8c9ad4e%22%3Ethis commit%3C/a%3E for more information.%0A     */%0A    @JsonProperty%0A    @Deprecated%0A    public Integer getUpvotes();%0A%0A    /**%0A     * Gets the amount of downvotes the object has received.%0A     *%0A     * @return The amount of downvotes the post has received%0A     * @deprecated With recent changes in Reddit, this will always return 0. See%0A     *             %3Ca href=%22https://github.com/reddit/reddit/commit/8c9ad4e%22%3Ethis commit%3C/a%3E for more information.%0A     */%0A    @JsonProperty%0A    @Deprecated%0A    public Integer getDownvotes();%0A%0A
     

Remove Votable.getUpvotes() and getDownvotes()