Class Poll.PollUpdateRequestData

  • Enclosing class:
    Poll

    public static class Poll.PollUpdateRequestData
    extends java.lang.Object
    • Method Detail

      • getId

        @Nullable
        public @Nullable java.lang.String getId()
      • getUser

        @Nullable
        public @Nullable User getUser()
      • getUserId

        @Nullable
        public @Nullable java.lang.String getUserId()
      • getName

        @NotNull
        public @NotNull java.lang.String getName()
      • getDescription

        @Nullable
        public @Nullable java.lang.String getDescription()
      • getEnforceUniqueVote

        @Nullable
        public @Nullable java.lang.Boolean getEnforceUniqueVote()
      • getMaxVotesAllowed

        @Nullable
        public @Nullable java.lang.Integer getMaxVotesAllowed()
      • getAllowUserSuggestedOptions

        @Nullable
        public @Nullable java.lang.Boolean getAllowUserSuggestedOptions()
      • getAllowAnswers

        @Nullable
        public @Nullable java.lang.Boolean getAllowAnswers()
      • getIsClosed

        @Nullable
        public @Nullable java.lang.Boolean getIsClosed()
      • getCustom

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

        public void setId​(@Nullable
                          @Nullable java.lang.String id)
      • setUser

        public void setUser​(@Nullable
                            @Nullable User user)
      • setUserId

        public void setUserId​(@Nullable
                              @Nullable java.lang.String userId)
      • setName

        public void setName​(@NotNull
                            @NotNull java.lang.String name)
      • setDescription

        public void setDescription​(@Nullable
                                   @Nullable java.lang.String description)
      • setVotingVisibility

        public void setVotingVisibility​(@Nullable
                                        @Nullable Poll.VotingVisibility votingVisibility)
      • setEnforceUniqueVote

        public void setEnforceUniqueVote​(@Nullable
                                         @Nullable java.lang.Boolean enforceUniqueVote)
      • setMaxVotesAllowed

        public void setMaxVotesAllowed​(@Nullable
                                       @Nullable java.lang.Integer maxVotesAllowed)
      • setAllowUserSuggestedOptions

        public void setAllowUserSuggestedOptions​(@Nullable
                                                 @Nullable java.lang.Boolean allowUserSuggestedOptions)
      • setAllowAnswers

        public void setAllowAnswers​(@Nullable
                                    @Nullable java.lang.Boolean allowAnswers)
      • setIsClosed

        public void setIsClosed​(@Nullable
                                @Nullable java.lang.Boolean isClosed)
      • 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