Package io.getstream.chat.java.models
Class Poll.PollCreateRequestData
- java.lang.Object
-
- io.getstream.chat.java.models.Poll.PollCreateRequestData
-
- Enclosing class:
- Poll
public static class Poll.PollCreateRequestData extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPoll.PollCreateRequestData.PollCreateRequeststatic classPoll.PollCreateRequestData.PollOptionInput
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)@Nullable java.lang.BooleangetAllowAnswers()@Nullable java.lang.BooleangetAllowUserSuggestedOptions()@Nullable java.util.Map<java.lang.String,java.lang.Object>getCustom()@Nullable java.lang.StringgetDescription()@Nullable java.lang.BooleangetEnforceUniqueVote()@Nullable java.lang.StringgetId()@Nullable java.lang.BooleangetIsClosed()@Nullable java.lang.IntegergetMaxVotesAllowed()@NotNull java.lang.StringgetName()@Nullable java.util.List<Poll.PollCreateRequestData.PollOptionInput>getOptions()@Nullable UsergetUser()@Nullable java.lang.StringgetUserId()@Nullable Poll.VotingVisibilitygetVotingVisibility()inthashCode()
-
-
-
Method Detail
-
getId
@Nullable public @Nullable java.lang.String getId()
-
getUserId
@Nullable public @Nullable java.lang.String getUserId()
-
getUser
@Nullable public @Nullable User getUser()
-
getName
@NotNull public @NotNull java.lang.String getName()
-
getDescription
@Nullable public @Nullable java.lang.String getDescription()
-
getOptions
@Nullable public @Nullable java.util.List<Poll.PollCreateRequestData.PollOptionInput> getOptions()
-
getVotingVisibility
@Nullable public @Nullable Poll.VotingVisibility getVotingVisibility()
-
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()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-