case class Recommendation(userId: Option[String], productId: Option[String], clientId: Option[String] = None, siteId: Option[String] = None, recommendedProductIds: Seq[String] = List.empty, timestamp: Option[String] = None) extends Product with Serializable
A product recommendation.
- userId
the identifier of the queried user wrapped in a
Someif the recommendation is for a user,Noneotherwise- productId
the identifier of the queried product wrapped in a
Someif the recommendation is for a product,Noneotherwise- clientId
the identifier of the client
- siteId
the identifier of the site
- recommendedProductIds
the recommended product identifiers
- timestamp
the time the recommendation was issued
- Alphabetic
- By Inheritance
- Recommendation
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Recommendation(userId: Option[String], productId: Option[String], clientId: Option[String] = None, siteId: Option[String] = None, recommendedProductIds: Seq[String] = List.empty, timestamp: Option[String] = None)
- userId
the identifier of the queried user wrapped in a
Someif the recommendation is for a user,Noneotherwise- productId
the identifier of the queried product wrapped in a
Someif the recommendation is for a product,Noneotherwise- clientId
the identifier of the client
- siteId
the identifier of the site
- recommendedProductIds
the recommended product identifiers
- timestamp
the time the recommendation was issued
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
- val clientId: Option[String]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val productId: Option[String]
- val recommendedProductIds: Seq[String]
- val siteId: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timestamp: Option[String]
- val userId: Option[String]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )