mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-01 08:48:46 +02:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
20 lines
727 B
Scala
20 lines
727 B
Scala
package com.twitter.product_mixer.core.functional_component.configapi
|
|
|
|
import com.twitter.timelines.configapi.BaseRequestContext
|
|
import com.twitter.timelines.configapi.FeatureContext
|
|
import com.twitter.timelines.configapi.GuestId
|
|
import com.twitter.timelines.configapi.UserId
|
|
import com.twitter.timelines.configapi.WithFeatureContext
|
|
import com.twitter.timelines.configapi.WithGuestId
|
|
import com.twitter.timelines.configapi.WithUserId
|
|
|
|
/** Represents [[com.twitter.timelines.configapi]]'s context information */
|
|
case class RequestContext(
|
|
userId: Option[UserId],
|
|
guestId: Option[GuestId],
|
|
featureContext: FeatureContext)
|
|
extends BaseRequestContext
|
|
with WithUserId
|
|
with WithGuestId
|
|
with WithFeatureContext
|