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

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

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

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.Instant;
import java.util.List;

/**
 * @deprecated Friends are being removed by Twitch on 2022-05-25
 */
@Data
@Deprecated
public class PresenceData {
    private String userId;
    private String userLogin;
    /**
     * User's availability. Examples include: "busy", "idle", "offline", "online"
     */
    private String availability;
    private Integer index;
    private Instant updatedAt;
    private Activity activity;
    private List activities;

    /**
     * @deprecated Friends are being removed by Twitch on 2022-05-25
     */
    @Data
    @Deprecated
    public static class Activity {
        /**
         * Activity Type. Examples include: "none", "watching", "broadcasting"
         */
        private String type;
        private String channelId;
        private String channelLogin;
        private String channelDisplayName;
        private String streamId;
        private String gameId;
        @JsonProperty("game")
        private String gameName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy