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

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

The newest version!
package com.github.twitch4j.pubsub.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.github.twitch4j.common.util.NanoInstantDeserializer;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;

import java.time.Instant;

/**
 * @deprecated Twitch is decommissioning Soundtrack on 2023-07-17
 */
@Data
@Setter(AccessLevel.PRIVATE)
@Deprecated
public class RadioData {

    @JsonProperty("userID")
    private String channelId;

    private String asin;

    private String type; // e.g. "RADIO_PLAYING"

    @JsonDeserialize(using = NanoInstantDeserializer.class)
    private Instant updatedAt;

    private RadioTrack track;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy