twitter-types-0.11.0: Twitter JSON parser and types

Safe Haskell | None
Language | Haskell2010

Web.Twitter.Types

Synopsis

- type UserId = Integer
- type Friends = [UserId]
- type URIString = Text
- type UserName = Text
- type StatusId = Integer
- type LanguageCode = String
- data StreamingAPI
  - = SStatus Status
  - | SRetweetedStatus RetweetedStatus
  - | SEvent Event
  - | SDelete Delete
  - | SFriends Friends
  - | SDirectMessage DirectMessage
  - | SUnknown Value
- data Status = Status {
  - statusContributors :: Maybe [Contributor]
  - statusCoordinates :: Maybe Coordinates
  - statusCreatedAt :: UTCTime
  - statusCurrentUserRetweet :: Maybe StatusId
  - statusEntities :: Maybe Entities
  - statusExtendedEntities :: Maybe ExtendedEntities
  - statusFavoriteCount :: Integer
  - statusFavorited :: Maybe Bool
  - statusFilterLevel :: Maybe Text
  - statusId :: StatusId
  - statusInReplyToScreenName :: Maybe Text
  - statusInReplyToStatusId :: Maybe StatusId
  - statusInReplyToUserId :: Maybe UserId
  - statusLang :: Maybe LanguageCode
  - statusPlace :: Maybe Place
  - statusPossiblySensitive :: Maybe Bool
  - statusScopes :: Maybe Object
  - statusQuotedStatusId :: Maybe StatusId
  - statusQuotedStatus :: Maybe Status
  - statusRetweetCount :: Integer
  - statusRetweeted :: Maybe Bool
  - statusRetweetedStatus :: Maybe Status
  - statusSource :: Text
  - statusText :: Text
  - statusTruncated :: Bool
  - statusUser :: User
  - statusWithheldCopyright :: Maybe Bool
  - statusWithheldInCountries :: Maybe [Text]
  - statusWithheldScope :: Maybe Text
  - statusDisplayTextRange :: Maybe DisplayTextRange
  }
- data SearchResult body = SearchResult {
  - searchResultStatuses :: body
  - searchResultSearchMetadata :: SearchMetadata
  }
- data SearchStatus = SearchStatus {
  - searchStatusCreatedAt :: UTCTime
  - searchStatusId :: StatusId
  - searchStatusText :: Text
  - searchStatusSource :: Text
  - searchStatusUser :: User
  - searchStatusCoordinates :: Maybe Coordinates
  }
- data SearchMetadata = SearchMetadata {
  - searchMetadataMaxId :: StatusId
  - searchMetadataSinceId :: StatusId
  - searchMetadataRefreshURL :: URIString
  - searchMetadataNextResults :: Maybe URIString
  - searchMetadataCount :: Int
  - searchMetadataCompletedIn :: Maybe Float
  - searchMetadataSinceIdStr :: String
  - searchMetadataQuery :: String
  - searchMetadataMaxIdStr :: String
  }
- data RetweetedStatus = RetweetedStatus {
  - rsCreatedAt :: UTCTime
  - rsId :: StatusId
  - rsText :: Text
  - rsSource :: Text
  - rsTruncated :: Bool
  - rsEntities :: Maybe Entities
  - rsUser :: User
  - rsRetweetedStatus :: Status
  - rsCoordinates :: Maybe Coordinates
  }
- data DirectMessage = DirectMessage {
  - dmId :: EventId
  - dmCreatedTimestamp :: UTCTime
  - dmTargetRecipientId :: UserId
  - dmSenderId :: UserId
  - dmText :: Text
  - dmEntities :: Entities
  }
- data EventTarget
  - = ETUser User
  - | ETStatus Status
  - | ETList List
  - | ETUnknown Value
- data Event = Event {
  - evCreatedAt :: UTCTime
  - evTargetObject :: Maybe EventTarget
  - evEvent :: Text
  - evTarget :: EventTarget
  - evSource :: EventTarget
  }
- data Delete = Delete {
  - delId :: StatusId
  - delUserId :: UserId
  }
- data User = User {
  - userContributorsEnabled :: Bool
  - userCreatedAt :: UTCTime
  - userDefaultProfile :: Bool
  - userDefaultProfileImage :: Bool
  - userDescription :: Maybe Text
  - userEmail :: Maybe Text
  - userFavoritesCount :: Int
  - userFollowRequestSent :: Maybe Bool
  - userFollowing :: Maybe Bool
  - userFollowersCount :: Int
  - userFriendsCount :: Int
  - userGeoEnabled :: Bool
  - userId :: UserId
  - userIsTranslator :: Bool
  - userLang :: Maybe LanguageCode
  - userListedCount :: Int
  - userLocation :: Maybe Text
  - userName :: Text
  - userNotifications :: Maybe Bool
  - userProfileBackgroundColor :: Maybe Text
  - userProfileBackgroundImageURL :: Maybe URIString
  - userProfileBackgroundImageURLHttps :: Maybe URIString
  - userProfileBackgroundTile :: Maybe Bool
  - userProfileBannerURL :: Maybe URIString
  - userProfileImageURL :: Maybe URIString
  - userProfileImageURLHttps :: Maybe URIString
  - userProfileLinkColor :: Text
  - userProfileSidebarBorderColor :: Text
  - userProfileSidebarFillColor :: Text
  - userProfileTextColor :: Text
  - userProfileUseBackgroundImage :: Bool
  - userProtected :: Bool
  - userScreenName :: Text
  - userShowAllInlineMedia :: Maybe Bool
  - userStatusesCount :: Int
  - userTimeZone :: Maybe Text
  - userURL :: Maybe URIString
  - userUtcOffset :: Maybe Int
  - userVerified :: Bool
  - userWithheldInCountries :: Maybe [Text]
  - userWithheldScope :: Maybe Text
  }
- data List = List {
  - listId :: Int
  - listName :: Text
  - listFullName :: Text
  - listMemberCount :: Int
  - listSubscriberCount :: Int
  - listMode :: Text
  - listUser :: User
  }
- data Entities = Entities {
  - enHashTags :: [Entity HashTagEntity]
  - enUserMentions :: [Entity UserEntity]
  - enURLs :: [Entity URLEntity]
  - enMedia :: [Entity MediaEntity]
  }
- type EntityIndices = [Int]
- data ExtendedEntities = ExtendedEntities {
  - exeMedia :: [Entity ExtendedEntity]
  }
- data Variant = Variant {
  - vBitrate :: Maybe Int
  - vContentType :: Text
  - vUrl :: URIString
  }
- data VideoInfo = VideoInfo {
  - vsAspectRatio :: [Int]
  - vsDurationMillis :: Maybe Int
  - vsVariants :: [Variant]
  }
- data ExtendedEntity = ExtendedEntity {
  - exeID :: StatusId
  - exeMediaUrl :: URIString
  - exeMediaUrlHttps :: URIString
  - exeSizes :: HashMap Text MediaSize
  - exeType :: Text
  - exeVideoInfo :: Maybe VideoInfo
  - exeDurationMillis :: Maybe Double
  - exeExtAltText :: Maybe String
  - exeURL :: URLEntity
  }
- data Entity a = Entity {
  - entityBody :: a
  - entityIndices :: EntityIndices
  }
- data HashTagEntity = HashTagEntity {
  - hashTagText :: Text
  }
- data UserEntity = UserEntity {
  - userEntityUserId :: UserId
  - userEntityUserName :: UserName
  - userEntityUserScreenName :: Text
  }
- data URLEntity = URLEntity {
  - ueURL :: URIString
  - ueExpanded :: URIString
  - ueDisplay :: Text
  }
- data MediaEntity = MediaEntity {
  - meType :: Text
  - meId :: StatusId
  - meSizes :: HashMap Text MediaSize
  - meMediaURL :: URIString
  - meMediaURLHttps :: URIString
  - meURL :: URLEntity
  }
- data MediaSize = MediaSize {
  - msWidth :: Int
  - msHeight :: Int
  - msResize :: Text
  }
- data Coordinates = Coordinates {
  - coordinates :: [Double]
  - coordinatesType :: Text
  }
- data Place = Place {
  - placeAttributes :: HashMap Text Text
  - placeBoundingBox :: Maybe BoundingBox
  - placeCountry :: Text
  - placeCountryCode :: Text
  - placeFullName :: Text
  - placeId :: Text
  - placeName :: Text
  - placeType :: Text
  - placeURL :: Text
  }
- data BoundingBox = BoundingBox {
  - boundingBoxCoordinates :: [[[Double]]]
  - boundingBoxType :: Text
  }
- data Contributor = Contributor {
  - contributorId :: UserId
  - contributorScreenName :: Maybe Text
  }
- data UploadedMedia = UploadedMedia {
  - uploadedMediaId :: Integer
  - uploadedMediaSize :: Integer
  - uploadedMediaImage :: ImageSizeType
  }
- data ImageSizeType = ImageSizeType {
  - imageSizeTypeWidth :: Int
  - imageSizeTypeHeight :: Int
  - imageSizeTypeType :: Text
  }
- data DisplayTextRange = DisplayTextRange {
  - displayTextRangeStart :: Int
  - displayTextRangeEnd :: Int
  }
- checkError :: Object -> Parser ()
- twitterTimeFormat :: String

# Documentation

type UserId = Integer Source #

type Friends = [UserId] Source #

type URIString = Text Source #

type UserName = Text Source #

type StatusId = Integer Source #

type LanguageCode = String Source #

data StreamingAPI Source #

Constructors

SStatus Status |
SRetweetedStatus RetweetedStatus |
SEvent Event |
SDelete Delete |
SFriends Friends | SScrubGeo ScrubGeo
SDirectMessage DirectMessage |
SUnknown Value |

#### Instances

Instances details

FromJSON StreamingAPI Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser StreamingAPI Source # parseJSONList :: Value -> Parser [StreamingAPI] Source # omittedField :: Maybe StreamingAPI Source #
ToJSON StreamingAPI Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: StreamingAPI -> Value Source # toEncoding :: StreamingAPI -> Encoding Source # toJSONList :: [StreamingAPI] -> Value Source # toEncodingList :: [StreamingAPI] -> Encoding Source # omitField :: StreamingAPI -> Bool Source #
Data StreamingAPI Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamingAPI -> c StreamingAPI Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingAPI Source #

toConstr :: StreamingAPI -> Constr Source #

dataTypeOf :: StreamingAPI -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StreamingAPI) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingAPI) Source #

