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

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

package com.github.twitch4j.helix.domain;

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

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

    /**
     * The playlist’s or station’s ASIN (Amazon Standard Identification Number).
     */
    private String id;

    /**
     * The type of content that id maps to.
     */
    private Type contentType;

    /**
     * The playlist’s or station’s title.
     */
    public String title;

    /**
     * A URL to the playlist’s or station’s image art.
     */
    private String imageUrl;

    /**
     * A URL to the playlist on Soundtrack.
     * The string is empty if {@link #getContentType()} is {@link Type#STATION}.
     */
    private String soundtrackUrl;

    /**
     * A URL to the playlist on Spotify.
     * The string is empty if {@link #getContentType()} is {@link Type#STATION}.
     */
    private String spotifyUrl;

    public enum Type {
        PLAYLIST,
        STATION
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy