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
Ratingobject indicating the content rating of the movie (e.g., PG, R), which may also include age restrictions.- numUsersReview
An
Optionrepresenting the number of user reviews submitted for the movie. A value ofNoneindicates an unknown or unavailable count.- numUsersVoted
The total number of users who voted for the movie on IMDb.
- numCriticReviews
An
Optionrepresenting the number of critic reviews submitted for the movie. A value ofNoneindicates 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
- Alphabetic
- By Inheritance
- Reviews
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
Ratingobject indicating the content rating of the movie (e.g., PG, R), which may also include age restrictions.- numUsersReview
An
Optionrepresenting the number of user reviews submitted for the movie. A value ofNoneindicates an unknown or unavailable count.- numUsersVoted
The total number of users who voted for the movie on IMDb.
- numCriticReviews
An
Optionrepresenting the number of critic reviews submitted for the movie. A value ofNoneindicates 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val contentRating: Rating
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val facebookLikes: Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val imdbScore: Double
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val numCriticReviews: Option[Int]
- val numUsersReview: Option[Int]
- val numUsersVoted: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val totalFacebookLikes: Int
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)