gmapT :: (forall b. Data b => b -> b) -> StreamingAPI -> StreamingAPI Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingAPI -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingAPI -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> StreamingAPI -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingAPI -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingAPI -> m StreamingAPI Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingAPI -> m StreamingAPI Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingAPI -> m StreamingAPI Source #

Generic StreamingAPI Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep StreamingAPI |

Instance details

Defined in Web.Twitter.Types

type Rep StreamingAPI = D1 ('MetaData "StreamingAPI" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) ((C1 ('MetaCons "SStatus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status)) :+: (C1 ('MetaCons "SRetweetedStatus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RetweetedStatus)) :+: C1 ('MetaCons "SEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Event)))) :+: ((C1 ('MetaCons "SDelete" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Delete)) :+: C1 ('MetaCons "SFriends" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Friends))) :+: (C1 ('MetaCons "SDirectMessage" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DirectMessage)) :+: C1 ('MetaCons "SUnknown" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)))))

Methods

from :: StreamingAPI -> Rep StreamingAPI x Source #

to :: Rep StreamingAPI x -> StreamingAPI Source #

Show StreamingAPI Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> StreamingAPI -> ShowS Source # show :: StreamingAPI -> String Source # showList :: [StreamingAPI] -> ShowS Source #
Eq StreamingAPI Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: StreamingAPI -> StreamingAPI -> Bool Source # (/=) :: StreamingAPI -> StreamingAPI -> Bool Source #
type Rep StreamingAPI Source # |

Instance details

Defined in Web.Twitter.Types

type Rep StreamingAPI = D1 ('MetaData "StreamingAPI" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) ((C1 ('MetaCons "SStatus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status)) :+: (C1 ('MetaCons "SRetweetedStatus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RetweetedStatus)) :+: C1 ('MetaCons "SEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Event)))) :+: ((C1 ('MetaCons "SDelete" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Delete)) :+: C1 ('MetaCons "SFriends" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Friends))) :+: (C1 ('MetaCons "SDirectMessage" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DirectMessage)) :+: C1 ('MetaCons "SUnknown" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)))))

data Status Source #

This type represents a Twitter tweet structure. See https://dev.twitter.com/docs/platform-objects/tweets.

Constructors

Status |

Fields

- statusContributors :: Maybe [Contributor]
- statusCoordinates :: Maybe Coordinates
- statusCreatedAt :: UTCTime
- statusCurrentUserRetweet :: Maybe StatusId
- statusEntities :: Maybe Entities
- statusExtendedEntities :: Maybe ExtendedEntities
- statusFavoriteCount :: Integer
- statusFavorited :: Maybe Bool
- statusFilterLevel :: Maybe Text
- statusId :: StatusId
- statusInReplyToScreenName :: Maybe Text
- statusInReplyToStatusId :: Maybe StatusId
- statusInReplyToUserId :: Maybe UserId
- statusLang :: Maybe LanguageCode
- statusPlace :: Maybe Place
- statusPossiblySensitive :: Maybe Bool
- statusScopes :: Maybe Object
- statusQuotedStatusId :: Maybe StatusId
- statusQuotedStatus :: Maybe Status
- statusRetweetCount :: Integer
- statusRetweeted :: Maybe Bool
- statusRetweetedStatus :: Maybe Status
- statusSource :: Text
- statusText :: Text
- statusTruncated :: Bool
- statusUser :: User
- statusWithheldCopyright :: Maybe Bool
- statusWithheldInCountries :: Maybe [Text]
- statusWithheldScope :: Maybe Text
- statusDisplayTextRange :: Maybe DisplayTextRange

#### Instances

Instances details

FromJSON Status Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Status Source # parseJSONList :: Value -> Parser [Status] Source # omittedField :: Maybe Status Source #
ToJSON Status Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Status -> Value Source # toEncoding :: Status -> Encoding Source # toJSONList :: [Status] -> Value Source # toEncodingList :: [Status] -> Encoding Source # omitField :: Status -> Bool Source #
Data Status Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status Source #

toConstr :: Status -> Constr Source #

dataTypeOf :: Status -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) Source #

gmapT :: (forall b. Data b => b -> b) -> Status -> Status Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status Source #

Generic Status Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Status |

Instance details

Defined in Web.Twitter.Types

