Module Mal4J

Class PollOption

java.lang.Object
dev.katsute.mal4j.forum.property.PollOption
All Implemented Interfaces:
ID

public abstract class PollOption extends Object implements ID
Represents a poll's options.
Since:
1.0.0
Version:
1.0.0
Author:
Katsute
See Also:
  • Constructor Details

    • PollOption

      public PollOption()
  • Method Details

    • getText

      public abstract String getText()
      Returns the text in the poll option.
      Returns:
      poll text
      Since:
      1.0.0
    • getVotes

      public abstract Integer getVotes()
      Returns the total votes for this option.
      Returns:
      poll votes
      Since:
      1.0.0
    • getPoll

      public abstract Poll getPoll()
      Returns the poll that the option is a part of.
      Returns:
      poll
      Since:
      1.0.0
      See Also: