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

com.github.twitch4j.helix.domain.DropsEntitlement Maven / Gradle / Ivy

package com.github.twitch4j.helix.domain;

import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.Instant;

/**
 * An entitlement is the link between a User and a Benefit.
 */
@Data
@Setter(AccessLevel.PRIVATE)
@NoArgsConstructor
public class DropsEntitlement {

    /**
     * Unique Identifier of the entitlement
     */
    private String id;

    /**
     * Identifier of the Benefit
     */
    private String benefitId;

    /**
     * UTC timestamp in ISO format when this entitlement was granted on Twitch.
     */
    private Instant timestamp;

    /**
     * UTC timestamp in ISO format for when this entitlement was last updated.
     */
    private Instant updatedAt;

    /**
     * The fulfillment status of the entitlement as determined by the game developer.
     */
    private DropFulfillmentStatus fulfillmentStatus;

    /**
     * Twitch User ID of the user who was granted the entitlement.
     */
    private String userId;

    /**
     * Twitch Game ID of the game that was being played when this benefit was entitled.
     */
    private String gameId;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy