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

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

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

import com.github.twitch4j.common.annotation.Unofficial;
import lombok.Data;

@Data
public class ChannelPointsRedemption {

	/**
	 * Unique ID for this redemption event
	 */
	private String id;

	/**
	 * User that requested this redemption.
	 */
	private ChannelPointsUser user;

	/**
	 * 	ID of the channel in which the reward was redeemed.
	 */
	private String channelId;

	/**
	 * Timestamp in which a reward was redeemed
	 */
	private String redeemedAt;

	/**
	 * Data about the reward that was redeemed
	 */
	private ChannelPointsReward reward;

	/**
	 * (Optional) A string that the user entered if the reward requires input
	 */
	private String userInput;

	/**
	 * reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwise
	 */
	private String status;

	@Unofficial
	private String cursor;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy