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.
17 lines
528 B
Scala
17 lines
528 B
Scala
package com.twitter.follow_recommendations.assembler.models
|
|
|
|
import com.twitter.stringcenter.client.core.ExternalString
|
|
|
|
sealed trait SocialProof
|
|
|
|
case class GeoContextProof(popularInCountryText: ExternalString) extends SocialProof
|
|
case class FollowedByUsersProof(text1: ExternalString, text2: ExternalString, textN: ExternalString)
|
|
extends SocialProof
|
|
|
|
sealed trait SocialText {
|
|
def text: String
|
|
}
|
|
|
|
case class GeoSocialText(text: String) extends SocialText
|
|
case class FollowedByUsersText(text: String) extends SocialText
|