Class Poll.PollOption

  • Enclosing class:
    Poll

    public static class Poll.PollOption
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PollOption()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      @Nullable java.util.Map<java.lang.String,​java.lang.Object> getCustom()  
      @NotNull java.lang.String getId()  
      @Nullable java.lang.String getText()  
      int hashCode()  
      void setCustom​(@Nullable java.util.Map<java.lang.String,​java.lang.Object> custom)  
      void setId​(@NotNull java.lang.String id)  
      void setText​(@Nullable java.lang.String text)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PollOption

        public PollOption()
    • Method Detail

      • getId

        @NotNull
        public @NotNull java.lang.String getId()
      • getText

        @Nullable
        public @Nullable java.lang.String getText()
      • getCustom

        @Nullable
        public @Nullable java.util.Map<java.lang.String,​java.lang.Object> getCustom()
      • setId

        public void setId​(@NotNull
                          @NotNull java.lang.String id)
      • setText

        public void setText​(@Nullable
                            @Nullable java.lang.String text)
      • setCustom

        public void setCustom​(@Nullable
                              @Nullable java.util.Map<java.lang.String,​java.lang.Object> custom)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object