Class Vote

java.lang.Object
dk.minepay.server.bukkit.classes.Vote

public class Vote extends Object
Class that represents a vote.
  • Constructor Details

    • Vote

      public Vote()
      Constructor for Vote.
    • Vote

      public Vote(String _id, String uuid, String status)
      Constructor for Vote.
      Parameters:
      _id - the unique identifier of the vote
      uuid - the uuid of the player that voted
      status - the status of the vote
  • Method Details

    • getUuid

      public UUID getUuid()
      Get the uuid of the player that voted.
      Returns:
      the uuid of the player that voted
    • toString

      public String toString()
      Overrides:
      toString in class Object