Class PollData
java.lang.Object
com.github.twitch4j.pubsub.domain.PollData
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getTitle()
Deprecated.getVotes()
int
hashCode()
void
setChoices
(List<PollData.PollChoice> choices) Deprecated.void
setCreatedBy
(String createdBy) Deprecated.void
setDurationSeconds
(Long durationSeconds) Deprecated.void
setEndedAt
(Instant endedAt) Deprecated.void
setEndedBy
(String endedBy) Deprecated.void
setOwnedBy
(String ownedBy) Deprecated.void
Deprecated.void
setRemainingDurationMilliseconds
(Long remainingDurationMilliseconds) Deprecated.void
setSettings
(PollData.PollSettings settings) Deprecated.void
setStartedAt
(Instant startedAt) Deprecated.void
setStatus
(PollData.Status status) Deprecated.void
Deprecated.void
setTokens
(PollData.Tokens tokens) Deprecated.void
setTopBitsContributor
(PollData.Contributor topBitsContributor) Deprecated.void
setTopChannelPointsContributor
(PollData.Contributor topChannelPointsContributor) Deprecated.void
setTopContributor
(PollData.Contributor topContributor) Deprecated.void
setTotalVoters
(Integer totalVoters) Deprecated.void
setVotes
(PollData.Votes votes) Deprecated.toString()
-
Constructor Details
-
PollData
public PollData()
-
-
Method Details
-
getPollId
-
getOwnedBy
-
getCreatedBy
-
getTitle
-
getStartedAt
-
getEndedAt
-
getEndedBy
-
getDurationSeconds
-
getSettings
-
getStatus
-
getChoices
-
getVotes
-
getTokens
-
getTotalVoters
-
getRemainingDurationMilliseconds
-
getTopContributor
-
getTopChannelPointsContributor
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
setPollId
Deprecated. -
setOwnedBy
Deprecated. -
setCreatedBy
Deprecated. -
setTitle
Deprecated. -
setStartedAt
Deprecated. -
setEndedAt
Deprecated. -
setEndedBy
Deprecated. -
setDurationSeconds
Deprecated. -
setSettings
Deprecated. -
setStatus
Deprecated. -
setChoices
Deprecated. -
setVotes
Deprecated. -
setTokens
Deprecated. -
setTotalVoters
Deprecated. -
setRemainingDurationMilliseconds
Deprecated. -
setTopContributor
Deprecated. -
setTopBitsContributor
Deprecated. -
setTopChannelPointsContributor
@Deprecated public void setTopChannelPointsContributor(PollData.Contributor topChannelPointsContributor) Deprecated. -
getTopBitsContributor
Deprecated.
-