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) void
setCreatedBy
(String createdBy) void
setDurationSeconds
(Long durationSeconds) void
setEndedAt
(Instant endedAt) void
setEndedBy
(String endedBy) void
setOwnedBy
(String ownedBy) void
void
setRemainingDurationMilliseconds
(Long remainingDurationMilliseconds) void
setSettings
(PollData.PollSettings settings) void
setStartedAt
(Instant startedAt) void
setStatus
(PollData.Status status) void
void
setTokens
(PollData.Tokens tokens) void
setTopBitsContributor
(PollData.Contributor topBitsContributor) Deprecated.void
setTopChannelPointsContributor
(PollData.Contributor topChannelPointsContributor) void
setTopContributor
(PollData.Contributor topContributor) void
setTotalVoters
(Integer totalVoters) void
setVotes
(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
-