All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.twitch4j.pubsub.domain.PredictionResult Maven / Gradle / Ivy

There is a newer version: 1.23.0
Show newest version
package com.github.twitch4j.pubsub.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.jetbrains.annotations.Nullable;

@Data
@Setter(AccessLevel.NONE)
public class PredictionResult {

    /**
     * The result type (e.g., "WIN", "LOSE")
     */
    private String type;

    @Nullable
    private Integer pointsWon;

    @JsonProperty("is_acknowledged")
    @Accessors(fluent = true)
    private Boolean isAcknowledged;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy