package entities
This package contains classes representing the objects obtainable by the API.
Some endpoints return simplified versions of the resource objects. For this reason, the classes in this package represent fields not present in the simplified versions as Options.
- Alphabetic
- By Inheritance
- entities
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Album(albumGroup: Option[String] = None, albumType: AlbumType, artists: List[Artist], availableMarkets: List[String] = Nil, copyrights: Option[List[Copyright]] = None, externalIds: Option[Map[String, String]] = None, externalUrls: Map[String, String], genres: Option[List[String]] = None, href: String, id: String, images: List[Image], label: Option[String] = None, name: String, popularity: Option[Int] = None, releaseDate: String, releaseDatePrecision: ReleaseDatePrecision, restrictions: Option[Restrictions] = None, tracks: Option[Paging[Track]] = None, objectType: ObjectType = AlbumObj, uri: URI) extends Searchable with Product with Serializable
- sealed trait AlbumType extends AnyRef
- case class Artist(externalUrls: Map[String, String], followers: Option[Followers], genres: Option[List[String]], href: String, id: String, images: Option[List[Image]], name: String, popularity: Option[Int], objectType: ObjectType = ArtistObj, uri: URI) extends Searchable with Product with Serializable
- case class AudioAnalysis(bars: List[TimeInterval], beats: List[TimeInterval], sections: List[Section], segments: List[Segment], tatums: List[TimeInterval]) extends Product with Serializable
- case class AudioFeatures(durationMs: Int, key: Int, mode: Int, timeSignature: Int, acousticness: Double, danceability: Double, energy: Double, instrumentalness: Double, liveness: Double, loudness: Double, speechiness: Double, valence: Double, tempo: Double, id: String, uri: URI, trackHref: String, analysisURL: String, objectType: String) extends Product with Serializable
- case class Category(href: String, icons: List[Image], id: String, name: String) extends Product with Serializable
- case class Copyright(text: String, copyrightType: CopyrightType) extends Product with Serializable
- sealed trait CopyrightType extends AnyRef
- case class Cursor(after: String) extends Product with Serializable
- case class CursorPaging[T](href: String, items: Option[List[T]] = None, limit: Option[Int] = None, next: Option[String] = None, cursors: Cursor, total: Int) extends Product with Serializable
- case class Episode(audioPreviewUrl: String, description: String, durationMs: Int, explicit: Boolean, externalUrls: Map[String, String], href: String, id: String, images: List[Image], isExternallyHosted: Boolean, isPlayable: Boolean, languages: List[String], name: String, releaseDate: String, releaseDatePrecision: ReleaseDatePrecision, resumePoint: Option[ResumePoint] = None, show: Option[Show] = None, objectType: ObjectType = EpisodeObj, uri: URI) extends Searchable with Product with Serializable
- case class Error(error: ErrorInfo) extends Product with Serializable
Stores the information returned by unsuccessful responses.
Stores the information returned by unsuccessful responses.
- error
an object storing the detailed information about the error
- case class ErrorInfo(status: Int, message: String) extends Product with Serializable
Stores the information returned by unsuccessful responses.
Stores the information returned by unsuccessful responses.
- status
the HTTP status code that is also returned in the response header. For further information, see Response Status Codes
- message
a short description of the cause of the error
- case class Followers(href: String, total: Int) extends Product with Serializable
- case class Image(height: Int, url: String, width: Int) extends Product with Serializable
- case class LinkedTrack(externalUrls: Map[String, String], href: String, id: String, objectType: String, uri: URI) extends Product with Serializable
- sealed trait ObjectType extends AnyRef
- case class Paging[T](href: String, items: Option[List[T]] = None, limit: Option[Int] = None, next: Option[String] = None, offset: Option[Int] = None, previous: Option[String] = None, total: Int) extends Product with Serializable
- case class Playlist(collaborative: Boolean, description: String, externalUrls: Map[String, String], followers: Option[Followers] = None, href: String, id: String, images: List[Image], name: String, owner: User, public: Boolean, snapshotID: String, tracks: Paging[PlaylistTrack], objectType: String, uri: URI) extends Product with Serializable
- case class PlaylistTrack(addedAt: String, addedBy: User, isLocal: Boolean, track: Track) extends Product with Serializable
- case class RecommendationSeed(afterFilteringSize: Int, afterRelinkingSize: Int, href: String, id: String, initialPoolSize: Int, type: String) extends Product with Serializable
- case class Recommendations(seeds: List[RecommendationSeed], tracks: List[Track]) extends Product with Serializable
- sealed trait ReleaseDatePrecision extends AnyRef
- case class Restrictions(reason: String) extends Product with Serializable
- case class ResumePoint(fullyPlayed: Boolean, resumePositionMs: Int) extends Product with Serializable
- case class SavedAlbum(addedAt: String, album: Album) extends Product with Serializable
- case class SavedShow(addedAt: String, show: Show) extends Product with Serializable
- case class SavedTrack(addedAt: String, track: Track) extends Product with Serializable
- trait Searchable extends AnyRef
- case class Section(start: Double, duration: Double, confidence: Double, loudness: Double, tempo: Double, tempoConfidence: Double, key: Int, keyConfidence: Double, mode: Int, modeConfidence: Double, timeSignature: Int, timeSignatureConfidence: Double) extends Product with Serializable
- case class Segment(start: Double, duration: Double, confidence: Double, loudnessStart: Double, loudnessMax: Double, loudnessMaxTime: Double, loudnessEnd: Double, pitches: List[Double], timbre: List[Double]) extends Product with Serializable
- case class Show(availableMarkets: List[String], copyrights: List[Copyright], description: String, explicit: Boolean, episodes: Option[Paging[Episode]] = None, externalUrls: Map[String, String], href: String, id: String, images: List[Image], isExternallyHosted: Boolean, languages: List[String], mediaType: String, name: String, publisher: String, objectType: ObjectType = ShowObj, uri: URI) extends Searchable with Product with Serializable
- case class TimeInterval(start: Double, duration: Double, confidence: Double) extends Product with Serializable
- sealed trait TimeRange extends AnyRef
- case class Track(album: Option[Album] = None, artists: List[Artist], availableMarkets: List[String] = Nil, discNumber: Int, durationMs: Int, explicit: Boolean, externalIds: Option[Map[String, String]] = None, externalUrls: Map[String, String], href: String, id: String, isPlayable: Option[Boolean] = None, linkedFrom: Option[LinkedTrack] = None, restrictions: Option[Restrictions] = None, name: String, popularity: Option[Int] = None, previewUrl: String, trackNumber: Int, objectType: ObjectType = TrackObj, uri: URI, isLocal: Boolean) extends Searchable with Product with Serializable
- case class User(country: Option[String] = None, displayName: Option[String] = None, email: Option[String] = None, externalUrls: Map[String, String], followers: Option[Followers] = None, href: String, id: String, images: Option[List[Image]] = None, product: Option[String] = None, objectType: String, uri: URI) extends Product with Serializable
Value Members
- object Album extends Serializable
- case object AlbumObj extends ObjectType with Product with Serializable
- case object AlbumT extends AlbumType with Product with Serializable
- object AlbumType
- object Artist extends Serializable
- case object ArtistObj extends ObjectType with Product with Serializable
- object AudioAnalysis extends Serializable
- object AudioFeatures extends Serializable
- case object C extends CopyrightType with Product with Serializable
- object Category extends Serializable
- case object CompilationT extends AlbumType with Product with Serializable
- object Copyright extends Serializable
- object CopyrightType
- object Cursor extends Serializable
- object CursorPaging extends Serializable
- case object Day extends ReleaseDatePrecision with Product with Serializable
- object Episode extends Serializable
- case object EpisodeObj extends ObjectType with Product with Serializable
- object Error extends Serializable
- object ErrorInfo extends Serializable
- object Followers extends Serializable
- object Image extends Serializable
- object LinkedTrack extends Serializable
- case object LongTerm extends TimeRange with Product with Serializable
- case object MediumTerm extends TimeRange with Product with Serializable
- case object Month extends ReleaseDatePrecision with Product with Serializable
- object ObjectType
- case object P extends CopyrightType with Product with Serializable
- object Paging extends Serializable
- object Playlist extends Serializable
- object PlaylistTrack extends Serializable
- object RecommendationSeed extends Serializable
- object Recommendations extends Serializable
- object ReleaseDatePrecision
- object Restrictions extends Serializable
- object ResumePoint extends Serializable
- object SavedAlbum extends Serializable
- object SavedShow extends Serializable
- object SavedTrack extends Serializable
- object Section extends Serializable
- object Segment extends Serializable
- case object ShortTerm extends TimeRange with Product with Serializable
- object Show extends Serializable
- case object ShowObj extends ObjectType with Product with Serializable
- case object SingleT extends AlbumType with Product with Serializable
- object TimeInterval extends Serializable
- object Track extends Serializable
- case object TrackObj extends ObjectType with Product with Serializable
- object User extends Serializable
- case object Year extends ReleaseDatePrecision with Product with Serializable