Package 

Enum Poll.Status

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum Poll.Status
    extends Enum<Poll.Status>
                        

    Class representing poll status. A Poll can be one of OPEN, CLOSED, and REMOVED. The client must first check if poll is REMOVED before doing any operation with a poll instance, because if a poll is REMOVED, all api call will return an error.

    since 3.0.171

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Poll.Status.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      REMOVED

      Removed status. A removed poll's all info is invalid and cannot be used.

      since 3.0.171

      CLOSED

      Closed status. A closed poll cannot receive votes and cannot be updated.

      since 3.0.171

      OPEN

      Open status. An open poll can receive votes and be updated.

      since 3.0.171

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait