Packages

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. entities
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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
  2. sealed trait AlbumType extends AnyRef
  3. 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
  4. case class AudioAnalysis(bars: List[TimeInterval], beats: List[TimeInterval], sections: List[Section], segments: List[Segment], tatums: List[TimeInterval]) extends Product with Serializable
  5. 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
  6. case class Category(href: String, icons: List[Image], id: String, name: String) extends Product with Serializable
  7. case class Copyright(text: String, copyrightType: CopyrightType) extends Product with Serializable
  8. sealed trait CopyrightType extends AnyRef
  9. case class Cursor(after: String) extends Product with Serializable
  10. 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
  11. 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
  12. 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

  13. 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

  14. case class Followers(href: String, total: Int) extends Product with Serializable
  15. case class Image(height: Int, url: String, width: Int) extends Product with Serializable
  16. case class LinkedTrack(externalUrls: Map[String, String], href: String, id: String, objectType: String, uri: URI) extends Product with Serializable
  17. sealed trait ObjectType extends AnyRef
  18. 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
  19. 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
  20. case class PlaylistTrack(addedAt: String, addedBy: User, isLocal: Boolean, track: Track) extends Product with Serializable
  21. case class RecommendationSeed(afterFilteringSize: Int, afterRelinkingSize: Int, href: String, id: String, initialPoolSize: Int, type: String) extends Product with Serializable
  22. case class Recommendations(seeds: List[RecommendationSeed], tracks: List[Track]) extends Product with Serializable
  23. sealed trait ReleaseDatePrecision extends AnyRef
  24. case class Restrictions(reason: String) extends Product with Serializable
  25. case class ResumePoint(fullyPlayed: Boolean, resumePositionMs: Int) extends Product with Serializable
  26. case class SavedAlbum(addedAt: String, album: Album) extends Product with Serializable
  27. case class SavedShow(addedAt: String, show: Show) extends Product with Serializable
  28. case class SavedTrack(addedAt: String, track: Track) extends Product with Serializable
  29. trait Searchable extends AnyRef
  30. 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
  31. 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
  32. 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
  33. case class TimeInterval(start: Double, duration: Double, confidence: Double) extends Product with Serializable
  34. sealed trait TimeRange extends AnyRef
  35. 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
  36. 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

  1. object Album extends Serializable
  2. case object AlbumObj extends ObjectType with Product with Serializable
  3. case object AlbumT extends AlbumType with Product with Serializable
  4. object AlbumType
  5. object Artist extends Serializable
  6. case object ArtistObj extends ObjectType with Product with Serializable
  7. object AudioAnalysis extends Serializable
  8. object AudioFeatures extends Serializable
  9. case object C extends CopyrightType with Product with Serializable
  10. object Category extends Serializable
  11. case object CompilationT extends AlbumType with Product with Serializable
  12. object Copyright extends Serializable
  13. object CopyrightType
  14. object Cursor extends Serializable
  15. object CursorPaging extends Serializable
  16. case object Day extends ReleaseDatePrecision with Product with Serializable
  17. object Episode extends Serializable
  18. case object EpisodeObj extends ObjectType with Product with Serializable
  19. object Error extends Serializable
  20. object ErrorInfo extends Serializable
  21. object Followers extends Serializable
  22. object Image extends Serializable
  23. object LinkedTrack extends Serializable
  24. case object LongTerm extends TimeRange with Product with Serializable
  25. case object MediumTerm extends TimeRange with Product with Serializable
  26. case object Month extends ReleaseDatePrecision with Product with Serializable
  27. object ObjectType
  28. case object P extends CopyrightType with Product with Serializable
  29. object Paging extends Serializable
  30. object Playlist extends Serializable
  31. object PlaylistTrack extends Serializable
  32. object RecommendationSeed extends Serializable
  33. object Recommendations extends Serializable
  34. object ReleaseDatePrecision
  35. object Restrictions extends Serializable
  36. object ResumePoint extends Serializable
  37. object SavedAlbum extends Serializable
  38. object SavedShow extends Serializable
  39. object SavedTrack extends Serializable
  40. object Section extends Serializable
  41. object Segment extends Serializable
  42. case object ShortTerm extends TimeRange with Product with Serializable
  43. object Show extends Serializable
  44. case object ShowObj extends ObjectType with Product with Serializable
  45. case object SingleT extends AlbumType with Product with Serializable
  46. object TimeInterval extends Serializable
  47. object Track extends Serializable
  48. case object TrackObj extends ObjectType with Product with Serializable
  49. object User extends Serializable
  50. case object Year extends ReleaseDatePrecision with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped