Class PollData
java.lang.Object
com.github.twitch4j.pubsub.domain.PollData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic enumstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetTitle()Deprecated.getVotes()inthashCode()voidsetChoices(List<PollData.PollChoice> choices) voidsetCreatedBy(String createdBy) voidsetDurationSeconds(Long durationSeconds) voidsetEndedAt(Instant endedAt) voidsetEndedBy(String endedBy) voidsetOwnedBy(String ownedBy) voidvoidsetRemainingDurationMilliseconds(Long remainingDurationMilliseconds) voidsetSettings(PollData.PollSettings settings) voidsetStartedAt(Instant startedAt) voidsetStatus(PollData.Status status) voidvoidsetTokens(PollData.Tokens tokens) voidsetTopBitsContributor(PollData.Contributor topBitsContributor) Deprecated.voidsetTopChannelPointsContributor(PollData.Contributor topChannelPointsContributor) voidsetTopContributor(PollData.Contributor topContributor) voidsetTotalVoters(Integer totalVoters) voidsetVotes(PollData.Votes votes) toString()
-
Constructor Details
-
PollData
public PollData()
-
-
Method Details
-
getPollId
-
getOwnedBy
-
getCreatedBy
-
getTitle
-
getStartedAt
-
getEndedAt
-
getEndedBy
-
getDurationSeconds
-
getSettings
-
getStatus
-
getChoices
-
getVotes
-
getTokens
-
getTotalVoters
-
getRemainingDurationMilliseconds
-
getTopContributor
-
getTopBitsContributor
Deprecated. -
getTopChannelPointsContributor
-
setPollId
-
setOwnedBy
-
setCreatedBy
-
setTitle
-
setStartedAt
-
setEndedAt
-
setEndedBy
-
setDurationSeconds
-
setSettings
-
setStatus
-
setChoices
-
setVotes
-
setTokens
-
setTotalVoters
-
setRemainingDurationMilliseconds
-
setTopContributor
-
setTopBitsContributor
Deprecated. -
setTopChannelPointsContributor
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-