the-algorithm/follow-recommendations-service/server/src/main/scala/com/twitter/follow_recommendations/assembler/models/SocialProof.scala
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
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.
2023-03-31 17:36:31 -05:00

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