Packages

case class Reviews(imdbScore: Double, facebookLikes: Int, contentRating: Rating, numUsersReview: Option[Int], numUsersVoted: Int, numCriticReviews: Option[Int], totalFacebookLikes: Int) extends Product with Serializable

The Reviews case class represents aggregated review and user feedback data for a movie, encapsulating information such as IMDb scores, social media metrics, content rating, and review counts.

imdbScore

The IMDb score of the movie, typically ranging from 1 to 10 with up to one decimal place.

facebookLikes

The number of likes the movie has on Facebook, used as a measure of its popularity on the platform.

contentRating

The Rating object indicating the content rating of the movie (e.g., PG, R), which may also include age restrictions.

numUsersReview

An Option representing the number of user reviews submitted for the movie. A value of None indicates an unknown or unavailable count.

numUsersVoted

The total number of users who voted for the movie on IMDb.

numCriticReviews

An Option representing the number of critic reviews submitted for the movie. A value of None indicates an unknown or unavailable count.

totalFacebookLikes

The total combined Facebook likes of the movie's cast and crew, providing a broader measure of social media presence.

Annotations
@deprecated
Deprecated

(Since version 1.7.0) Example code: it moves out of the library, into the tests, in 2.0.0

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Reviews
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Reviews(imdbScore: Double, facebookLikes: Int, contentRating: Rating, numUsersReview: Option[Int], numUsersVoted: Int, numCriticReviews: Option[Int], totalFacebookLikes: Int)

    imdbScore

    The IMDb score of the movie, typically ranging from 1 to 10 with up to one decimal place.

    facebookLikes

    The number of likes the movie has on Facebook, used as a measure of its popularity on the platform.

    contentRating

    The Rating object indicating the content rating of the movie (e.g., PG, R), which may also include age restrictions.

    numUsersReview

    An Option representing the number of user reviews submitted for the movie. A value of None indicates an unknown or unavailable count.

    numUsersVoted

    The total number of users who voted for the movie on IMDb.

    numCriticReviews

    An Option representing the number of critic reviews submitted for the movie. A value of None indicates an unknown or unavailable count.

    totalFacebookLikes

    The total combined Facebook likes of the movie's cast and crew, providing a broader measure of social media presence.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. val contentRating: Rating
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. val facebookLikes: Int
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. val imdbScore: Double
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. val numCriticReviews: Option[Int]
  16. val numUsersReview: Option[Int]
  17. val numUsersVoted: Int
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. val totalFacebookLikes: Int
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped