package models
- Alphabetic
- By Inheritance
- models
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class CashtagEntity(start: Int, end: Int, tag: String) extends Product with Serializable
- case class ContextAnnotation(domain: ContextAnnotationDomainFields, entity: ContextAnnotationEntityFields) extends Product with Serializable
Annotation inferred from the tweet text.
- case class ContextAnnotationDomainFields(id: BigInt, name: Option[String] = None, description: Option[String] = None) extends Product with Serializable
Represents the data for the context annotation domain.
- case class ContextAnnotationEntityFields(id: BigInt, name: Option[String] = None, description: Option[String] = None) extends Product with Serializable
Represents the data for the context annotation entity.
- case class Errors(errors: Seq[TwitterError]) extends Product with Serializable
- class ExpandedTweet extends AnyRef
- case class Expansions(users: Option[Seq[User]] = None, tweets: Option[Seq[Tweet]] = None, places: Option[Seq[Place]] = None, media: Option[Seq[Media]] = None, polls: Option[Seq[Poll]] = None) extends Product with Serializable
- case class FullTextEntities(urls: Option[Seq[UrlEntity]] = None, hashtags: Option[Seq[HashtagEntity]] = None, mentions: Option[Seq[MentionEntity]] = None, cashtags: Option[Seq[CashtagEntity]] = None) extends Product with Serializable
- case class Geo(type: Type, bbox: Seq[Double], geometry: Option[Point] = None, properties: JsObject) extends Product with Serializable
- case class HashtagEntity(start: Int, end: Int, tag: String) extends Product with Serializable
- case class MatchingRule(id: BigInt, tag: Option[String]) extends Product with Serializable
- case class Media(mediaKey: Option[String] = None, height: Option[Int] = None, width: Option[Int] = None) extends Product with Serializable
- case class MentionEntity(start: Int, end: Int, username: String) extends Product with Serializable
- abstract class Page extends AnyRef
- case class PagingMetadata(newestId: Option[BigInt], oldestId: Option[BigInt], resultCount: Int, nextToken: Option[String]) extends Product with Serializable
- case class Place(id: BigInt, name: Option[String] = None, countryCode: Option[String] = None, placeType: Option[PlaceType] = None, fullName: String, country: Option[String] = None, containedWithin: Option[Seq[String]] = None, geo: Option[Geo] = None) extends Product with Serializable
- case class Point(type: Type, coordinates: Seq[Double]) extends Product with Serializable
A [GeoJson Point](https://tools.ietf.org/html/rfc7946#section-3.1.2) geometry object.
- case class Poll(id: BigInt, options: Seq[PollOption], votingStatus: Option[VotingStatus] = None, endDatetime: Option[OffsetDateTime] = None, durationMinutes: Option[Int] = None) extends Product with Serializable
Represent a Poll attached to a Tweet
- case class PollOption(position: Int, label: String, votes: Int) extends Product with Serializable
Describes a choice in a Poll object.
- case class Problem(type: URI, title: String, detail: Option[String], errors: Option[Seq[JsObject]]) extends Product with Serializable
An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).
- case class ShortUserV1(id: BigInt, name: String, screenName: String, email: Option[String]) extends Product with Serializable
- case class StreamRule(id: BigInt, value: String, tag: Option[String]) extends Product with Serializable
- case class StreamRulesMeta(sent: OffsetDateTime, summary: Option[StreamRulesSummary]) extends Product with Serializable
- case class StreamRulesResponse(data: Option[Seq[StreamRule]], meta: StreamRulesMeta, errors: Option[Seq[Problem]]) extends Product with Serializable
- case class StreamRulesSummary(created: Option[Int], notCreated: Option[Int], valid: Option[Int], invalid: Option[Int], deleted: Option[Int], notDeleted: Option[Int]) extends Product with Serializable
- case class Tweet(id: BigInt, createdAt: Option[OffsetDateTime] = None, text: String, authorId: Option[BigInt] = None, inReplyToUserId: Option[BigInt] = None, referencedTweets: Option[Seq[TweetReferencedTweets]] = None, attachments: Option[TweetAttachments] = None, contextAnnotations: Option[Seq[ContextAnnotation]] = None, withheld: Option[TweetWithheld] = None, geo: Option[TweetGeo] = None, entities: Option[FullTextEntities] = None, publicMetrics: Option[TweetPublicMetrics] = None, possiblySensitive: Option[Boolean] = None, lang: Option[String] = None, source: Option[String] = None, nonPublicMetrics: Option[TweetNonPublicMetrics] = None, promotedMetrics: Option[TweetPromotedMetrics] = None, organicMetrics: Option[TweetOrganicMetrics] = None) extends Product with Serializable
- case class TweetAttachments(mediaKeys: Option[Seq[String]] = None, pollIds: Option[Seq[String]] = None) extends Product with Serializable
Specifies the type of attachments (if any) present in this Tweet.
- case class TweetElement(data: Tweet, includes: Option[Expansions], matchingRules: Seq[MatchingRule]) extends Product with Serializable
- case class TweetGeo(coordinates: Option[Point] = None, placeId: Option[BigInt] = None) extends Product with Serializable
The location tagged on the Tweet, if the user provided one.
- case class TweetNonPublicMetrics(impressionCount: Option[Int] = None, userProfileClicks: Option[Int] = None, urlLinkClicks: Option[Int] = None) extends Product with Serializable
Nonpublic engagement metrics for the Tweet at the time of the request.
- case class TweetOrganicMetrics(impressionCount: Int, retweetCount: Int, replyCount: Int, likeCount: Int, userProfileClicks: Int, urlLinkClicks: Option[Int] = None) extends Product with Serializable
Organic nonpublic engagement metrics for the Tweet at the time of the request.
- case class TweetPage(data: Option[Seq[Tweet]], includes: Option[Expansions], meta: Option[PagingMetadata]) extends Page with Product with Serializable
- case class TweetPromotedMetrics(impressionCount: Option[Int] = None, likeCount: Option[Int] = None, replyCount: Option[Int] = None, retweetCount: Option[Int] = None, userProfileClicks: Option[Int] = None, urlLinkClicks: Option[Int] = None) extends Product with Serializable
Promoted nonpublic engagement metrics for the Tweet at the time of the request.
- case class TweetPublicMetrics(retweetCount: Int, replyCount: Int, likeCount: Int, quoteCount: Option[Int] = None) extends Product with Serializable
Engagement metrics for the Tweet at the time of the request.
- case class TweetReferencedTweets(type: Type, id: BigInt) extends Product with Serializable
- case class TweetWithheld(copyright: Boolean, countryCodes: Set[String], scope: Option[Scope] = None) extends Product with Serializable
Indicates withholding details for [withheld content](https://help.twitter.com/en/rules-and-policies/tweet-withheld-by-country).
- case class TwitterError(code: Int, message: String) extends Product with Serializable
- case class URLImage(url: Option[URI] = None, height: Option[Int] = None, width: Option[Int] = None) extends Product with Serializable
Represent the information for the URL image
- case class UrlEntity(start: Int, end: Int, url: URI, expandedUrl: Option[URI] = None, displayUrl: Option[String] = None, unwoundUrl: Option[URI] = None, status: Option[Int] = None, title: Option[String] = None, description: Option[String] = None, images: Option[Seq[URLImage]] = None) extends Product with Serializable
Represent the portion of text recognized as a URL, and its start and end position within the text.
- case class User(id: BigInt, createdAt: Option[OffsetDateTime] = None, name: String, username: String, protected: Option[Boolean] = None, verified: Option[Boolean] = None, withheld: Option[UserWithheld] = None, profileImageUrl: Option[URI] = None, location: Option[String] = None, url: Option[String] = None, description: Option[String] = None, entities: Option[UserEntities] = None, pinnedTweetId: Option[BigInt] = None, publicMetrics: Option[UserPublicMetrics] = None) extends Product with Serializable
The Twitter User object
- case class UserEntities(url: Option[UserEntitiesUrl] = None, description: Option[FullTextEntities] = None) extends Product with Serializable
A list of metadata found in the user's profile description.
- case class UserEntitiesUrl(urls: Option[Seq[UrlEntity]] = None) extends Product with Serializable
Expanded details for the URL specified in the user's profile, with start and end indices.
- case class UserLookup(data: Option[User], includes: Option[Expansions], errors: Option[Seq[Problem]]) extends Product with Serializable
- case class UserPublicMetrics(followersCount: Int, followingCount: Int, tweetCount: Int, listedCount: Int) extends Product with Serializable
A list of metrics for this user
- case class UserWithheld(countryCodes: Set[String], scope: Option[Scope] = None) extends Product with Serializable
Indicates withholding details for [withheld content](https://help.twitter.com/en/rules-and-policies/tweet-withheld-by-country).
Value Members
- implicit val config: Aux[MacroOptions]
- object CashtagEntity extends Serializable
- object ContextAnnotation extends Serializable
- object ContextAnnotationDomainFields extends Serializable
- object ContextAnnotationEntityFields extends Serializable
- object Errors extends Serializable
- object Expansions extends Serializable
- object FullTextEntities extends Serializable
- object Geo extends Serializable
- object GeoEnums
- object HashtagEntity extends Serializable
- object MatchingRule extends Serializable
- object Media extends Serializable
- object MentionEntity extends Serializable
- object PagingMetadata extends Serializable
- object Place extends Serializable
- object PlaceEnums
- object Point extends Serializable
- object PointEnums
- object Poll extends Serializable
- object PollEnums
- object PollOption extends Serializable
- object Problem extends Serializable
- object ShortUserV1 extends Serializable
- object StreamRule extends Serializable
- object StreamRulesMeta extends Serializable
- object StreamRulesResponse extends Serializable
- object StreamRulesSummary extends Serializable
- object Tweet extends Serializable
- object TweetAttachments extends Serializable
- object TweetElement extends Serializable
- object TweetGeo extends Serializable
- object TweetNonPublicMetrics extends Serializable
- object TweetOrganicMetrics extends Serializable
- object TweetPage extends Serializable
- object TweetPromotedMetrics extends Serializable
- object TweetPublicMetrics extends Serializable
- object TweetReferencedTweets extends Serializable
- object TweetReferencedTweetsEnums
- object TweetWithheld extends Serializable
- object TweetWithheldEnums
- object TwitterError extends Serializable
- object URLImage extends Serializable
- object UrlEntity extends Serializable
- object User extends Serializable
- object UserEntities extends Serializable
- object UserEntitiesUrl extends Serializable
- object UserLookup extends Serializable
- object UserPublicMetrics extends Serializable
- object UserWithheld extends Serializable
- object UserWithheldEnums