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

de.sonallux.spotify.api.models.EpisodeBase Maven / Gradle / Ivy

The newest version!
package de.sonallux.spotify.api.models;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.*;

/**
 * EpisodeBase
 */
@Getter
@Setter
@NoArgsConstructor
@JsonTypeInfo(use = JsonTypeInfo.Id.NONE) // Disable deserialization based on @JsonTypeInfo
public class EpisodeBase extends BaseObject {
    /**
     * 

A URL to a 30 second preview (MP3 format) of the episode. null if not available.

*/ public String audioPreviewUrl; /** *

A description of the episode. HTML tags are stripped away from this field, use html_description field in case HTML tags are needed.

*/ public String description; /** *

The episode length in milliseconds.

*/ public int durationMs; /** *

Whether or not the episode has explicit content (true = yes it does; false = no it does not OR unknown).

*/ public boolean explicit; /** *

External URLs for this episode.

*/ public ExternalUrl externalUrls; /** *

A description of the episode. This field may contain HTML tags.

*/ public String htmlDescription; /** *

The cover art for the episode in various sizes, widest first.

*/ public java.util.List images; /** *

True if the episode is hosted outside of Spotify's CDN.

*/ public boolean isExternallyHosted; /** *

True if the episode is playable in the given market. Otherwise false.

*/ public boolean isPlayable; /** *

The language used in the episode, identified by a ISO 639 code. This field is deprecated and might be removed in the future. Please use the languages field instead.

*/ public String language; /** *

A list of the languages used in the episode, identified by their ISO 639-1 code.

*/ public java.util.List languages; /** *

The name of the episode.

*/ public String name; /** *

The date the episode was first released, for example "1981-12-15". Depending on the precision, it might be shown as "1981" or "1981-12".

*/ public String releaseDate; /** *

The precision with which release_date value is known.

*/ public String releaseDatePrecision; /** *

Included in the response when a content restriction is applied.

*/ public EpisodeRestriction restrictions; /** *

The user's most recent position in the episode. Set if the supplied access token is a user token and has the scope 'user-read-playback-position'.

*/ public ResumePoint resumePoint; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy