Klasse PredictionOutcome
java.lang.Object
com.github.twitch4j.eventsub.domain.PredictionOutcome
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPredictionOutcome(String id, String title, PredictionColor color, Integer users, Long channelPoints, @Nullable List<Predictor> topPredictors) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleanThe total number of Channel Points used on this outcome.getColor()The color for the outcome.getId()The outcome ID.getTitle()The outcome title.The users who used the most Channel Points on this outcome.getUsers()The number of users who used Channel Points on this outcome.inthashCode()toString()withChannelPoints(Long channelPoints) The total number of Channel Points used on this outcome.withColor(PredictionColor color) The color for the outcome.The outcome ID.The outcome title.withTopPredictors(@Nullable List<Predictor> topPredictors) The users who used the most Channel Points on this outcome.The number of users who used Channel Points on this outcome.
-
Konstruktordetails
-
PredictionOutcome
public PredictionOutcome() -
PredictionOutcome
-
-
Methodendetails
-
builder
-
toBuilder
-
withId
The outcome ID.- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTitle
The outcome title. Maximum: 25 characters.- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withColor
The color for the outcome.- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUsers
The number of users who used Channel Points on this outcome.- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withChannelPoints
The total number of Channel Points used on this outcome.- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTopPredictors
The users who used the most Channel Points on this outcome.- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
getId
The outcome ID. -
getTitle
The outcome title. Maximum: 25 characters. -
getColor
The color for the outcome. -
getUsers
The number of users who used Channel Points on this outcome. -
getChannelPoints
The total number of Channel Points used on this outcome. -
getTopPredictors
The users who used the most Channel Points on this outcome. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-