type Rep Status = D1 ('MetaData "Status" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Status" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "statusContributors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Contributor])) :*: (S1 ('MetaSel ('Just "statusCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates)) :*: S1 ('MetaSel ('Just "statusCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime))) :*: ((S1 ('MetaSel ('Just "statusCurrentUserRetweet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)) :*: S1 ('MetaSel ('Just "statusEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Entities))) :*: (S1 ('MetaSel ('Just "statusExtendedEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtendedEntities)) :*: S1 ('MetaSel ('Just "statusFavoriteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) :*: (((S1 ('MetaSel ('Just "statusFavorited") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusFilterLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "statusInReplyToScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "statusInReplyToStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)) :*: S1 ('MetaSel ('Just "statusInReplyToUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UserId))) :*: (S1 ('MetaSel ('Just "statusLang") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "statusPlace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Place)))))) :*: (((S1 ('MetaSel ('Just "statusPossiblySensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "statusScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "statusQuotedStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)))) :*: ((S1 ('MetaSel ('Just "statusQuotedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "statusRetweetCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "statusRetweeted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusRetweetedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Status))))) :*: (((S1 ('MetaSel ('Just "statusSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "statusTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "statusUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User))) :*: ((S1 ('MetaSel ('Just "statusWithheldCopyright") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusWithheldInCountries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "statusWithheldScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusDisplayTextRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DisplayTextRange))))))))

Methods

from :: Status -> Rep Status x Source #

to :: Rep Status x -> Status Source #

Show Status Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Status -> ShowS Source # show :: Status -> String Source # showList :: [Status] -> ShowS Source #
Eq Status Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: Status -> Status -> Bool Source # (/=) :: Status -> Status -> Bool Source #
type Rep Status Source # |

Instance details

Defined in Web.Twitter.Types

type Rep Status = D1 ('MetaData "Status" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Status" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "statusContributors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Contributor])) :*: (S1 ('MetaSel ('Just "statusCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates)) :*: S1 ('MetaSel ('Just "statusCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime))) :*: ((S1 ('MetaSel ('Just "statusCurrentUserRetweet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)) :*: S1 ('MetaSel ('Just "statusEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Entities))) :*: (S1 ('MetaSel ('Just "statusExtendedEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtendedEntities)) :*: S1 ('MetaSel ('Just "statusFavoriteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) :*: (((S1 ('MetaSel ('Just "statusFavorited") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusFilterLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "statusInReplyToScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "statusInReplyToStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)) :*: S1 ('MetaSel ('Just "statusInReplyToUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UserId))) :*: (S1 ('MetaSel ('Just "statusLang") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "statusPlace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Place)))))) :*: (((S1 ('MetaSel ('Just "statusPossiblySensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "statusScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "statusQuotedStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)))) :*: ((S1 ('MetaSel ('Just "statusQuotedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "statusRetweetCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "statusRetweeted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusRetweetedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Status))))) :*: (((S1 ('MetaSel ('Just "statusSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "statusTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "statusUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User))) :*: ((S1 ('MetaSel ('Just "statusWithheldCopyright") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusWithheldInCountries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "statusWithheldScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusDisplayTextRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DisplayTextRange))))))))

data SearchResult body Source #

Constructors

SearchResult |

Fields

- searchResultStatuses :: body
- searchResultSearchMetadata :: SearchMetadata

#### Instances

Instances details

FromJSON body => FromJSON (SearchResult body) Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser (SearchResult body) Source # parseJSONList :: Value -> Parser [SearchResult body] Source # omittedField :: Maybe (SearchResult body) Source #
ToJSON body => ToJSON (SearchResult body) Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: SearchResult body -> Value Source # toEncoding :: SearchResult body -> Encoding Source # toJSONList :: [SearchResult body] -> Value Source # toEncodingList :: [SearchResult body] -> Encoding Source # omitField :: SearchResult body -> Bool Source #
Data body => Data (SearchResult body) Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchResult body -> c (SearchResult body) Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (SearchResult body) Source #

toConstr :: SearchResult body -> Constr Source #

dataTypeOf :: SearchResult body -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (SearchResult body)) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (SearchResult body)) Source #

gmapT :: (forall b. Data b => b -> b) -> SearchResult body -> SearchResult body Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult body -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult body -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SearchResult body -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchResult body -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) Source #

Generic (SearchResult body) Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep (SearchResult body) |

Instance details

Defined in Web.Twitter.Types

type Rep (SearchResult body) = D1 ('MetaData "SearchResult" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "searchResultStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 body) :*: S1 ('MetaSel ('Just "searchResultSearchMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SearchMetadata)))

Methods

from :: SearchResult body -> Rep (SearchResult body) x Source #

to :: Rep (SearchResult body) x -> SearchResult body Source #

Show body => Show (SearchResult body) Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> SearchResult body -> ShowS Source # show :: SearchResult body -> String Source # showList :: [SearchResult body] -> ShowS Source #
Eq body => Eq (SearchResult body) Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: SearchResult body -> SearchResult body -> Bool Source # (/=) :: SearchResult body -> SearchResult body -> Bool Source #
type Rep (SearchResult body) Source # |

Instance details

Defined in Web.Twitter.Types

type Rep (SearchResult body) = D1 ('MetaData "SearchResult" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "searchResultStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 body) :*: S1 ('MetaSel ('Just "searchResultSearchMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SearchMetadata)))

data SearchStatus Source #

Constructors

SearchStatus |

Fields

- searchStatusCreatedAt :: UTCTime
- searchStatusId :: StatusId
- searchStatusText :: Text
- searchStatusSource :: Text
- searchStatusUser :: User
- searchStatusCoordinates :: Maybe Coordinates

#### Instances

Instances details

FromJSON SearchStatus Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser SearchStatus Source # parseJSONList :: Value -> Parser [SearchStatus] Source # omittedField :: Maybe SearchStatus Source #
ToJSON SearchStatus Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: SearchStatus -> Value Source # toEncoding :: SearchStatus -> Encoding Source # toJSONList :: [SearchStatus] -> Value Source # toEncodingList :: [SearchStatus] -> Encoding Source # omitField :: SearchStatus -> Bool Source #
Data SearchStatus Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchStatus -> c SearchStatus Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchStatus Source #

toConstr :: SearchStatus -> Constr Source #

dataTypeOf :: SearchStatus -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchStatus) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchStatus) Source #

gmapT :: (forall b. Data b => b -> b) -> SearchStatus -> SearchStatus Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SearchStatus -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchStatus -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus Source #

Generic SearchStatus Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep SearchStatus |

Instance details

Defined in Web.Twitter.Types

type Rep SearchStatus = D1 ('MetaData "SearchStatus" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchStatus" 'PrefixI 'True) ((S1 ('MetaSel ('Just "searchStatusCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "searchStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchStatusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "searchStatusSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "searchStatusUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "searchStatusCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates))))))

Methods

from :: SearchStatus -> Rep SearchStatus x Source #

to :: Rep SearchStatus x -> SearchStatus Source #

Show SearchStatus Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> SearchStatus -> ShowS Source # show :: SearchStatus -> String Source # showList :: [SearchStatus] -> ShowS Source #
Eq SearchStatus Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: SearchStatus -> SearchStatus -> Bool Source # (/=) :: SearchStatus -> SearchStatus -> Bool Source #
type Rep SearchStatus Source # |

Instance details

Defined in Web.Twitter.Types

type Rep SearchStatus = D1 ('MetaData "SearchStatus" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchStatus" 'PrefixI 'True) ((S1 ('MetaSel ('Just "searchStatusCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "searchStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchStatusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "searchStatusSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "searchStatusUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "searchStatusCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates))))))

data SearchMetadata Source #

Constructors

SearchMetadata |

Fields

- searchMetadataMaxId :: StatusId
- searchMetadataSinceId :: StatusId
- searchMetadataRefreshURL :: URIString
- searchMetadataNextResults :: Maybe URIString
- searchMetadataCount :: Int
- searchMetadataCompletedIn :: Maybe Float
- searchMetadataSinceIdStr :: String
- searchMetadataQuery :: String
- searchMetadataMaxIdStr :: String

#### Instances

Instances details

FromJSON SearchMetadata Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser SearchMetadata Source # parseJSONList :: Value -> Parser [SearchMetadata] Source # omittedField :: Maybe SearchMetadata Source #
ToJSON SearchMetadata Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: SearchMetadata -> Value Source # toEncoding :: SearchMetadata -> Encoding Source # toJSONList :: [SearchMetadata] -> Value Source # toEncodingList :: [SearchMetadata] -> Encoding Source # omitField :: SearchMetadata -> Bool Source #
Data SearchMetadata Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchMetadata -> c SearchMetadata Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchMetadata Source #

toConstr :: SearchMetadata -> Constr Source #

dataTypeOf :: SearchMetadata -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchMetadata) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchMetadata) Source #

gmapT :: (forall b. Data b => b -> b) -> SearchMetadata -> SearchMetadata Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchMetadata -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchMetadata -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SearchMetadata -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchMetadata -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata Source #

Generic SearchMetadata Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep SearchMetadata |

Instance details

Defined in Web.Twitter.Types

type Rep SearchMetadata = D1 ('MetaData "SearchMetadata" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchMetadata" 'PrefixI 'True) (((S1 ('MetaSel ('Just "searchMetadataMaxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchMetadataSinceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "searchMetadataRefreshURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "searchMetadataNextResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)))) :*: ((S1 ('MetaSel ('Just "searchMetadataCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "searchMetadataCompletedIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Float))) :*: (S1 ('MetaSel ('Just "searchMetadataSinceIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "searchMetadataQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "searchMetadataMaxIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))))

Methods

from :: SearchMetadata -> Rep SearchMetadata x Source #

to :: Rep SearchMetadata x -> SearchMetadata Source #

Show SearchMetadata Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> SearchMetadata -> ShowS Source # show :: SearchMetadata -> String Source # showList :: [SearchMetadata] -> ShowS Source #
Eq SearchMetadata Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: SearchMetadata -> SearchMetadata -> Bool Source # (/=) :: SearchMetadata -> SearchMetadata -> Bool Source #
type Rep SearchMetadata Source # |

Instance details

Defined in Web.Twitter.Types

type Rep SearchMetadata = D1 ('MetaData "SearchMetadata" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchMetadata" 'PrefixI 'True) (((S1 ('MetaSel ('Just "searchMetadataMaxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchMetadataSinceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "searchMetadataRefreshURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "searchMetadataNextResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)))) :*: ((S1 ('MetaSel ('Just "searchMetadataCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "searchMetadataCompletedIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Float))) :*: (S1 ('MetaSel ('Just "searchMetadataSinceIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "searchMetadataQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "searchMetadataMaxIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))))

data RetweetedStatus Source #

Constructors

RetweetedStatus |

Fields

- rsCreatedAt :: UTCTime
- rsId :: StatusId
- rsText :: Text
- rsSource :: Text
- rsTruncated :: Bool
- rsEntities :: Maybe Entities
- rsUser :: User
- rsRetweetedStatus :: Status
- rsCoordinates :: Maybe Coordinates

#### Instances

Instances details

FromJSON RetweetedStatus Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser RetweetedStatus Source # parseJSONList :: Value -> Parser [RetweetedStatus] Source # omittedField :: Maybe RetweetedStatus Source #
ToJSON RetweetedStatus Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: RetweetedStatus -> Value Source # toEncoding :: RetweetedStatus -> Encoding Source # toJSONList :: [RetweetedStatus] -> Value Source # toEncodingList :: [RetweetedStatus] -> Encoding Source # omitField :: RetweetedStatus -> Bool Source #
Data RetweetedStatus Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RetweetedStatus -> c RetweetedStatus Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RetweetedStatus Source #

toConstr :: RetweetedStatus -> Constr Source #

dataTypeOf :: RetweetedStatus -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RetweetedStatus) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RetweetedStatus) Source #

gmapT :: (forall b. Data b => b -> b) -> RetweetedStatus -> RetweetedStatus Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RetweetedStatus -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RetweetedStatus -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> RetweetedStatus -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RetweetedStatus -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus Source #

Generic RetweetedStatus Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep RetweetedStatus |

Instance details

Defined in Web.Twitter.Types

type Rep RetweetedStatus = D1 ('MetaData "RetweetedStatus" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "RetweetedStatus" 'PrefixI 'True) (((S1 ('MetaSel ('Just "rsCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "rsId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "rsText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "rsSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "rsTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "rsEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Entities))) :*: (S1 ('MetaSel ('Just "rsUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: (S1 ('MetaSel ('Just "rsRetweetedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status) :*: S1 ('MetaSel ('Just "rsCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates)))))))

Methods

from :: RetweetedStatus -> Rep RetweetedStatus x Source #

to :: Rep RetweetedStatus x -> RetweetedStatus Source #

Show RetweetedStatus Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> RetweetedStatus -> ShowS Source # show :: RetweetedStatus -> String Source # showList :: [RetweetedStatus] -> ShowS Source #
Eq RetweetedStatus Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: RetweetedStatus -> RetweetedStatus -> Bool Source # (/=) :: RetweetedStatus -> RetweetedStatus -> Bool Source #
type Rep RetweetedStatus Source # |

Instance details

Defined in Web.Twitter.Types

type Rep RetweetedStatus = D1 ('MetaData "RetweetedStatus" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "RetweetedStatus" 'PrefixI 'True) (((S1 ('MetaSel ('Just "rsCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "rsId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "rsText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "rsSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "rsTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "rsEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Entities))) :*: (S1 ('MetaSel ('Just "rsUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: (S1 ('MetaSel ('Just "rsRetweetedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status) :*: S1 ('MetaSel ('Just "rsCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates)))))))

data DirectMessage Source #

Constructors

DirectMessage |

Fields

- dmId :: EventId
- dmCreatedTimestamp :: UTCTime
- dmTargetRecipientId :: UserId
- dmSenderId :: UserId
- dmText :: Text
- dmEntities :: Entities

#### Instances

Instances details

FromJSON DirectMessage Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser DirectMessage Source # parseJSONList :: Value -> Parser [DirectMessage] Source # omittedField :: Maybe DirectMessage Source #
ToJSON DirectMessage Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: DirectMessage -> Value Source # toEncoding :: DirectMessage -> Encoding Source # toJSONList :: [DirectMessage] -> Value Source # toEncodingList :: [DirectMessage] -> Encoding Source # omitField :: DirectMessage -> Bool Source #
Data DirectMessage Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DirectMessage -> c DirectMessage Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DirectMessage Source #

toConstr :: DirectMessage -> Constr Source #

dataTypeOf :: DirectMessage -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DirectMessage) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DirectMessage) Source #

gmapT :: (forall b. Data b => b -> b) -> DirectMessage -> DirectMessage Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DirectMessage -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DirectMessage -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DirectMessage -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DirectMessage -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage Source #

Generic DirectMessage Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep DirectMessage |
Instance details Defined in Web.Twitter.Types type Rep DirectMessage

Methods

from :: DirectMessage -> Rep DirectMessage x Source #

to :: Rep DirectMessage x -> DirectMessage Source #

Show DirectMessage Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> DirectMessage -> ShowS Source # show :: DirectMessage -> String Source # showList :: [DirectMessage] -> ShowS Source #
Eq DirectMessage Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: DirectMessage -> DirectMessage -> Bool Source # (/=) :: DirectMessage -> DirectMessage -> Bool Source #
type Rep DirectMessage Source # |
Instance details Defined in Web.Twitter.Types type Rep DirectMessage

data EventTarget Source #

Constructors

ETUser User |
ETStatus Status |
ETList List |
ETUnknown Value |

#### Instances

Instances details

FromJSON EventTarget Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser EventTarget Source # parseJSONList :: Value -> Parser [EventTarget] Source # omittedField :: Maybe EventTarget Source #
ToJSON EventTarget Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: EventTarget -> Value Source # toEncoding :: EventTarget -> Encoding Source # toJSONList :: [EventTarget] -> Value Source # toEncodingList :: [EventTarget] -> Encoding Source # omitField :: EventTarget -> Bool Source #
Data EventTarget Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EventTarget -> c EventTarget Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventTarget Source #

toConstr :: EventTarget -> Constr Source #

dataTypeOf :: EventTarget -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EventTarget) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventTarget) Source #

gmapT :: (forall b. Data b => b -> b) -> EventTarget -> EventTarget Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventTarget -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventTarget -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> EventTarget -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EventTarget -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget Source #

Generic EventTarget Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep EventTarget |

Instance details

Defined in Web.Twitter.Types

type Rep EventTarget = D1 ('MetaData "EventTarget" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) ((C1 ('MetaCons "ETUser" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)) :+: C1 ('MetaCons "ETStatus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status))) :+: (C1 ('MetaCons "ETList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 List)) :+: C1 ('MetaCons "ETUnknown" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value))))

Methods

from :: EventTarget -> Rep EventTarget x Source #

to :: Rep EventTarget x -> EventTarget Source #

Show EventTarget Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> EventTarget -> ShowS Source # show :: EventTarget -> String Source # showList :: [EventTarget] -> ShowS Source #
Eq EventTarget Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: EventTarget -> EventTarget -> Bool Source # (/=) :: EventTarget -> EventTarget -> Bool Source #
type Rep EventTarget Source # |

Instance details

Defined in Web.Twitter.Types

type Rep EventTarget = D1 ('MetaData "EventTarget" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) ((C1 ('MetaCons "ETUser" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)) :+: C1 ('MetaCons "ETStatus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status))) :+: (C1 ('MetaCons "ETList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 List)) :+: C1 ('MetaCons "ETUnknown" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value))))

data Event Source #

Constructors

Event |

Fields

- evCreatedAt :: UTCTime
- evTargetObject :: Maybe EventTarget
- evEvent :: Text
- evTarget :: EventTarget
- evSource :: EventTarget

#### Instances

Instances details

FromJSON Event Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Event Source # parseJSONList :: Value -> Parser [Event] Source # omittedField :: Maybe Event Source #
ToJSON Event Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Event -> Value Source # toEncoding :: Event -> Encoding Source # toJSONList :: [Event] -> Value Source # toEncodingList :: [Event] -> Encoding Source # omitField :: Event -> Bool Source #
Data Event Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Event -> c Event Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Event Source #

toConstr :: Event -> Constr Source #

dataTypeOf :: Event -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Event) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Event) Source #

gmapT :: (forall b. Data b => b -> b) -> Event -> Event Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Event -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Event -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Event -> m Event Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event Source #

Generic Event Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Event |

Instance details

Defined in Web.Twitter.Types

type Rep Event = D1 ('MetaData "Event" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Event" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "evTargetObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe EventTarget))) :*: (S1 ('MetaSel ('Just "evEvent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "evTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EventTarget) :*: S1 ('MetaSel ('Just "evSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EventTarget)))))

Methods

from :: Event -> Rep Event x Source #

to :: Rep Event x -> Event Source #

Show Event Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Event -> ShowS Source # show :: Event -> String Source # showList :: [Event] -> ShowS Source #
Eq Event Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: Event -> Event -> Bool Source # (/=) :: Event -> Event -> Bool Source #
type Rep Event Source # |

Instance details

Defined in Web.Twitter.Types

type Rep Event = D1 ('MetaData "Event" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Event" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "evTargetObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe EventTarget))) :*: (S1 ('MetaSel ('Just "evEvent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "evTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EventTarget) :*: S1 ('MetaSel ('Just "evSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EventTarget)))))

data Delete Source #

Constructors

Delete |

Fields

- delId :: StatusId
- delUserId :: UserId

#### Instances

Instances details

FromJSON Delete Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Delete Source # parseJSONList :: Value -> Parser [Delete] Source # omittedField :: Maybe Delete Source #
ToJSON Delete Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Delete -> Value Source # toEncoding :: Delete -> Encoding Source # toJSONList :: [Delete] -> Value Source # toEncodingList :: [Delete] -> Encoding Source # omitField :: Delete -> Bool Source #
Data Delete Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Delete -> c Delete Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Delete Source #

toConstr :: Delete -> Constr Source #

dataTypeOf :: Delete -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Delete) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Delete) Source #

gmapT :: (forall b. Data b => b -> b) -> Delete -> Delete Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Delete -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Delete -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Delete -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Delete -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Delete -> m Delete Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete -> m Delete Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete -> m Delete Source #

Generic Delete Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Delete |

Instance details

Defined in Web.Twitter.Types

type Rep Delete = D1 ('MetaData "Delete" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Delete" 'PrefixI 'True) (S1 ('MetaSel ('Just "delId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "delUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId)))

Methods

from :: Delete -> Rep Delete x Source #

to :: Rep Delete x -> Delete Source #

Show Delete Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Delete -> ShowS Source # show :: Delete -> String Source # showList :: [Delete] -> ShowS Source #
Eq Delete Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: Delete -> Delete -> Bool Source # (/=) :: Delete -> Delete -> Bool Source #
type Rep Delete Source # |

Instance details

Defined in Web.Twitter.Types

type Rep Delete = D1 ('MetaData "Delete" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Delete" 'PrefixI 'True) (S1 ('MetaSel ('Just "delId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "delUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId)))

data User Source #

This type represents the Twitter user. See https://dev.twitter.com/docs/platform-objects/users.

Constructors

User |

Fields

- userContributorsEnabled :: Bool
- userCreatedAt :: UTCTime
- userDefaultProfile :: Bool
- userDefaultProfileImage :: Bool
- userDescription :: Maybe Text
- userEmail :: Maybe Text
- userFavoritesCount :: Int
- userFollowRequestSent :: Maybe Bool
- userFollowing :: Maybe Bool
- userFollowersCount :: Int
- userFriendsCount :: Int
- userGeoEnabled :: Bool
- userId :: UserId
- userIsTranslator :: Bool
- userLang :: Maybe LanguageCode
- userListedCount :: Int
- userLocation :: Maybe Text
- userName :: Text
- userNotifications :: Maybe Bool
- userProfileBackgroundColor :: Maybe Text
- userProfileBackgroundImageURL :: Maybe URIString
- userProfileBackgroundImageURLHttps :: Maybe URIString
- userProfileBackgroundTile :: Maybe Bool
- userProfileBannerURL :: Maybe URIString
- userProfileImageURL :: Maybe URIString
- userProfileImageURLHttps :: Maybe URIString
- userProfileLinkColor :: Text
- userProfileSidebarBorderColor :: Text
- userProfileSidebarFillColor :: Text
- userProfileTextColor :: Text
- userProfileUseBackgroundImage :: Bool
- userProtected :: Bool
- userScreenName :: Text
- userShowAllInlineMedia :: Maybe Bool
- userStatusesCount :: Int
- userTimeZone :: Maybe Text
- userURL :: Maybe URIString
- userUtcOffset :: Maybe Int
- userVerified :: Bool
- userWithheldInCountries :: Maybe [Text]
- userWithheldScope :: Maybe Text

#### Instances

Instances details

FromJSON User Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser User Source # parseJSONList :: Value -> Parser [User] Source # omittedField :: Maybe User Source #
ToJSON User Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: User -> Value Source # toEncoding :: User -> Encoding Source # toJSONList :: [User] -> Value Source # toEncodingList :: [User] -> Encoding Source # omitField :: User -> Bool Source #
Data User Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> User -> c User Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c User Source #

toConstr :: User -> Constr Source #

dataTypeOf :: User -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c User) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c User) Source #

gmapT :: (forall b. Data b => b -> b) -> User -> User Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> User -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> User -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> User -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> User -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> User -> m User Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User Source #

Generic User Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep User |

Instance details

Defined in Web.Twitter.Types

type Rep User = D1 ('MetaData "User" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "User" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "userContributorsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)) :*: (S1 ('MetaSel ('Just "userDefaultProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "userDefaultProfileImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "userEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userFavoritesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "userFollowRequestSent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "userFollowing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userFollowersCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))) :*: (((S1 ('MetaSel ('Just "userFriendsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "userGeoEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: (S1 ('MetaSel ('Just "userIsTranslator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userLang") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LanguageCode))))) :*: ((S1 ('MetaSel ('Just "userListedCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "userLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userNotifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userProfileBackgroundColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))) :*: ((((S1 ('MetaSel ('Just "userProfileBackgroundImageURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userProfileBackgroundImageURLHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString))) :*: (S1 ('MetaSel ('Just "userProfileBackgroundTile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "userProfileBannerURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userProfileImageURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString))))) :*: ((S1 ('MetaSel ('Just "userProfileImageURLHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userProfileLinkColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "userProfileSidebarBorderColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userProfileSidebarFillColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "userProfileTextColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) :*: (((S1 ('MetaSel ('Just "userProfileUseBackgroundImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userProtected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "userScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userShowAllInlineMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userStatusesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))) :*: ((S1 ('MetaSel ('Just "userTimeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userUtcOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "userVerified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "userWithheldInCountries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "userWithheldScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))))))

Methods

from :: User -> Rep User x Source #

to :: Rep User x -> User Source #

Show User Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> User -> ShowS Source # show :: User -> String Source # showList :: [User] -> ShowS Source #
Eq User Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: User -> User -> Bool Source # (/=) :: User -> User -> Bool Source #
type Rep User Source # |

Instance details

Defined in Web.Twitter.Types

type Rep User = D1 ('MetaData "User" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "User" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "userContributorsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)) :*: (S1 ('MetaSel ('Just "userDefaultProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "userDefaultProfileImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "userEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userFavoritesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "userFollowRequestSent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "userFollowing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userFollowersCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))) :*: (((S1 ('MetaSel ('Just "userFriendsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "userGeoEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: (S1 ('MetaSel ('Just "userIsTranslator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userLang") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LanguageCode))))) :*: ((S1 ('MetaSel ('Just "userListedCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "userLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userNotifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userProfileBackgroundColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))) :*: ((((S1 ('MetaSel ('Just "userProfileBackgroundImageURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userProfileBackgroundImageURLHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString))) :*: (S1 ('MetaSel ('Just "userProfileBackgroundTile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "userProfileBannerURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userProfileImageURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString))))) :*: ((S1 ('MetaSel ('Just "userProfileImageURLHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userProfileLinkColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "userProfileSidebarBorderColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userProfileSidebarFillColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "userProfileTextColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) :*: (((S1 ('MetaSel ('Just "userProfileUseBackgroundImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userProtected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "userScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userShowAllInlineMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userStatusesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))) :*: ((S1 ('MetaSel ('Just "userTimeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userUtcOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "userVerified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "userWithheldInCountries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "userWithheldScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))))))

data List Source #

Constructors

List |

Fields

- listId :: Int
- listName :: Text
- listFullName :: Text
- listMemberCount :: Int
- listSubscriberCount :: Int
- listMode :: Text
- listUser :: User

#### Instances

Instances details

FromJSON List Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser List Source # parseJSONList :: Value -> Parser [List] Source # omittedField :: Maybe List Source #
ToJSON List Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: List -> Value Source # toEncoding :: List -> Encoding Source # toJSONList :: [List] -> Value Source # toEncodingList :: [List] -> Encoding Source # omitField :: List -> Bool Source #
Data List Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> List -> c List Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c List Source #

toConstr :: List -> Constr Source #

dataTypeOf :: List -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c List) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c List) Source #

gmapT :: (forall b. Data b => b -> b) -> List -> List Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> List -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> List -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> List -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> List -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> List -> m List Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> List -> m List Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> List -> m List Source #

Generic List Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep List |

Instance details

Defined in Web.Twitter.Types

type Rep List = D1 ('MetaData "List" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "List" 'PrefixI 'True) ((S1 ('MetaSel ('Just "listId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "listName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "listFullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "listMemberCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "listSubscriberCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "listMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "listUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)))))

Methods

from :: List -> Rep List x Source #

to :: Rep List x -> List Source #

Show List Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> List -> ShowS Source # show :: List -> String Source # showList :: [List] -> ShowS Source #
Eq List Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: List -> List -> Bool Source # (/=) :: List -> List -> Bool Source #
type Rep List Source # |

Instance details

Defined in Web.Twitter.Types

type Rep List = D1 ('MetaData "List" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "List" 'PrefixI 'True) ((S1 ('MetaSel ('Just "listId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "listName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "listFullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "listMemberCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "listSubscriberCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "listMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "listUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)))))

data Entities Source #

Entity handling. See https://dev.twitter.com/docs/platform-objects/entities.

Constructors

Entities |

Fields

- enHashTags :: [Entity HashTagEntity]
- enUserMentions :: [Entity UserEntity]
- enURLs :: [Entity URLEntity]
- enMedia :: [Entity MediaEntity]

#### Instances

Instances details

FromJSON Entities Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Entities Source # parseJSONList :: Value -> Parser [Entities] Source # omittedField :: Maybe Entities Source #
ToJSON Entities Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Entities -> Value Source # toEncoding :: Entities -> Encoding Source # toJSONList :: [Entities] -> Value Source # toEncodingList :: [Entities] -> Encoding Source # omitField :: Entities -> Bool Source #
Data Entities Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Entities -> c Entities Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Entities Source #

toConstr :: Entities -> Constr Source #

dataTypeOf :: Entities -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Entities) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Entities) Source #

gmapT :: (forall b. Data b => b -> b) -> Entities -> Entities Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entities -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entities -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Entities -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Entities -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entities -> m Entities Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entities -> m Entities Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entities -> m Entities Source #

Generic Entities Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Entities |

Instance details

Defined in Web.Twitter.Types

type Rep Entities = D1 ('MetaData "Entities" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enHashTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity HashTagEntity]) :*: S1 ('MetaSel ('Just "enUserMentions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity UserEntity])) :*: (S1 ('MetaSel ('Just "enURLs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity URLEntity]) :*: S1 ('MetaSel ('Just "enMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity MediaEntity]))))

Methods

from :: Entities -> Rep Entities x Source #

to :: Rep Entities x -> Entities Source #

Show Entities Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Entities -> ShowS Source # show :: Entities -> String Source # showList :: [Entities] -> ShowS Source #
Eq Entities Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: Entities -> Entities -> Bool Source # (/=) :: Entities -> Entities -> Bool Source #
type Rep Entities Source # |

Instance details

Defined in Web.Twitter.Types

type Rep Entities = D1 ('MetaData "Entities" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enHashTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity HashTagEntity]) :*: S1 ('MetaSel ('Just "enUserMentions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity UserEntity])) :*: (S1 ('MetaSel ('Just "enURLs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity URLEntity]) :*: S1 ('MetaSel ('Just "enMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity MediaEntity]))))

type EntityIndices = [Int] Source #

The character positions the Entity was extracted from

This is experimental implementation. This may be replaced by more definite types.

data ExtendedEntities Source #

Constructors

ExtendedEntities |

Fields

- exeMedia :: [Entity ExtendedEntity]

#### Instances

Instances details

FromJSON ExtendedEntities Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ExtendedEntities Source # parseJSONList :: Value -> Parser [ExtendedEntities] Source # omittedField :: Maybe ExtendedEntities Source #
ToJSON ExtendedEntities Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: ExtendedEntities -> Value Source # toEncoding :: ExtendedEntities -> Encoding Source # toJSONList :: [ExtendedEntities] -> Value Source # toEncodingList :: [ExtendedEntities] -> Encoding Source # omitField :: ExtendedEntities -> Bool Source #
Data ExtendedEntities Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExtendedEntities -> c ExtendedEntities Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExtendedEntities Source #

toConstr :: ExtendedEntities -> Constr Source #

dataTypeOf :: ExtendedEntities -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExtendedEntities) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExtendedEntities) Source #

gmapT :: (forall b. Data b => b -> b) -> ExtendedEntities -> ExtendedEntities Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntities -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntities -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ExtendedEntities -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExtendedEntities -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExtendedEntities -> m ExtendedEntities Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntities -> m ExtendedEntities Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntities -> m ExtendedEntities Source #

Generic ExtendedEntities Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep ExtendedEntities |
Instance details Defined in Web.Twitter.Types type Rep ExtendedEntities = D1 ('MetaData "ExtendedEntities" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ExtendedEntities" 'PrefixI 'True) (S1 ('MetaSel ('Just "exeMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity ExtendedEntity])))

Methods

from :: ExtendedEntities -> Rep ExtendedEntities x Source #

to :: Rep ExtendedEntities x -> ExtendedEntities Source #

Show ExtendedEntities Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> ExtendedEntities -> ShowS Source # show :: ExtendedEntities -> String Source # showList :: [ExtendedEntities] -> ShowS Source #
Eq ExtendedEntities Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: ExtendedEntities -> ExtendedEntities -> Bool Source # (/=) :: ExtendedEntities -> ExtendedEntities -> Bool Source #
type Rep ExtendedEntities Source # |
Instance details Defined in Web.Twitter.Types type Rep ExtendedEntities = D1 ('MetaData "ExtendedEntities" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ExtendedEntities" 'PrefixI 'True) (S1 ('MetaSel ('Just "exeMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity ExtendedEntity])))

data Variant Source #

Constructors

Variant |

Fields

- vBitrate :: Maybe Int
- vContentType :: Text
- vUrl :: URIString

#### Instances

Instances details

FromJSON Variant Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Variant Source # parseJSONList :: Value -> Parser [Variant] Source # omittedField :: Maybe Variant Source #
ToJSON Variant Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Variant -> Value Source # toEncoding :: Variant -> Encoding Source # toJSONList :: [Variant] -> Value Source # toEncodingList :: [Variant] -> Encoding Source # omitField :: Variant -> Bool Source #
Data Variant Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Variant -> c Variant Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Variant Source #

toConstr :: Variant -> Constr Source #

dataTypeOf :: Variant -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Variant) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Variant) Source #

gmapT :: (forall b. Data b => b -> b) -> Variant -> Variant Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Variant -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Variant -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Variant -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Variant -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Variant -> m Variant Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Variant -> m Variant Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Variant -> m Variant Source #

Generic Variant Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Variant |

Instance details

Defined in Web.Twitter.Types

type Rep Variant = D1 ('MetaData "Variant" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Variant" 'PrefixI 'True) (S1 ('MetaSel ('Just "vBitrate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "vContentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "vUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString))))

Methods

from :: Variant -> Rep Variant x Source #

to :: Rep Variant x -> Variant Source #

Show Variant Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Variant -> ShowS Source # show :: Variant -> String Source # showList :: [Variant] -> ShowS Source #
Eq Variant Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: Variant -> Variant -> Bool Source # (/=) :: Variant -> Variant -> Bool Source #
type Rep Variant Source # |

Instance details

Defined in Web.Twitter.Types

type Rep Variant = D1 ('MetaData "Variant" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Variant" 'PrefixI 'True) (S1 ('MetaSel ('Just "vBitrate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "vContentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "vUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString))))

data VideoInfo Source #

Constructors

VideoInfo |

Fields

- vsAspectRatio :: [Int]
- vsDurationMillis :: Maybe Int
- vsVariants :: [Variant]

#### Instances

Instances details

FromJSON VideoInfo Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser VideoInfo Source # parseJSONList :: Value -> Parser [VideoInfo] Source # omittedField :: Maybe VideoInfo Source #
ToJSON VideoInfo Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: VideoInfo -> Value Source # toEncoding :: VideoInfo -> Encoding Source # toJSONList :: [VideoInfo] -> Value Source # toEncodingList :: [VideoInfo] -> Encoding Source # omitField :: VideoInfo -> Bool Source #
Data VideoInfo Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VideoInfo -> c VideoInfo Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VideoInfo Source #

toConstr :: VideoInfo -> Constr Source #

dataTypeOf :: VideoInfo -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VideoInfo) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VideoInfo) Source #

gmapT :: (forall b. Data b => b -> b) -> VideoInfo -> VideoInfo Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VideoInfo -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VideoInfo -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> VideoInfo -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VideoInfo -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VideoInfo -> m VideoInfo Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VideoInfo -> m VideoInfo Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VideoInfo -> m VideoInfo Source #

Generic VideoInfo Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep VideoInfo |

Instance details

Defined in Web.Twitter.Types

type Rep VideoInfo = D1 ('MetaData "VideoInfo" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "VideoInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "vsAspectRatio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Int]) :*: (S1 ('MetaSel ('Just "vsDurationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "vsVariants") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Variant]))))

Methods

from :: VideoInfo -> Rep VideoInfo x Source #

to :: Rep VideoInfo x -> VideoInfo Source #

Show VideoInfo Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> VideoInfo -> ShowS Source # show :: VideoInfo -> String Source # showList :: [VideoInfo] -> ShowS Source #
Eq VideoInfo Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: VideoInfo -> VideoInfo -> Bool Source # (/=) :: VideoInfo -> VideoInfo -> Bool Source #
type Rep VideoInfo Source # |

Instance details

Defined in Web.Twitter.Types

type Rep VideoInfo = D1 ('MetaData "VideoInfo" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "VideoInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "vsAspectRatio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Int]) :*: (S1 ('MetaSel ('Just "vsDurationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "vsVariants") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Variant]))))

data ExtendedEntity Source #

Constructors

ExtendedEntity |

Fields

- exeID :: StatusId
- exeMediaUrl :: URIString
- exeMediaUrlHttps :: URIString
- exeSizes :: HashMap Text MediaSize
- exeType :: Text
- exeVideoInfo :: Maybe VideoInfo
- exeDurationMillis :: Maybe Double
- exeExtAltText :: Maybe String
- exeURL :: URLEntity

#### Instances

Instances details

FromJSON ExtendedEntity Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ExtendedEntity Source # parseJSONList :: Value -> Parser [ExtendedEntity] Source # omittedField :: Maybe ExtendedEntity Source #
ToJSON ExtendedEntity Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: ExtendedEntity -> Value Source # toEncoding :: ExtendedEntity -> Encoding Source # toJSONList :: [ExtendedEntity] -> Value Source # toEncodingList :: [ExtendedEntity] -> Encoding Source # omitField :: ExtendedEntity -> Bool Source #
Data ExtendedEntity Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExtendedEntity -> c ExtendedEntity Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExtendedEntity Source #

toConstr :: ExtendedEntity -> Constr Source #

dataTypeOf :: ExtendedEntity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExtendedEntity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExtendedEntity) Source #

gmapT :: (forall b. Data b => b -> b) -> ExtendedEntity -> ExtendedEntity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ExtendedEntity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExtendedEntity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExtendedEntity -> m ExtendedEntity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntity -> m ExtendedEntity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntity -> m ExtendedEntity Source #

Generic ExtendedEntity Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep ExtendedEntity |

Instance details

Defined in Web.Twitter.Types

type Rep ExtendedEntity = D1 ('MetaData "ExtendedEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ExtendedEntity" 'PrefixI 'True) (((S1 ('MetaSel ('Just "exeID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "exeMediaUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString)) :*: (S1 ('MetaSel ('Just "exeMediaUrlHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "exeSizes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text MediaSize)))) :*: ((S1 ('MetaSel ('Just "exeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "exeVideoInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe VideoInfo))) :*: (S1 ('MetaSel ('Just "exeDurationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "exeExtAltText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just "exeURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URLEntity))))))

Methods

from :: ExtendedEntity -> Rep ExtendedEntity x Source #

to :: Rep ExtendedEntity x -> ExtendedEntity Source #

Show ExtendedEntity Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> ExtendedEntity -> ShowS Source # show :: ExtendedEntity -> String Source # showList :: [ExtendedEntity] -> ShowS Source #
Eq ExtendedEntity Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: ExtendedEntity -> ExtendedEntity -> Bool Source # (/=) :: ExtendedEntity -> ExtendedEntity -> Bool Source #
type Rep ExtendedEntity Source # |

Instance details

Defined in Web.Twitter.Types

type Rep ExtendedEntity = D1 ('MetaData "ExtendedEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ExtendedEntity" 'PrefixI 'True) (((S1 ('MetaSel ('Just "exeID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "exeMediaUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString)) :*: (S1 ('MetaSel ('Just "exeMediaUrlHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "exeSizes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text MediaSize)))) :*: ((S1 ('MetaSel ('Just "exeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "exeVideoInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe VideoInfo))) :*: (S1 ('MetaSel ('Just "exeDurationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "exeExtAltText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just "exeURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URLEntity))))))

data Entity a Source #

Constructors

Entity |

Fields

- entityBody :: a

  The detail information of the specific entity types (HashTag, URL, User)

- entityIndices :: EntityIndices

  The character positions the Entity was extracted from

#### Instances

Instances details

Generic1 Entity Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep1 Entity |

Instance details

Defined in Web.Twitter.Types

type Rep1 Entity = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1 :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices)))

Methods

from1 :: Entity a -> Rep1 Entity a Source #

to1 :: Rep1 Entity a -> Entity a Source #

FromJSON a => FromJSON (Entity a) Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser (Entity a) Source # parseJSONList :: Value -> Parser [Entity a] Source # omittedField :: Maybe (Entity a) Source #
ToJSON a => ToJSON (Entity a) Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Entity a -> Value Source # toEncoding :: Entity a -> Encoding Source # toJSONList :: [Entity a] -> Value Source # toEncodingList :: [Entity a] -> Encoding Source # omitField :: Entity a -> Bool Source #
Data a => Data (Entity a) Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Entity a -> c (Entity a) Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Entity a) Source #

toConstr :: Entity a -> Constr Source #

dataTypeOf :: Entity a -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Entity a)) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Entity a)) Source #

gmapT :: (forall b. Data b => b -> b) -> Entity a -> Entity a Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entity a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entity a -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Entity a -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Entity a -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) Source #

Generic (Entity a) Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep (Entity a) |

Instance details

Defined in Web.Twitter.Types

type Rep (Entity a) = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices)))

Methods

from :: Entity a -> Rep (Entity a) x Source #

to :: Rep (Entity a) x -> Entity a Source #

Show a => Show (Entity a) Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Entity a -> ShowS Source # show :: Entity a -> String Source # showList :: [Entity a] -> ShowS Source #
Eq a => Eq (Entity a) Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: Entity a -> Entity a -> Bool Source # (/=) :: Entity a -> Entity a -> Bool Source #
type Rep1 Entity Source # |

Instance details

Defined in Web.Twitter.Types

type Rep1 Entity = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1 :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices)))

type Rep (Entity a) Source # |

Instance details

Defined in Web.Twitter.Types

type Rep (Entity a) = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices)))

data HashTagEntity Source #

Hashtag entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-hashtags.

Constructors

HashTagEntity |

Fields

- hashTagText :: Text

  The Hashtag text

#### Instances

Instances details

FromJSON HashTagEntity Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser HashTagEntity Source # parseJSONList :: Value -> Parser [HashTagEntity] Source # omittedField :: Maybe HashTagEntity Source #
ToJSON HashTagEntity Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: HashTagEntity -> Value Source # toEncoding :: HashTagEntity -> Encoding Source # toJSONList :: [HashTagEntity] -> Value Source # toEncodingList :: [HashTagEntity] -> Encoding Source # omitField :: HashTagEntity -> Bool Source #
Data HashTagEntity Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HashTagEntity -> c HashTagEntity Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HashTagEntity Source #

toConstr :: HashTagEntity -> Constr Source #

dataTypeOf :: HashTagEntity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HashTagEntity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HashTagEntity) Source #

gmapT :: (forall b. Data b => b -> b) -> HashTagEntity -> HashTagEntity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HashTagEntity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HashTagEntity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> HashTagEntity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HashTagEntity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity Source #

Generic HashTagEntity Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep HashTagEntity |
Instance details Defined in Web.Twitter.Types type Rep HashTagEntity = D1 ('MetaData "HashTagEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "HashTagEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "hashTagText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: HashTagEntity -> Rep HashTagEntity x Source #

to :: Rep HashTagEntity x -> HashTagEntity Source #

Show HashTagEntity Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> HashTagEntity -> ShowS Source # show :: HashTagEntity -> String Source # showList :: [HashTagEntity] -> ShowS Source #
Eq HashTagEntity Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: HashTagEntity -> HashTagEntity -> Bool Source # (/=) :: HashTagEntity -> HashTagEntity -> Bool Source #
type Rep HashTagEntity Source # |
Instance details Defined in Web.Twitter.Types type Rep HashTagEntity = D1 ('MetaData "HashTagEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "HashTagEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "hashTagText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data UserEntity Source #

User mention entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-usermention.

Constructors

UserEntity |

Fields

- userEntityUserId :: UserId
- userEntityUserName :: UserName
- userEntityUserScreenName :: Text

#### Instances

Instances details

FromJSON UserEntity Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser UserEntity Source # parseJSONList :: Value -> Parser [UserEntity] Source # omittedField :: Maybe UserEntity Source #
ToJSON UserEntity Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: UserEntity -> Value Source # toEncoding :: UserEntity -> Encoding Source # toJSONList :: [UserEntity] -> Value Source # toEncodingList :: [UserEntity] -> Encoding Source # omitField :: UserEntity -> Bool Source #
Data UserEntity Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserEntity -> c UserEntity Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserEntity Source #

toConstr :: UserEntity -> Constr Source #

dataTypeOf :: UserEntity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserEntity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserEntity) Source #

gmapT :: (forall b. Data b => b -> b) -> UserEntity -> UserEntity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserEntity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserEntity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> UserEntity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserEntity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity Source #

Generic UserEntity Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep UserEntity |

Instance details

Defined in Web.Twitter.Types

type Rep UserEntity = D1 ('MetaData "UserEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "UserEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "userEntityUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: (S1 ('MetaSel ('Just "userEntityUserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserName) :*: S1 ('MetaSel ('Just "userEntityUserScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

Methods

from :: UserEntity -> Rep UserEntity x Source #

to :: Rep UserEntity x -> UserEntity Source #

Show UserEntity Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> UserEntity -> ShowS Source # show :: UserEntity -> String Source # showList :: [UserEntity] -> ShowS Source #
Eq UserEntity Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: UserEntity -> UserEntity -> Bool Source # (/=) :: UserEntity -> UserEntity -> Bool Source #
type Rep UserEntity Source # |

Instance details

Defined in Web.Twitter.Types

type Rep UserEntity = D1 ('MetaData "UserEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "UserEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "userEntityUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: (S1 ('MetaSel ('Just "userEntityUserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserName) :*: S1 ('MetaSel ('Just "userEntityUserScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data URLEntity Source #

URL entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-url.

Constructors

URLEntity |

Fields

- ueURL :: URIString

  The URL that was extracted

- ueExpanded :: URIString

  The fully resolved URL (only for t.co links)

- ueDisplay :: Text

  Not a URL but a string to display instead of the URL (only for t.co links)

#### Instances

Instances details

FromJSON URLEntity Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser URLEntity Source # parseJSONList :: Value -> Parser [URLEntity] Source # omittedField :: Maybe URLEntity Source #
ToJSON URLEntity Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: URLEntity -> Value Source # toEncoding :: URLEntity -> Encoding Source # toJSONList :: [URLEntity] -> Value Source # toEncodingList :: [URLEntity] -> Encoding Source # omitField :: URLEntity -> Bool Source #
Data URLEntity Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> URLEntity -> c URLEntity Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URLEntity Source #

toConstr :: URLEntity -> Constr Source #

dataTypeOf :: URLEntity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URLEntity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URLEntity) Source #

gmapT :: (forall b. Data b => b -> b) -> URLEntity -> URLEntity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URLEntity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URLEntity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> URLEntity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> URLEntity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity Source #

Generic URLEntity Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep URLEntity |

Instance details

Defined in Web.Twitter.Types

type Rep URLEntity = D1 ('MetaData "URLEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "URLEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "ueURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: (S1 ('MetaSel ('Just "ueExpanded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "ueDisplay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

Methods

from :: URLEntity -> Rep URLEntity x Source #

to :: Rep URLEntity x -> URLEntity Source #

Show URLEntity Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> URLEntity -> ShowS Source # show :: URLEntity -> String Source # showList :: [URLEntity] -> ShowS Source #
Eq URLEntity Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: URLEntity -> URLEntity -> Bool Source # (/=) :: URLEntity -> URLEntity -> Bool Source #
type Rep URLEntity Source # |

Instance details

Defined in Web.Twitter.Types

type Rep URLEntity = D1 ('MetaData "URLEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "URLEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "ueURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: (S1 ('MetaSel ('Just "ueExpanded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "ueDisplay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data MediaEntity Source #

Constructors

MediaEntity |

Fields

- meType :: Text
- meId :: StatusId
- meSizes :: HashMap Text MediaSize
- meMediaURL :: URIString
- meMediaURLHttps :: URIString
- meURL :: URLEntity

#### Instances

Instances details

FromJSON MediaEntity Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser MediaEntity Source # parseJSONList :: Value -> Parser [MediaEntity] Source # omittedField :: Maybe MediaEntity Source #
ToJSON MediaEntity Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: MediaEntity -> Value Source # toEncoding :: MediaEntity -> Encoding Source # toJSONList :: [MediaEntity] -> Value Source # toEncodingList :: [MediaEntity] -> Encoding Source # omitField :: MediaEntity -> Bool Source #
Data MediaEntity Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MediaEntity -> c MediaEntity Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaEntity Source #

toConstr :: MediaEntity -> Constr Source #

dataTypeOf :: MediaEntity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaEntity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaEntity) Source #

gmapT :: (forall b. Data b => b -> b) -> MediaEntity -> MediaEntity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaEntity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaEntity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> MediaEntity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaEntity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity Source #

Generic MediaEntity Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep MediaEntity |

Instance details

Defined in Web.Twitter.Types

type Rep MediaEntity = D1 ('MetaData "MediaEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "MediaEntity" 'PrefixI 'True) ((S1 ('MetaSel ('Just "meType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "meId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "meSizes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text MediaSize)))) :*: (S1 ('MetaSel ('Just "meMediaURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: (S1 ('MetaSel ('Just "meMediaURLHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "meURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URLEntity)))))

Methods

from :: MediaEntity -> Rep MediaEntity x Source #

to :: Rep MediaEntity x -> MediaEntity Source #

Show MediaEntity Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> MediaEntity -> ShowS Source # show :: MediaEntity -> String Source # showList :: [MediaEntity] -> ShowS Source #
Eq MediaEntity Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: MediaEntity -> MediaEntity -> Bool Source # (/=) :: MediaEntity -> MediaEntity -> Bool Source #
type Rep MediaEntity Source # |

Instance details

Defined in Web.Twitter.Types

type Rep MediaEntity = D1 ('MetaData "MediaEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "MediaEntity" 'PrefixI 'True) ((S1 ('MetaSel ('Just "meType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "meId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "meSizes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text MediaSize)))) :*: (S1 ('MetaSel ('Just "meMediaURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: (S1 ('MetaSel ('Just "meMediaURLHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "meURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URLEntity)))))

data MediaSize Source #

Size entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-size.

Constructors

MediaSize |

Fields

- msWidth :: Int
- msHeight :: Int
- msResize :: Text

#### Instances

Instances details

FromJSON MediaSize Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser MediaSize Source # parseJSONList :: Value -> Parser [MediaSize] Source # omittedField :: Maybe MediaSize Source #
ToJSON MediaSize Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: MediaSize -> Value Source # toEncoding :: MediaSize -> Encoding Source # toJSONList :: [MediaSize] -> Value Source # toEncodingList :: [MediaSize] -> Encoding Source # omitField :: MediaSize -> Bool Source #
Data MediaSize Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MediaSize -> c MediaSize Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaSize Source #

toConstr :: MediaSize -> Constr Source #

dataTypeOf :: MediaSize -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaSize) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaSize) Source #

gmapT :: (forall b. Data b => b -> b) -> MediaSize -> MediaSize Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaSize -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaSize -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> MediaSize -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaSize -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize Source #

Generic MediaSize Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep MediaSize |

Instance details

Defined in Web.Twitter.Types

type Rep MediaSize = D1 ('MetaData "MediaSize" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "MediaSize" 'PrefixI 'True) (S1 ('MetaSel ('Just "msWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "msHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "msResize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

Methods

from :: MediaSize -> Rep MediaSize x Source #

to :: Rep MediaSize x -> MediaSize Source #

Show MediaSize Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> MediaSize -> ShowS Source # show :: MediaSize -> String Source # showList :: [MediaSize] -> ShowS Source #
Eq MediaSize Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: MediaSize -> MediaSize -> Bool Source # (/=) :: MediaSize -> MediaSize -> Bool Source #
type Rep MediaSize Source # |

Instance details

Defined in Web.Twitter.Types

type Rep MediaSize = D1 ('MetaData "MediaSize" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "MediaSize" 'PrefixI 'True) (S1 ('MetaSel ('Just "msWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "msHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "msResize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data Coordinates Source #

Constructors

Coordinates |

Fields

- coordinates :: [Double]
- coordinatesType :: Text

#### Instances

Instances details

FromJSON Coordinates Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Coordinates Source # parseJSONList :: Value -> Parser [Coordinates] Source # omittedField :: Maybe Coordinates Source #
ToJSON Coordinates Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Coordinates -> Value Source # toEncoding :: Coordinates -> Encoding Source # toJSONList :: [Coordinates] -> Value Source # toEncodingList :: [Coordinates] -> Encoding Source # omitField :: Coordinates -> Bool Source #
Data Coordinates Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Coordinates -> c Coordinates Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Coordinates Source #

toConstr :: Coordinates -> Constr Source #

dataTypeOf :: Coordinates -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Coordinates) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Coordinates) Source #

gmapT :: (forall b. Data b => b -> b) -> Coordinates -> Coordinates Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Coordinates -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Coordinates -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Coordinates -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Coordinates -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates Source #

Generic Coordinates Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Coordinates |

Instance details

Defined in Web.Twitter.Types

type Rep Coordinates = D1 ('MetaData "Coordinates" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Coordinates" 'PrefixI 'True) (S1 ('MetaSel ('Just "coordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Double]) :*: S1 ('MetaSel ('Just "coordinatesType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Coordinates -> Rep Coordinates x Source #

to :: Rep Coordinates x -> Coordinates Source #

Show Coordinates Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Coordinates -> ShowS Source # show :: Coordinates -> String Source # showList :: [Coordinates] -> ShowS Source #
Eq Coordinates Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: Coordinates -> Coordinates -> Bool Source # (/=) :: Coordinates -> Coordinates -> Bool Source #
type Rep Coordinates Source # |

Instance details

Defined in Web.Twitter.Types

type Rep Coordinates = D1 ('MetaData "Coordinates" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Coordinates" 'PrefixI 'True) (S1 ('MetaSel ('Just "coordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Double]) :*: S1 ('MetaSel ('Just "coordinatesType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data Place Source #

This type represents a place, named locations with corresponding geo coordinates. See https://dev.twitter.com/docs/platform-objects/places.

Constructors

Place |

Fields

- placeAttributes :: HashMap Text Text
- placeBoundingBox :: Maybe BoundingBox
- placeCountry :: Text
- placeCountryCode :: Text
- placeFullName :: Text
- placeId :: Text
- placeName :: Text
- placeType :: Text
- placeURL :: Text

#### Instances

Instances details

FromJSON Place Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Place Source # parseJSONList :: Value -> Parser [Place] Source # omittedField :: Maybe Place Source #
ToJSON Place Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Place -> Value Source # toEncoding :: Place -> Encoding Source # toJSONList :: [Place] -> Value Source # toEncodingList :: [Place] -> Encoding Source # omitField :: Place -> Bool Source #
Data Place Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Place -> c Place Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Place Source #

toConstr :: Place -> Constr Source #

dataTypeOf :: Place -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Place) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Place) Source #

gmapT :: (forall b. Data b => b -> b) -> Place -> Place Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Place -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Place -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Place -> m Place Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place Source #

Generic Place Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Place |

Instance details

Defined in Web.Twitter.Types

type Rep Place = D1 ('MetaData "Place" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Place" 'PrefixI 'True) (((S1 ('MetaSel ('Just "placeAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text Text)) :*: S1 ('MetaSel ('Just "placeBoundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BoundingBox))) :*: (S1 ('MetaSel ('Just "placeCountry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "placeFullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "placeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "placeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))))

Methods

from :: Place -> Rep Place x Source #

to :: Rep Place x -> Place Source #

Show Place Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Place -> ShowS Source # show :: Place -> String Source # showList :: [Place] -> ShowS Source #
Eq Place Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: Place -> Place -> Bool Source # (/=) :: Place -> Place -> Bool Source #
type Rep Place Source # |

Instance details

Defined in Web.Twitter.Types

type Rep Place = D1 ('MetaData "Place" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Place" 'PrefixI 'True) (((S1 ('MetaSel ('Just "placeAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text Text)) :*: S1 ('MetaSel ('Just "placeBoundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BoundingBox))) :*: (S1 ('MetaSel ('Just "placeCountry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "placeFullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "placeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "placeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))))

data BoundingBox Source #

A bounding box of coordinates which encloses the place. See https://dev.twitter.com/docs/platform-objects/places#obj-boundingbox.

Constructors

BoundingBox |

Fields

- boundingBoxCoordinates :: [[[Double]]]
- boundingBoxType :: Text

#### Instances

Instances details

FromJSON BoundingBox Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser BoundingBox Source # parseJSONList :: Value -> Parser [BoundingBox] Source # omittedField :: Maybe BoundingBox Source #
ToJSON BoundingBox Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: BoundingBox -> Value Source # toEncoding :: BoundingBox -> Encoding Source # toJSONList :: [BoundingBox] -> Value Source # toEncodingList :: [BoundingBox] -> Encoding Source # omitField :: BoundingBox -> Bool Source #
Data BoundingBox Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BoundingBox -> c BoundingBox Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BoundingBox Source #

toConstr :: BoundingBox -> Constr Source #

dataTypeOf :: BoundingBox -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BoundingBox) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BoundingBox) Source #

gmapT :: (forall b. Data b => b -> b) -> BoundingBox -> BoundingBox Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BoundingBox -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BoundingBox -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> BoundingBox -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BoundingBox -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox Source #

Generic BoundingBox Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep BoundingBox |

Instance details

Defined in Web.Twitter.Types

type Rep BoundingBox = D1 ('MetaData "BoundingBox" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "BoundingBox" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBoxCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[[Double]]]) :*: S1 ('MetaSel ('Just "boundingBoxType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: BoundingBox -> Rep BoundingBox x Source #

to :: Rep BoundingBox x -> BoundingBox Source #

Show BoundingBox Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> BoundingBox -> ShowS Source # show :: BoundingBox -> String Source # showList :: [BoundingBox] -> ShowS Source #
Eq BoundingBox Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: BoundingBox -> BoundingBox -> Bool Source # (/=) :: BoundingBox -> BoundingBox -> Bool Source #
type Rep BoundingBox Source # |

Instance details

Defined in Web.Twitter.Types

type Rep BoundingBox = D1 ('MetaData "BoundingBox" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "BoundingBox" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBoxCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[[Double]]]) :*: S1 ('MetaSel ('Just "boundingBoxType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data Contributor Source #

Constructors

Contributor |

Fields

- contributorId :: UserId
- contributorScreenName :: Maybe Text

#### Instances

Instances details

FromJSON Contributor Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Contributor Source # parseJSONList :: Value -> Parser [Contributor] Source # omittedField :: Maybe Contributor Source #
ToJSON Contributor Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Contributor -> Value Source # toEncoding :: Contributor -> Encoding Source # toJSONList :: [Contributor] -> Value Source # toEncodingList :: [Contributor] -> Encoding Source # omitField :: Contributor -> Bool Source #
Data Contributor Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Contributor -> c Contributor Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Contributor Source #

toConstr :: Contributor -> Constr Source #

dataTypeOf :: Contributor -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Contributor) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Contributor) Source #

gmapT :: (forall b. Data b => b -> b) -> Contributor -> Contributor Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Contributor -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Contributor -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor Source #

Generic Contributor Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Contributor |

Instance details

Defined in Web.Twitter.Types

type Rep Contributor = D1 ('MetaData "Contributor" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Contributor" 'PrefixI 'True) (S1 ('MetaSel ('Just "contributorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: S1 ('MetaSel ('Just "contributorScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

Methods

from :: Contributor -> Rep Contributor x Source #

to :: Rep Contributor x -> Contributor Source #

Show Contributor Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Contributor -> ShowS Source # show :: Contributor -> String Source # showList :: [Contributor] -> ShowS Source #
Eq Contributor Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: Contributor -> Contributor -> Bool Source # (/=) :: Contributor -> Contributor -> Bool Source #
type Rep Contributor Source # |

Instance details

Defined in Web.Twitter.Types

type Rep Contributor = D1 ('MetaData "Contributor" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Contributor" 'PrefixI 'True) (S1 ('MetaSel ('Just "contributorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: S1 ('MetaSel ('Just "contributorScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

data UploadedMedia Source #

This type is represents the API response of "/1.1/media/upload.json". See https://dev.twitter.com/docs/api/multiple-media-extended-entities.

Constructors

UploadedMedia |

Fields

- uploadedMediaId :: Integer
- uploadedMediaSize :: Integer
- uploadedMediaImage :: ImageSizeType

#### Instances

Instances details

FromJSON UploadedMedia Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser UploadedMedia Source # parseJSONList :: Value -> Parser [UploadedMedia] Source # omittedField :: Maybe UploadedMedia Source #
ToJSON UploadedMedia Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: UploadedMedia -> Value Source # toEncoding :: UploadedMedia -> Encoding Source # toJSONList :: [UploadedMedia] -> Value Source # toEncodingList :: [UploadedMedia] -> Encoding Source # omitField :: UploadedMedia -> Bool Source #
Data UploadedMedia Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UploadedMedia -> c UploadedMedia Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UploadedMedia Source #

toConstr :: UploadedMedia -> Constr Source #

dataTypeOf :: UploadedMedia -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UploadedMedia) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UploadedMedia) Source #

gmapT :: (forall b. Data b => b -> b) -> UploadedMedia -> UploadedMedia Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UploadedMedia -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UploadedMedia -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> UploadedMedia -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UploadedMedia -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia Source #

Generic UploadedMedia Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep UploadedMedia |

Instance details

Defined in Web.Twitter.Types

type Rep UploadedMedia = D1 ('MetaData "UploadedMedia" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "UploadedMedia" 'PrefixI 'True) (S1 ('MetaSel ('Just "uploadedMediaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "uploadedMediaSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "uploadedMediaImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImageSizeType))))

Methods

from :: UploadedMedia -> Rep UploadedMedia x Source #

to :: Rep UploadedMedia x -> UploadedMedia Source #

Show UploadedMedia Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> UploadedMedia -> ShowS Source # show :: UploadedMedia -> String Source # showList :: [UploadedMedia] -> ShowS Source #
Eq UploadedMedia Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: UploadedMedia -> UploadedMedia -> Bool Source # (/=) :: UploadedMedia -> UploadedMedia -> Bool Source #
type Rep UploadedMedia Source # |

Instance details

Defined in Web.Twitter.Types

type Rep UploadedMedia = D1 ('MetaData "UploadedMedia" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "UploadedMedia" 'PrefixI 'True) (S1 ('MetaSel ('Just "uploadedMediaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "uploadedMediaSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "uploadedMediaImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImageSizeType))))

data ImageSizeType Source #

Image size type. This type is included in the API response of "/1.1/media/upload.json".

Constructors

ImageSizeType |

Fields

- imageSizeTypeWidth :: Int
- imageSizeTypeHeight :: Int
- imageSizeTypeType :: Text

#### Instances

Instances details

FromJSON ImageSizeType Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ImageSizeType Source # parseJSONList :: Value -> Parser [ImageSizeType] Source # omittedField :: Maybe ImageSizeType Source #
ToJSON ImageSizeType Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: ImageSizeType -> Value Source # toEncoding :: ImageSizeType -> Encoding Source # toJSONList :: [ImageSizeType] -> Value Source # toEncodingList :: [ImageSizeType] -> Encoding Source # omitField :: ImageSizeType -> Bool Source #
Data ImageSizeType Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImageSizeType -> c ImageSizeType Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageSizeType Source #

toConstr :: ImageSizeType -> Constr Source #

dataTypeOf :: ImageSizeType -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImageSizeType) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageSizeType) Source #

gmapT :: (forall b. Data b => b -> b) -> ImageSizeType -> ImageSizeType Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageSizeType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageSizeType -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ImageSizeType -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageSizeType -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType Source #

Generic ImageSizeType Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep ImageSizeType |

Instance details

Defined in Web.Twitter.Types

type Rep ImageSizeType = D1 ('MetaData "ImageSizeType" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ImageSizeType" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageSizeTypeWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "imageSizeTypeHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "imageSizeTypeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

Methods

from :: ImageSizeType -> Rep ImageSizeType x Source #

to :: Rep ImageSizeType x -> ImageSizeType Source #

Show ImageSizeType Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> ImageSizeType -> ShowS Source # show :: ImageSizeType -> String Source # showList :: [ImageSizeType] -> ShowS Source #
Eq ImageSizeType Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: ImageSizeType -> ImageSizeType -> Bool Source # (/=) :: ImageSizeType -> ImageSizeType -> Bool Source #
type Rep ImageSizeType Source # |

Instance details

Defined in Web.Twitter.Types

type Rep ImageSizeType = D1 ('MetaData "ImageSizeType" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ImageSizeType" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageSizeTypeWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "imageSizeTypeHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "imageSizeTypeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data DisplayTextRange Source #

unicode code point indices, identifying the inclusive start and exclusive end of the displayable content of the Tweet.

Constructors

DisplayTextRange |

Fields

- displayTextRangeStart :: Int
- displayTextRangeEnd :: Int

  exclusive

#### Instances

Instances details

FromJSON DisplayTextRange Source # |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser DisplayTextRange Source # parseJSONList :: Value -> Parser [DisplayTextRange] Source # omittedField :: Maybe DisplayTextRange Source #
ToJSON DisplayTextRange Source # |
Instance details Defined in Web.Twitter.Types Methods toJSON :: DisplayTextRange -> Value Source # toEncoding :: DisplayTextRange -> Encoding Source # toJSONList :: [DisplayTextRange] -> Value Source # toEncodingList :: [DisplayTextRange] -> Encoding Source # omitField :: DisplayTextRange -> Bool Source #
Data DisplayTextRange Source # |

Instance details

Defined in Web.Twitter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisplayTextRange -> c DisplayTextRange Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisplayTextRange Source #

toConstr :: DisplayTextRange -> Constr Source #

dataTypeOf :: DisplayTextRange -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DisplayTextRange) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisplayTextRange) Source #

gmapT :: (forall b. Data b => b -> b) -> DisplayTextRange -> DisplayTextRange Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisplayTextRange -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisplayTextRange -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DisplayTextRange -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DisplayTextRange -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisplayTextRange -> m DisplayTextRange Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisplayTextRange -> m DisplayTextRange Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisplayTextRange -> m DisplayTextRange Source #

Generic DisplayTextRange Source # |

Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep DisplayTextRange |

Instance details

Defined in Web.Twitter.Types

type Rep DisplayTextRange = D1 ('MetaData "DisplayTextRange" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "DisplayTextRange" 'PrefixI 'True) (S1 ('MetaSel ('Just "displayTextRangeStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "displayTextRangeEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: DisplayTextRange -> Rep DisplayTextRange x Source #

to :: Rep DisplayTextRange x -> DisplayTextRange Source #

Show DisplayTextRange Source # |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> DisplayTextRange -> ShowS Source # show :: DisplayTextRange -> String Source # showList :: [DisplayTextRange] -> ShowS Source #
Eq DisplayTextRange Source # |
Instance details Defined in Web.Twitter.Types Methods (==) :: DisplayTextRange -> DisplayTextRange -> Bool Source # (/=) :: DisplayTextRange -> DisplayTextRange -> Bool Source #
Ord DisplayTextRange Source # |

Instance details

Defined in Web.Twitter.Types

Methods

compare :: DisplayTextRange -> DisplayTextRange -> Ordering Source #

(<) :: DisplayTextRange -> DisplayTextRange -> Bool Source #

(<=) :: DisplayTextRange -> DisplayTextRange -> Bool Source #

(>) :: DisplayTextRange -> DisplayTextRange -> Bool Source #

(>=) :: DisplayTextRange -> DisplayTextRange -> Bool Source #

max :: DisplayTextRange -> DisplayTextRange -> DisplayTextRange Source #

min :: DisplayTextRange -> DisplayTextRange -> DisplayTextRange Source #

type Rep DisplayTextRange Source # |

Instance details

Defined in Web.Twitter.Types

type Rep DisplayTextRange = D1 ('MetaData "DisplayTextRange" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "DisplayTextRange" 'PrefixI 'True) (S1 ('MetaSel ('Just "displayTextRangeStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "displayTextRangeEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

checkError :: Object -> Parser () Source #

twitterTimeFormat :: String Source #