twitter-types-lens-0.7.2: Twitter JSON types (lens powered)

Safe Haskell | None
Language | Haskell2010

Web.Twitter.Types.Lens

Contents

- Type classes
- `Status`
- `SearchResult`
- `SearchStatus`
- `SearchMetadata`
- `RetweetedStatus`
- `DirectMessage`
- `Event`
- `Delete`
- `User`
- `List`
- `Entities`
- `Entity`
- `HashTagEntity`
- `UserEntity`
- `URLEntity`
- `MediaEntity`
- `MediaSize`
- `Coordinates`
- `Place`
- `BoundingBox`
- `Contributor`
- `UploadedMedia`
- `ImageSizeType`
- Type aliases and sum types
- `StreamingAPI`
- `EventTarget`

Synopsis

- class AsStatus s where
- class AsUser u where
- class HasCreatedAt a where
- class AsImageSize a where
- data Status :: *
- statusContributors :: Lens' Status (Maybe [Contributor])
- statusCoordinates :: Lens' Status (Maybe Coordinates)
- statusCreatedAt :: Lens' Status UTCTime
- statusCurrentUserRetweet :: Lens' Status (Maybe StatusId)
- statusEntities :: Lens' Status (Maybe Entities)
- statusExtendedEntities :: Lens' Status (Maybe Entities)
- statusFavoriteCount :: Lens' Status Integer
- statusFavorited :: Lens' Status (Maybe Bool)
- statusFilterLevel :: Lens' Status (Maybe Text)
- statusId :: Lens' Status StatusId
- statusInReplyToScreenName :: Lens' Status (Maybe Text)
- statusInReplyToStatusId :: Lens' Status (Maybe StatusId)
- statusInReplyToUserId :: Lens' Status (Maybe UserId)
- statusLang :: Lens' Status (Maybe LanguageCode)
- statusPlace :: Lens' Status (Maybe Place)
- statusPossiblySensitive :: Lens' Status (Maybe Bool)
- statusScopes :: Lens' Status (Maybe Object)
- statusQuotedStatusId :: Lens' Status (Maybe StatusId)
- statusQuotedStatus :: Lens' Status (Maybe Status)
- statusRetweetCount :: Lens' Status Integer
- statusRetweeted :: Lens' Status (Maybe Bool)
- statusRetweetedStatus :: Lens' Status (Maybe Status)
- statusSource :: Lens' Status Text
- statusText :: Lens' Status Text
- statusTruncated :: Lens' Status Bool
- statusUser :: Lens' Status User
- statusWithheldCopyright :: Lens' Status (Maybe Bool)
- statusWithheldInCountries :: Lens' Status (Maybe [Text])
- statusWithheldScope :: Lens' Status (Maybe Text)
- data SearchResult body :: * -> *
- searchResultStatuses :: forall body body. Lens (SearchResult body) (SearchResult body) body body
- searchResultSearchMetadata :: forall body. Lens' (SearchResult body) SearchMetadata
- data SearchStatus :: *
- searchStatusCreatedAt :: Lens' SearchStatus UTCTime
- searchStatusId :: Lens' SearchStatus StatusId
- searchStatusText :: Lens' SearchStatus Text
- searchStatusSource :: Lens' SearchStatus Text
- searchStatusUser :: Lens' SearchStatus User
- searchStatusCoordinates :: Lens' SearchStatus (Maybe Coordinates)
- data SearchMetadata :: *
- searchMetadataMaxId :: Lens' SearchMetadata StatusId
- searchMetadataSinceId :: Lens' SearchMetadata StatusId
- searchMetadataRefreshURL :: Lens' SearchMetadata URIString
- searchMetadataNextResults :: Lens' SearchMetadata (Maybe URIString)
- searchMetadataCount :: Lens' SearchMetadata Int
- searchMetadataCompletedIn :: Lens' SearchMetadata (Maybe Float)
- searchMetadataSinceIdStr :: Lens' SearchMetadata String
- searchMetadataQuery :: Lens' SearchMetadata String
- searchMetadataMaxIdStr :: Lens' SearchMetadata String
- data RetweetedStatus :: *
- rsCreatedAt :: Lens' RetweetedStatus UTCTime
- rsId :: Lens' RetweetedStatus StatusId
- rsText :: Lens' RetweetedStatus Text
- rsSource :: Lens' RetweetedStatus Text
- rsTruncated :: Lens' RetweetedStatus Bool
- rsEntities :: Lens' RetweetedStatus (Maybe Entities)
- rsUser :: Lens' RetweetedStatus User
- rsRetweetedStatus :: Lens' RetweetedStatus Status
- rsCoordinates :: Lens' RetweetedStatus (Maybe Coordinates)
- data DirectMessage :: *
- dmCreatedAt :: Lens' DirectMessage UTCTime
- dmSenderScreenName :: Lens' DirectMessage Text
- dmSender :: Lens' DirectMessage User
- dmText :: Lens' DirectMessage Text
- dmRecipientScreeName :: Lens' DirectMessage Text
- dmId :: Lens' DirectMessage StatusId
- dmRecipient :: Lens' DirectMessage User
- dmRecipientId :: Lens' DirectMessage UserId
- dmSenderId :: Lens' DirectMessage UserId
- dmCoordinates :: Lens' DirectMessage (Maybe Coordinates)
- data Event :: *
- evCreatedAt :: Lens' Event UTCTime
- evTargetObject :: Lens' Event (Maybe EventTarget)
- evEvent :: Lens' Event Text
- evTarget :: Lens' Event EventTarget
- evSource :: Lens' Event EventTarget
- data Delete :: *
- delId :: Lens' Delete StatusId
- delUserId :: Lens' Delete UserId
- data User :: *
- userContributorsEnabled :: Lens' User Bool
- userCreatedAt :: Lens' User UTCTime
- userDefaultProfile :: Lens' User Bool
- userDefaultProfileImage :: Lens' User Bool
- userDescription :: Lens' User (Maybe Text)
- userFavoritesCount :: Lens' User Int
- userFollowRequestSent :: Lens' User (Maybe Bool)
- userFollowing :: Lens' User (Maybe Bool)
- userFollowersCount :: Lens' User Int
- userFriendsCount :: Lens' User Int
- userGeoEnabled :: Lens' User Bool
- userId :: Lens' User UserId
- userIsTranslator :: Lens' User Bool
- userLang :: Lens' User LanguageCode
- userListedCount :: Lens' User Int
- userLocation :: Lens' User (Maybe Text)
- userName :: Lens' User Text
- userNotifications :: Lens' User (Maybe Bool)
- userProfileBackgroundColor :: Lens' User (Maybe Text)
- userProfileBackgroundImageURL :: Lens' User (Maybe URIString)
- userProfileBackgroundImageURLHttps :: Lens' User (Maybe URIString)
- userProfileBackgroundTile :: Lens' User (Maybe Bool)
- userProfileBannerURL :: Lens' User (Maybe URIString)
- userProfileImageURL :: Lens' User (Maybe URIString)
- userProfileImageURLHttps :: Lens' User (Maybe URIString)
- userProfileLinkColor :: Lens' User Text
- userProfileSidebarBorderColor :: Lens' User Text
- userProfileSidebarFillColor :: Lens' User Text
- userProfileTextColor :: Lens' User Text
- userProfileUseBackgroundImage :: Lens' User Bool
- userProtected :: Lens' User Bool
- userScreenName :: Lens' User Text
- userShowAllInlineMedia :: Lens' User (Maybe Bool)
- userStatusesCount :: Lens' User Int
- userTimeZone :: Lens' User (Maybe Text)
- userURL :: Lens' User (Maybe URIString)
- userUtcOffset :: Lens' User (Maybe Int)
- userVerified :: Lens' User Bool
- userWithheldInCountries :: Lens' User (Maybe [Text])
- userWithheldScope :: Lens' User (Maybe Text)
- data List :: *
- listId :: Lens' List Int
- listName :: Lens' List Text
- listFullName :: Lens' List Text
- listMemberCount :: Lens' List Int
- listSubscriberCount :: Lens' List Int
- listMode :: Lens' List Text
- listUser :: Lens' List User
- data Entities :: *
- enHashTags :: Lens' Entities [Entity HashTagEntity]
- enUserMentions :: Lens' Entities [Entity UserEntity]
- enURLs :: Lens' Entities [Entity URLEntity]
- enMedia :: Lens' Entities [Entity MediaEntity]
- data Entity a :: * -> *
- entityBody :: forall a a. Lens (Entity a) (Entity a) a a
- entityIndices :: forall a. Lens' (Entity a) EntityIndices
- data HashTagEntity :: *
- hashTagText :: Iso' HashTagEntity Text
- data UserEntity :: *
- userEntityUserId :: Lens' UserEntity UserId
- userEntityUserName :: Lens' UserEntity UserName
- userEntityUserScreenName :: Lens' UserEntity Text
- data URLEntity :: *
- ueURL :: Lens' URLEntity URIString
- ueExpanded :: Lens' URLEntity URIString
- ueDisplay :: Lens' URLEntity Text
- data MediaEntity :: *
- meType :: Lens' MediaEntity Text
- meId :: Lens' MediaEntity StatusId
- meSizes :: Lens' MediaEntity (HashMap Text MediaSize)
- meMediaURL :: Lens' MediaEntity URIString
- meMediaURLHttps :: Lens' MediaEntity URIString
- meURL :: Lens' MediaEntity URLEntity
- data MediaSize :: *
- msWidth :: Lens' MediaSize Int
- msHeight :: Lens' MediaSize Int
- msResize :: Lens' MediaSize Text
- data Coordinates :: *
- coordinates :: Lens' Coordinates [Double]
- coordinatesType :: Lens' Coordinates Text
- data Place :: *
- placeAttributes :: Lens' Place (HashMap Text Text)
- placeBoundingBox :: Lens' Place (Maybe BoundingBox)
- placeCountry :: Lens' Place Text
- placeCountryCode :: Lens' Place Text
- placeFullName :: Lens' Place Text
- placeId :: Lens' Place Text
- placeName :: Lens' Place Text
- placeType :: Lens' Place Text
- placeURL :: Lens' Place Text
- data BoundingBox :: *
- boundingBoxCoordinates :: Lens' BoundingBox [[[Double]]]
- boundingBoxType :: Lens' BoundingBox Text
- data Contributor :: *
- contributorId :: Lens' Contributor UserId
- contributorScreenName :: Lens' Contributor (Maybe Text)
- data UploadedMedia :: *
- uploadedMediaId :: Lens' UploadedMedia Integer
- uploadedMediaSize :: Lens' UploadedMedia Integer
- uploadedMediaImage :: Lens' UploadedMedia ImageSizeType
- data ImageSizeType :: *
- imageSizeTypeWidth :: Lens' ImageSizeType Int
- imageSizeTypeHeight :: Lens' ImageSizeType Int
- imageSizeTypeType :: Lens' ImageSizeType Text
- 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 EventTarget :: *
  - = ETUser User
  - | ETStatus Status
  - | ETList List
  - | ETUnknown Value
- type EntityIndices = [Int]
- _SStatus :: Prism' StreamingAPI Status
- _SRetweetedStatus :: Prism' StreamingAPI RetweetedStatus
- _SEvent :: Prism' StreamingAPI Event
- _SDelete :: Prism' StreamingAPI Delete
- _SFriends :: Prism' StreamingAPI Friends
- _SDirectMessage :: Prism' StreamingAPI DirectMessage
- _SUnknown :: Prism' StreamingAPI Value
- _ETUser :: Prism' EventTarget User
- _ETStatus :: Prism' EventTarget Status
- _ETList :: Prism' EventTarget List
- _ETUnknown :: Prism' EventTarget Value

# Type classes

class AsStatus s where Source #

Minimal complete definition

status_id, text, user, geolocation

Methods

status_id :: Lens' s StatusId Source #

text :: Lens' s Text Source #

user :: Lens' s User Source #

geolocation :: Lens' s (Maybe Coordinates) Source #

Instances

AsStatus Status Source # |
Methods status_id :: Lens' Status StatusId Source # text :: Lens' Status Text Source # user :: Lens' Status User Source # geolocation :: Lens' Status (Maybe Coordinates) Source #
AsStatus SearchStatus Source # |
Methods status_id :: Lens' SearchStatus StatusId Source # text :: Lens' SearchStatus Text Source # user :: Lens' SearchStatus User Source # geolocation :: Lens' SearchStatus (Maybe Coordinates) Source #
AsStatus RetweetedStatus Source # |
Methods status_id :: Lens' RetweetedStatus StatusId Source # text :: Lens' RetweetedStatus Text Source # user :: Lens' RetweetedStatus User Source # geolocation :: Lens' RetweetedStatus (Maybe Coordinates) Source #
AsStatus DirectMessage Source # |
Methods status_id :: Lens' DirectMessage StatusId Source # text :: Lens' DirectMessage Text Source # user :: Lens' DirectMessage User Source # geolocation :: Lens' DirectMessage (Maybe Coordinates) Source #

class AsUser u where Source #

Minimal complete definition

user_id, name, screen_name

Methods

user_id :: Lens' u UserId Source #

name :: Lens' u UserName Source #

screen_name :: Lens' u Text Source #

Instances

AsUser User Source # |
Methods user_id :: Lens' User UserId Source # name :: Lens' User UserName Source # screen_name :: Lens' User Text Source #
AsUser UserEntity Source # |
Methods user_id :: Lens' UserEntity UserId Source # name :: Lens' UserEntity UserName Source # screen_name :: Lens' UserEntity Text Source #
AsUser (Entity UserEntity) Source # |
Methods user_id :: Lens' (Entity UserEntity) UserId Source # name :: Lens' (Entity UserEntity) UserName Source # screen_name :: Lens' (Entity UserEntity) Text Source #

class HasCreatedAt a where Source #

Minimal complete definition

created_at

Methods

created_at :: Lens' a UTCTime Source #

Instances

HasCreatedAt Status Source # |
Methods created_at :: Lens' Status UTCTime Source #
HasCreatedAt SearchStatus Source # |
Methods created_at :: Lens' SearchStatus UTCTime Source #
HasCreatedAt RetweetedStatus Source # |
Methods created_at :: Lens' RetweetedStatus UTCTime Source #
HasCreatedAt DirectMessage Source # |
Methods created_at :: Lens' DirectMessage UTCTime Source #
HasCreatedAt User Source # |
Methods created_at :: Lens' User UTCTime Source #

class AsImageSize a where Source #

Minimal complete definition

width, height

Methods

width :: Lens' a Int Source #

height :: Lens' a Int Source #

Instances

AsImageSize MediaSize Source # |
Methods width :: Lens' MediaSize Int Source # height :: Lens' MediaSize Int Source #
AsImageSize ImageSizeType Source # |
Methods width :: Lens' ImageSizeType Int Source # height :: Lens' ImageSizeType Int Source #

# `Status`

data Status :: * #

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

Instances

Eq Status |
Methods (==) :: Status -> Status -> Bool # (/=) :: Status -> Status -> Bool #
Data Status |

Methods

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

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

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Status |
Methods showsPrec :: Int -> Status -> ShowS # show :: Status -> String # showList :: [Status] -> ShowS #
Generic Status |
Associated Types type Rep Status :: * -> * # Methods from :: Status -> Rep Status x # to :: Rep Status x -> Status #
ToJSON Status |
Methods toJSON :: Status -> Value toEncoding :: Status -> Encoding toJSONList :: [Status] -> Value toEncodingList :: [Status] -> Encoding
FromJSON Status |
Methods parseJSON :: Value -> Parser Status parseJSONList :: Value -> Parser [Status]
HasCreatedAt Status Source # |
Methods created_at :: Lens' Status UTCTime Source #
AsStatus Status Source # |
Methods status_id :: Lens' Status StatusId Source # text :: Lens' Status Text Source # user :: Lens' Status User Source # geolocation :: Lens' Status (Maybe Coordinates) Source #
type Rep Status |

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

statusContributors :: Lens' Status (Maybe [Contributor]) Source #

statusCoordinates :: Lens' Status (Maybe Coordinates) Source #

statusCreatedAt :: Lens' Status UTCTime Source #

statusCurrentUserRetweet :: Lens' Status (Maybe StatusId) Source #

statusEntities :: Lens' Status (Maybe Entities) Source #

statusExtendedEntities :: Lens' Status (Maybe Entities) Source #

statusFavoriteCount :: Lens' Status Integer Source #

statusFavorited :: Lens' Status (Maybe Bool) Source #

statusFilterLevel :: Lens' Status (Maybe Text) Source #

statusId :: Lens' Status StatusId Source #

statusInReplyToScreenName :: Lens' Status (Maybe Text) Source #

statusInReplyToStatusId :: Lens' Status (Maybe StatusId) Source #

statusInReplyToUserId :: Lens' Status (Maybe UserId) Source #

statusLang :: Lens' Status (Maybe LanguageCode) Source #

statusPlace :: Lens' Status (Maybe Place) Source #

statusPossiblySensitive :: Lens' Status (Maybe Bool) Source #

statusScopes :: Lens' Status (Maybe Object) Source #

statusQuotedStatusId :: Lens' Status (Maybe StatusId) Source #

statusQuotedStatus :: Lens' Status (Maybe Status) Source #

statusRetweetCount :: Lens' Status Integer Source #

statusRetweeted :: Lens' Status (Maybe Bool) Source #

statusRetweetedStatus :: Lens' Status (Maybe Status) Source #

statusSource :: Lens' Status Text Source #

statusText :: Lens' Status Text Source #

statusTruncated :: Lens' Status Bool Source #

statusUser :: Lens' Status User Source #

statusWithheldCopyright :: Lens' Status (Maybe Bool) Source #

statusWithheldInCountries :: Lens' Status (Maybe [Text]) Source #

statusWithheldScope :: Lens' Status (Maybe Text) Source #

# `SearchResult`

data SearchResult body :: * -> * #

Instances

Eq body => Eq (SearchResult body) |
Methods (==) :: SearchResult body -> SearchResult body -> Bool # (/=) :: SearchResult body -> SearchResult body -> Bool #
Data body => Data (SearchResult body) |

Methods

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

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

toConstr :: SearchResult body -> Constr #

dataTypeOf :: SearchResult body -> DataType #

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

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

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

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

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

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

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

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

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

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

Show body => Show (SearchResult body) |
Methods showsPrec :: Int -> SearchResult body -> ShowS # show :: SearchResult body -> String # showList :: [SearchResult body] -> ShowS #
Generic (SearchResult body) |
Associated Types type Rep (SearchResult body) :: * -> * # Methods from :: SearchResult body -> Rep (SearchResult body) x # to :: Rep (SearchResult body) x -> SearchResult body #
ToJSON body => ToJSON (SearchResult body) |
Methods toJSON :: SearchResult body -> Value toEncoding :: SearchResult body -> Encoding toJSONList :: [SearchResult body] -> Value toEncodingList :: [SearchResult body] -> Encoding
FromJSON body => FromJSON (SearchResult body) |
Methods parseJSON :: Value -> Parser (SearchResult body) parseJSONList :: Value -> Parser [SearchResult body]
type Rep (SearchResult body) |

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

searchResultStatuses :: forall body body. Lens (SearchResult body) (SearchResult body) body body Source #

searchResultSearchMetadata :: forall body. Lens' (SearchResult body) SearchMetadata Source #

# `SearchStatus`

data SearchStatus :: * #

Instances

Eq SearchStatus |
Methods (==) :: SearchStatus -> SearchStatus -> Bool # (/=) :: SearchStatus -> SearchStatus -> Bool #
Data SearchStatus |

Methods

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

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

toConstr :: SearchStatus -> Constr #

dataTypeOf :: SearchStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SearchStatus |
Methods showsPrec :: Int -> SearchStatus -> ShowS # show :: SearchStatus -> String # showList :: [SearchStatus] -> ShowS #
Generic SearchStatus |
Associated Types type Rep SearchStatus :: * -> * # Methods from :: SearchStatus -> Rep SearchStatus x # to :: Rep SearchStatus x -> SearchStatus #
ToJSON SearchStatus |
Methods toJSON :: SearchStatus -> Value toEncoding :: SearchStatus -> Encoding toJSONList :: [SearchStatus] -> Value toEncodingList :: [SearchStatus] -> Encoding
FromJSON SearchStatus |
Methods parseJSON :: Value -> Parser SearchStatus parseJSONList :: Value -> Parser [SearchStatus]
HasCreatedAt SearchStatus Source # |
Methods created_at :: Lens' SearchStatus UTCTime Source #
AsStatus SearchStatus Source # |
Methods status_id :: Lens' SearchStatus StatusId Source # text :: Lens' SearchStatus Text Source # user :: Lens' SearchStatus User Source # geolocation :: Lens' SearchStatus (Maybe Coordinates) Source #
type Rep SearchStatus |

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

searchStatusCreatedAt :: Lens' SearchStatus UTCTime Source #

searchStatusId :: Lens' SearchStatus StatusId Source #

searchStatusText :: Lens' SearchStatus Text Source #

searchStatusSource :: Lens' SearchStatus Text Source #

searchStatusUser :: Lens' SearchStatus User Source #

searchStatusCoordinates :: Lens' SearchStatus (Maybe Coordinates) Source #

# `SearchMetadata`

data SearchMetadata :: * #

Instances

Eq SearchMetadata |
Methods (==) :: SearchMetadata -> SearchMetadata -> Bool # (/=) :: SearchMetadata -> SearchMetadata -> Bool #
Data SearchMetadata |

Methods

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

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

toConstr :: SearchMetadata -> Constr #

dataTypeOf :: SearchMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SearchMetadata |
Methods showsPrec :: Int -> SearchMetadata -> ShowS # show :: SearchMetadata -> String # showList :: [SearchMetadata] -> ShowS #
Generic SearchMetadata |
Associated Types type Rep SearchMetadata :: * -> * # Methods from :: SearchMetadata -> Rep SearchMetadata x # to :: Rep SearchMetadata x -> SearchMetadata #
ToJSON SearchMetadata |
Methods toJSON :: SearchMetadata -> Value toEncoding :: SearchMetadata -> Encoding toJSONList :: [SearchMetadata] -> Value toEncodingList :: [SearchMetadata] -> Encoding
FromJSON SearchMetadata |
Methods parseJSON :: Value -> Parser SearchMetadata parseJSONList :: Value -> Parser [SearchMetadata]
type Rep SearchMetadata |

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

searchMetadataMaxId :: Lens' SearchMetadata StatusId Source #

searchMetadataSinceId :: Lens' SearchMetadata StatusId Source #

searchMetadataRefreshURL :: Lens' SearchMetadata URIString Source #

searchMetadataNextResults :: Lens' SearchMetadata (Maybe URIString) Source #

searchMetadataCount :: Lens' SearchMetadata Int Source #

searchMetadataCompletedIn :: Lens' SearchMetadata (Maybe Float) Source #

searchMetadataSinceIdStr :: Lens' SearchMetadata String Source #

searchMetadataQuery :: Lens' SearchMetadata String Source #

searchMetadataMaxIdStr :: Lens' SearchMetadata String Source #

# `RetweetedStatus`

data RetweetedStatus :: * #

Instances

Eq RetweetedStatus |
Methods (==) :: RetweetedStatus -> RetweetedStatus -> Bool # (/=) :: RetweetedStatus -> RetweetedStatus -> Bool #
Data RetweetedStatus |

Methods

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

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

toConstr :: RetweetedStatus -> Constr #

dataTypeOf :: RetweetedStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RetweetedStatus |
Methods showsPrec :: Int -> RetweetedStatus -> ShowS # show :: RetweetedStatus -> String # showList :: [RetweetedStatus] -> ShowS #
Generic RetweetedStatus |
Associated Types type Rep RetweetedStatus :: * -> * # Methods from :: RetweetedStatus -> Rep RetweetedStatus x # to :: Rep RetweetedStatus x -> RetweetedStatus #
ToJSON RetweetedStatus |
Methods toJSON :: RetweetedStatus -> Value toEncoding :: RetweetedStatus -> Encoding toJSONList :: [RetweetedStatus] -> Value toEncodingList :: [RetweetedStatus] -> Encoding
FromJSON RetweetedStatus |
Methods parseJSON :: Value -> Parser RetweetedStatus parseJSONList :: Value -> Parser [RetweetedStatus]
HasCreatedAt RetweetedStatus Source # |
Methods created_at :: Lens' RetweetedStatus UTCTime Source #
AsStatus RetweetedStatus Source # |
Methods status_id :: Lens' RetweetedStatus StatusId Source # text :: Lens' RetweetedStatus Text Source # user :: Lens' RetweetedStatus User Source # geolocation :: Lens' RetweetedStatus (Maybe Coordinates) Source #
type Rep RetweetedStatus |

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

rsCreatedAt :: Lens' RetweetedStatus UTCTime Source #

rsId :: Lens' RetweetedStatus StatusId Source #

rsText :: Lens' RetweetedStatus Text Source #

rsSource :: Lens' RetweetedStatus Text Source #

rsTruncated :: Lens' RetweetedStatus Bool Source #

rsEntities :: Lens' RetweetedStatus (Maybe Entities) Source #

rsUser :: Lens' RetweetedStatus User Source #

rsRetweetedStatus :: Lens' RetweetedStatus Status Source #

rsCoordinates :: Lens' RetweetedStatus (Maybe Coordinates) Source #

# `DirectMessage`

data DirectMessage :: * #

Instances

Eq DirectMessage |
Methods (==) :: DirectMessage -> DirectMessage -> Bool # (/=) :: DirectMessage -> DirectMessage -> Bool #
Data DirectMessage |

Methods

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

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

toConstr :: DirectMessage -> Constr #

dataTypeOf :: DirectMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DirectMessage |
Methods showsPrec :: Int -> DirectMessage -> ShowS # show :: DirectMessage -> String # showList :: [DirectMessage] -> ShowS #
Generic DirectMessage |
Associated Types type Rep DirectMessage :: * -> * # Methods from :: DirectMessage -> Rep DirectMessage x # to :: Rep DirectMessage x -> DirectMessage #
ToJSON DirectMessage |
Methods toJSON :: DirectMessage -> Value toEncoding :: DirectMessage -> Encoding toJSONList :: [DirectMessage] -> Value toEncodingList :: [DirectMessage] -> Encoding
FromJSON DirectMessage |
Methods parseJSON :: Value -> Parser DirectMessage parseJSONList :: Value -> Parser [DirectMessage]
HasCreatedAt DirectMessage Source # |
Methods created_at :: Lens' DirectMessage UTCTime Source #
AsStatus DirectMessage Source # |
Methods status_id :: Lens' DirectMessage StatusId Source # text :: Lens' DirectMessage Text Source # user :: Lens' DirectMessage User Source # geolocation :: Lens' DirectMessage (Maybe Coordinates) Source #
type Rep DirectMessage |

type Rep DirectMessage = D1 (MetaData "DirectMessage" "Web.Twitter.Types" "twitter-types-0.7.2.2-6wdIeHRfW5X7MPL58ntc5s" False) (C1 (MetaCons "DirectMessage" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "dmCreatedAt") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UTCTime)) (S1 (MetaSel (Just Symbol "dmSenderScreenName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "dmSender") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User)) ((:*:) (S1 (MetaSel (Just Symbol "dmText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) (S1 (MetaSel (Just Symbol "dmRecipientScreeName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "dmId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 StatusId)) (S1 (MetaSel (Just Symbol "dmRecipient") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User))) ((:*:) (S1 (MetaSel (Just Symbol "dmRecipientId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UserId)) ((:*:) (S1 (MetaSel (Just Symbol "dmSenderId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UserId)) (S1 (MetaSel (Just Symbol "dmCoordinates") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Coordinates))))))))

dmCreatedAt :: Lens' DirectMessage UTCTime Source #

dmSenderScreenName :: Lens' DirectMessage Text Source #

dmSender :: Lens' DirectMessage User Source #

dmText :: Lens' DirectMessage Text Source #

dmRecipientScreeName :: Lens' DirectMessage Text Source #

dmId :: Lens' DirectMessage StatusId Source #

dmRecipient :: Lens' DirectMessage User Source #

dmRecipientId :: Lens' DirectMessage UserId Source #

dmSenderId :: Lens' DirectMessage UserId Source #

dmCoordinates :: Lens' DirectMessage (Maybe Coordinates) Source #

# `Event`

data Event :: * #

Instances

Eq Event |
Methods (==) :: Event -> Event -> Bool # (/=) :: Event -> Event -> Bool #
Data Event |

Methods

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

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

toConstr :: Event -> Constr #

dataTypeOf :: Event -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Event |
Methods showsPrec :: Int -> Event -> ShowS # show :: Event -> String # showList :: [Event] -> ShowS #
Generic Event |
Associated Types type Rep Event :: * -> * # Methods from :: Event -> Rep Event x # to :: Rep Event x -> Event #
ToJSON Event |
Methods toJSON :: Event -> Value toEncoding :: Event -> Encoding toJSONList :: [Event] -> Value toEncodingList :: [Event] -> Encoding
FromJSON Event |
Methods parseJSON :: Value -> Parser Event parseJSONList :: Value -> Parser [Event]
type Rep Event |

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

evCreatedAt :: Lens' Event UTCTime Source #

evTargetObject :: Lens' Event (Maybe EventTarget) Source #

evEvent :: Lens' Event Text Source #

evTarget :: Lens' Event EventTarget Source #

evSource :: Lens' Event EventTarget Source #

# `Delete`

data Delete :: * #

Instances

Eq Delete |
Methods (==) :: Delete -> Delete -> Bool # (/=) :: Delete -> Delete -> Bool #
Data Delete |

Methods

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

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

toConstr :: Delete -> Constr #

dataTypeOf :: Delete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Delete |
Methods showsPrec :: Int -> Delete -> ShowS # show :: Delete -> String # showList :: [Delete] -> ShowS #
Generic Delete |
Associated Types type Rep Delete :: * -> * # Methods from :: Delete -> Rep Delete x # to :: Rep Delete x -> Delete #
ToJSON Delete |
Methods toJSON :: Delete -> Value toEncoding :: Delete -> Encoding toJSONList :: [Delete] -> Value toEncodingList :: [Delete] -> Encoding
FromJSON Delete |
Methods parseJSON :: Value -> Parser Delete parseJSONList :: Value -> Parser [Delete]
type Rep Delete |
type Rep Delete = D1 (MetaData "Delete" "Web.Twitter.Types" "twitter-types-0.7.2.2-6wdIeHRfW5X7MPL58ntc5s" False) (C1 (MetaCons "Delete" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "delId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 StatusId)) (S1 (MetaSel (Just Symbol "delUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UserId))))

delId :: Lens' Delete StatusId Source #

delUserId :: Lens' Delete UserId Source #

# `User`

data User :: * #

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

Instances

Eq User |
Methods (==) :: User -> User -> Bool # (/=) :: User -> User -> Bool #
Data User |

Methods

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

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

toConstr :: User -> Constr #

dataTypeOf :: User -> DataType #

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

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

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

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

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

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

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

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

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

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

Show User |
Methods showsPrec :: Int -> User -> ShowS # show :: User -> String # showList :: [User] -> ShowS #
Generic User |
Associated Types type Rep User :: * -> * # Methods from :: User -> Rep User x # to :: Rep User x -> User #
ToJSON User |
Methods toJSON :: User -> Value toEncoding :: User -> Encoding toJSONList :: [User] -> Value toEncodingList :: [User] -> Encoding
FromJSON User |
Methods parseJSON :: Value -> Parser User parseJSONList :: Value -> Parser [User]
HasCreatedAt User Source # |
Methods created_at :: Lens' User UTCTime Source #
AsUser User Source # |
Methods user_id :: Lens' User UserId Source # name :: Lens' User UserName Source # screen_name :: Lens' User Text Source #
type Rep User |

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

userContributorsEnabled :: Lens' User Bool Source #

userCreatedAt :: Lens' User UTCTime Source #

userDefaultProfile :: Lens' User Bool Source #

userDefaultProfileImage :: Lens' User Bool Source #

userDescription :: Lens' User (Maybe Text) Source #

userFavoritesCount :: Lens' User Int Source #

userFollowRequestSent :: Lens' User (Maybe Bool) Source #

userFollowing :: Lens' User (Maybe Bool) Source #

userFollowersCount :: Lens' User Int Source #

userFriendsCount :: Lens' User Int Source #

userGeoEnabled :: Lens' User Bool Source #

userId :: Lens' User UserId Source #

userIsTranslator :: Lens' User Bool Source #

userLang :: Lens' User LanguageCode Source #

userListedCount :: Lens' User Int Source #

userLocation :: Lens' User (Maybe Text) Source #

userName :: Lens' User Text Source #

userNotifications :: Lens' User (Maybe Bool) Source #

userProfileBackgroundColor :: Lens' User (Maybe Text) Source #

userProfileBackgroundImageURL :: Lens' User (Maybe URIString) Source #

userProfileBackgroundImageURLHttps :: Lens' User (Maybe URIString) Source #

userProfileBackgroundTile :: Lens' User (Maybe Bool) Source #

userProfileBannerURL :: Lens' User (Maybe URIString) Source #

userProfileImageURL :: Lens' User (Maybe URIString) Source #

userProfileImageURLHttps :: Lens' User (Maybe URIString) Source #

userProfileLinkColor :: Lens' User Text Source #

userProfileSidebarBorderColor :: Lens' User Text Source #

userProfileSidebarFillColor :: Lens' User Text Source #

userProfileTextColor :: Lens' User Text Source #

userProfileUseBackgroundImage :: Lens' User Bool Source #

userProtected :: Lens' User Bool Source #

userScreenName :: Lens' User Text Source #

userShowAllInlineMedia :: Lens' User (Maybe Bool) Source #

userStatusesCount :: Lens' User Int Source #

userTimeZone :: Lens' User (Maybe Text) Source #

userURL :: Lens' User (Maybe URIString) Source #

userUtcOffset :: Lens' User (Maybe Int) Source #

userVerified :: Lens' User Bool Source #

userWithheldInCountries :: Lens' User (Maybe [Text]) Source #

userWithheldScope :: Lens' User (Maybe Text) Source #

# `List`

data List :: * #

Instances

Eq List |
Methods (==) :: List -> List -> Bool # (/=) :: List -> List -> Bool #
Data List |

Methods

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

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

toConstr :: List -> Constr #

dataTypeOf :: List -> DataType #

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

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

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

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

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

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

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

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

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

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

Show List |
Methods showsPrec :: Int -> List -> ShowS # show :: List -> String # showList :: [List] -> ShowS #
Generic List |
Associated Types type Rep List :: * -> * # Methods from :: List -> Rep List x # to :: Rep List x -> List #
ToJSON List |
Methods toJSON :: List -> Value toEncoding :: List -> Encoding toJSONList :: [List] -> Value toEncodingList :: [List] -> Encoding
FromJSON List |
Methods parseJSON :: Value -> Parser List parseJSONList :: Value -> Parser [List]
type Rep List |

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

listId :: Lens' List Int Source #

listName :: Lens' List Text Source #

listFullName :: Lens' List Text Source #

listMemberCount :: Lens' List Int Source #

listSubscriberCount :: Lens' List Int Source #

listMode :: Lens' List Text Source #

listUser :: Lens' List User Source #

# `Entities`

data Entities :: * #

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

Instances

Eq Entities |
Methods (==) :: Entities -> Entities -> Bool # (/=) :: Entities -> Entities -> Bool #
Data Entities |

Methods

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

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

toConstr :: Entities -> Constr #

dataTypeOf :: Entities -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Entities |
Methods showsPrec :: Int -> Entities -> ShowS # show :: Entities -> String # showList :: [Entities] -> ShowS #
Generic Entities |
Associated Types type Rep Entities :: * -> * # Methods from :: Entities -> Rep Entities x # to :: Rep Entities x -> Entities #
ToJSON Entities |
Methods toJSON :: Entities -> Value toEncoding :: Entities -> Encoding toJSONList :: [Entities] -> Value toEncodingList :: [Entities] -> Encoding
FromJSON Entities |
Methods parseJSON :: Value -> Parser Entities parseJSONList :: Value -> Parser [Entities]
type Rep Entities |

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

enHashTags :: Lens' Entities [Entity HashTagEntity] Source #

enUserMentions :: Lens' Entities [Entity UserEntity] Source #

enURLs :: Lens' Entities [Entity URLEntity] Source #

enMedia :: Lens' Entities [Entity MediaEntity] Source #

# `Entity`

data Entity a :: * -> * #

Instances

Eq a => Eq (Entity a) |
Methods (==) :: Entity a -> Entity a -> Bool # (/=) :: Entity a -> Entity a -> Bool #
Data a => Data (Entity a) |

Methods

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

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

toConstr :: Entity a -> Constr #

dataTypeOf :: Entity a -> DataType #

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

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

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

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

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

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

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

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

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

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

Show a => Show (Entity a) |
Methods showsPrec :: Int -> Entity a -> ShowS # show :: Entity a -> String # showList :: [Entity a] -> ShowS #
Generic (Entity a) |
Associated Types type Rep (Entity a) :: * -> * # Methods from :: Entity a -> Rep (Entity a) x # to :: Rep (Entity a) x -> Entity a #
ToJSON a => ToJSON (Entity a) |
Methods toJSON :: Entity a -> Value toEncoding :: Entity a -> Encoding toJSONList :: [Entity a] -> Value toEncodingList :: [Entity a] -> Encoding
FromJSON a => FromJSON (Entity a) |
Methods parseJSON :: Value -> Parser (Entity a) parseJSONList :: Value -> Parser [Entity a]
AsUser (Entity UserEntity) Source # |
Methods user_id :: Lens' (Entity UserEntity) UserId Source # name :: Lens' (Entity UserEntity) UserName Source # screen_name :: Lens' (Entity UserEntity) Text Source #
type Rep (Entity a) |
type Rep (Entity a) = D1 (MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.7.2.2-6wdIeHRfW5X7MPL58ntc5s" False) (C1 (MetaCons "Entity" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "entityBody") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a)) (S1 (MetaSel (Just Symbol "entityIndices") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 EntityIndices))))

entityBody :: forall a a. Lens (Entity a) (Entity a) a a Source #

entityIndices :: forall a. Lens' (Entity a) EntityIndices Source #

# `HashTagEntity`

data HashTagEntity :: * #

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

Instances

Eq HashTagEntity |
Methods (==) :: HashTagEntity -> HashTagEntity -> Bool # (/=) :: HashTagEntity -> HashTagEntity -> Bool #
Data HashTagEntity |

Methods

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

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

toConstr :: HashTagEntity -> Constr #

dataTypeOf :: HashTagEntity -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HashTagEntity |
Methods showsPrec :: Int -> HashTagEntity -> ShowS # show :: HashTagEntity -> String # showList :: [HashTagEntity] -> ShowS #
Generic HashTagEntity |
Associated Types type Rep HashTagEntity :: * -> * # Methods from :: HashTagEntity -> Rep HashTagEntity x # to :: Rep HashTagEntity x -> HashTagEntity #
ToJSON HashTagEntity |
Methods toJSON :: HashTagEntity -> Value toEncoding :: HashTagEntity -> Encoding toJSONList :: [HashTagEntity] -> Value toEncodingList :: [HashTagEntity] -> Encoding
FromJSON HashTagEntity |
Methods parseJSON :: Value -> Parser HashTagEntity parseJSONList :: Value -> Parser [HashTagEntity]
type Rep HashTagEntity |
type Rep HashTagEntity = D1 (MetaData "HashTagEntity" "Web.Twitter.Types" "twitter-types-0.7.2.2-6wdIeHRfW5X7MPL58ntc5s" False) (C1 (MetaCons "HashTagEntity" PrefixI True) (S1 (MetaSel (Just Symbol "hashTagText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

hashTagText :: Iso' HashTagEntity Text Source #

# `UserEntity`

data UserEntity :: * #

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

Instances

Eq UserEntity |
Methods (==) :: UserEntity -> UserEntity -> Bool # (/=) :: UserEntity -> UserEntity -> Bool #
Data UserEntity |

Methods

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

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

toConstr :: UserEntity -> Constr #

dataTypeOf :: UserEntity -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserEntity |
Methods showsPrec :: Int -> UserEntity -> ShowS # show :: UserEntity -> String # showList :: [UserEntity] -> ShowS #
Generic UserEntity |
Associated Types type Rep UserEntity :: * -> * # Methods from :: UserEntity -> Rep UserEntity x # to :: Rep UserEntity x -> UserEntity #
ToJSON UserEntity |
Methods toJSON :: UserEntity -> Value toEncoding :: UserEntity -> Encoding toJSONList :: [UserEntity] -> Value toEncodingList :: [UserEntity] -> Encoding
FromJSON UserEntity |
Methods parseJSON :: Value -> Parser UserEntity parseJSONList :: Value -> Parser [UserEntity]
AsUser UserEntity Source # |
Methods user_id :: Lens' UserEntity UserId Source # name :: Lens' UserEntity UserName Source # screen_name :: Lens' UserEntity Text Source #
AsUser (Entity UserEntity) Source # |
Methods user_id :: Lens' (Entity UserEntity) UserId Source # name :: Lens' (Entity UserEntity) UserName Source # screen_name :: Lens' (Entity UserEntity) Text Source #
type Rep UserEntity |

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

userEntityUserId :: Lens' UserEntity UserId Source #

userEntityUserName :: Lens' UserEntity UserName Source #

userEntityUserScreenName :: Lens' UserEntity Text Source #

# `URLEntity`

data URLEntity :: * #

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

Instances

Eq URLEntity |
Methods (==) :: URLEntity -> URLEntity -> Bool # (/=) :: URLEntity -> URLEntity -> Bool #
Data URLEntity |

Methods

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

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

toConstr :: URLEntity -> Constr #

dataTypeOf :: URLEntity -> DataType #

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

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

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

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

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

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

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

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

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

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

Show URLEntity |
Methods showsPrec :: Int -> URLEntity -> ShowS # show :: URLEntity -> String # showList :: [URLEntity] -> ShowS #
Generic URLEntity |
Associated Types type Rep URLEntity :: * -> * # Methods from :: URLEntity -> Rep URLEntity x # to :: Rep URLEntity x -> URLEntity #
ToJSON URLEntity |
Methods toJSON :: URLEntity -> Value toEncoding :: URLEntity -> Encoding toJSONList :: [URLEntity] -> Value toEncodingList :: [URLEntity] -> Encoding
FromJSON URLEntity |
Methods parseJSON :: Value -> Parser URLEntity parseJSONList :: Value -> Parser [URLEntity]
type Rep URLEntity |

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

ueURL :: Lens' URLEntity URIString Source #

ueExpanded :: Lens' URLEntity URIString Source #

ueDisplay :: Lens' URLEntity Text Source #

# `MediaEntity`

data MediaEntity :: * #

Instances

Eq MediaEntity |
Methods (==) :: MediaEntity -> MediaEntity -> Bool # (/=) :: MediaEntity -> MediaEntity -> Bool #
Data MediaEntity |

Methods

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

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

toConstr :: MediaEntity -> Constr #

dataTypeOf :: MediaEntity -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MediaEntity |
Methods showsPrec :: Int -> MediaEntity -> ShowS # show :: MediaEntity -> String # showList :: [MediaEntity] -> ShowS #
Generic MediaEntity |
Associated Types type Rep MediaEntity :: * -> * # Methods from :: MediaEntity -> Rep MediaEntity x # to :: Rep MediaEntity x -> MediaEntity #
ToJSON MediaEntity |
Methods toJSON :: MediaEntity -> Value toEncoding :: MediaEntity -> Encoding toJSONList :: [MediaEntity] -> Value toEncodingList :: [MediaEntity] -> Encoding
FromJSON MediaEntity |
Methods parseJSON :: Value -> Parser MediaEntity parseJSONList :: Value -> Parser [MediaEntity]
type Rep MediaEntity |

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

meType :: Lens' MediaEntity Text Source #

meId :: Lens' MediaEntity StatusId Source #

meSizes :: Lens' MediaEntity (HashMap Text MediaSize) Source #

meMediaURL :: Lens' MediaEntity URIString Source #

meMediaURLHttps :: Lens' MediaEntity URIString Source #

meURL :: Lens' MediaEntity URLEntity Source #

# `MediaSize`

data MediaSize :: * #

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

Instances

Eq MediaSize |
Methods (==) :: MediaSize -> MediaSize -> Bool # (/=) :: MediaSize -> MediaSize -> Bool #
Data MediaSize |

Methods

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

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

toConstr :: MediaSize -> Constr #

dataTypeOf :: MediaSize -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MediaSize |
Methods showsPrec :: Int -> MediaSize -> ShowS # show :: MediaSize -> String # showList :: [MediaSize] -> ShowS #
Generic MediaSize |
Associated Types type Rep MediaSize :: * -> * # Methods from :: MediaSize -> Rep MediaSize x # to :: Rep MediaSize x -> MediaSize #
ToJSON MediaSize |
Methods toJSON :: MediaSize -> Value toEncoding :: MediaSize -> Encoding toJSONList :: [MediaSize] -> Value toEncodingList :: [MediaSize] -> Encoding
FromJSON MediaSize |
Methods parseJSON :: Value -> Parser MediaSize parseJSONList :: Value -> Parser [MediaSize]
AsImageSize MediaSize Source # |
Methods width :: Lens' MediaSize Int Source # height :: Lens' MediaSize Int Source #
type Rep MediaSize |

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

msWidth :: Lens' MediaSize Int Source #

msHeight :: Lens' MediaSize Int Source #

msResize :: Lens' MediaSize Text Source #

# `Coordinates`

data Coordinates :: * #

Instances

Eq Coordinates |
Methods (==) :: Coordinates -> Coordinates -> Bool # (/=) :: Coordinates -> Coordinates -> Bool #
Data Coordinates |

Methods

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

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

toConstr :: Coordinates -> Constr #

dataTypeOf :: Coordinates -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Coordinates |
Methods showsPrec :: Int -> Coordinates -> ShowS # show :: Coordinates -> String # showList :: [Coordinates] -> ShowS #
Generic Coordinates |
Associated Types type Rep Coordinates :: * -> * # Methods from :: Coordinates -> Rep Coordinates x # to :: Rep Coordinates x -> Coordinates #
ToJSON Coordinates |
Methods toJSON :: Coordinates -> Value toEncoding :: Coordinates -> Encoding toJSONList :: [Coordinates] -> Value toEncodingList :: [Coordinates] -> Encoding
FromJSON Coordinates |
Methods parseJSON :: Value -> Parser Coordinates parseJSONList :: Value -> Parser [Coordinates]
type Rep Coordinates |
type Rep Coordinates = D1 (MetaData "Coordinates" "Web.Twitter.Types" "twitter-types-0.7.2.2-6wdIeHRfW5X7MPL58ntc5s" False) (C1 (MetaCons "Coordinates" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "coordinates") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Double])) (S1 (MetaSel (Just Symbol "coordinatesType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))

coordinates :: Lens' Coordinates [Double] Source #

coordinatesType :: Lens' Coordinates Text Source #

# `Place`

data Place :: * #

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

Instances

Eq Place |
Methods (==) :: Place -> Place -> Bool # (/=) :: Place -> Place -> Bool #
Data Place |

Methods

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

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

toConstr :: Place -> Constr #

dataTypeOf :: Place -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Place |
Methods showsPrec :: Int -> Place -> ShowS # show :: Place -> String # showList :: [Place] -> ShowS #
Generic Place |
Associated Types type Rep Place :: * -> * # Methods from :: Place -> Rep Place x # to :: Rep Place x -> Place #
ToJSON Place |
Methods toJSON :: Place -> Value toEncoding :: Place -> Encoding toJSONList :: [Place] -> Value toEncodingList :: [Place] -> Encoding
FromJSON Place |
Methods parseJSON :: Value -> Parser Place parseJSONList :: Value -> Parser [Place]
type Rep Place |

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

placeAttributes :: Lens' Place (HashMap Text Text) Source #

placeBoundingBox :: Lens' Place (Maybe BoundingBox) Source #

placeCountry :: Lens' Place Text Source #

placeCountryCode :: Lens' Place Text Source #

placeFullName :: Lens' Place Text Source #

placeId :: Lens' Place Text Source #

placeName :: Lens' Place Text Source #

placeType :: Lens' Place Text Source #

placeURL :: Lens' Place Text Source #

# `BoundingBox`

data BoundingBox :: * #

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

Instances

Eq BoundingBox |
Methods (==) :: BoundingBox -> BoundingBox -> Bool # (/=) :: BoundingBox -> BoundingBox -> Bool #
Data BoundingBox |

Methods

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

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

toConstr :: BoundingBox -> Constr #

dataTypeOf :: BoundingBox -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BoundingBox |
Methods showsPrec :: Int -> BoundingBox -> ShowS # show :: BoundingBox -> String # showList :: [BoundingBox] -> ShowS #
Generic BoundingBox |
Associated Types type Rep BoundingBox :: * -> * # Methods from :: BoundingBox -> Rep BoundingBox x # to :: Rep BoundingBox x -> BoundingBox #
ToJSON BoundingBox |
Methods toJSON :: BoundingBox -> Value toEncoding :: BoundingBox -> Encoding toJSONList :: [BoundingBox] -> Value toEncodingList :: [BoundingBox] -> Encoding
FromJSON BoundingBox |
Methods parseJSON :: Value -> Parser BoundingBox parseJSONList :: Value -> Parser [BoundingBox]
type Rep BoundingBox |

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

boundingBoxCoordinates :: Lens' BoundingBox [[[Double]]] Source #

boundingBoxType :: Lens' BoundingBox Text Source #

# `Contributor`

data Contributor :: * #

Instances

Eq Contributor |
Methods (==) :: Contributor -> Contributor -> Bool # (/=) :: Contributor -> Contributor -> Bool #
Data Contributor |

Methods

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

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

toConstr :: Contributor -> Constr #

dataTypeOf :: Contributor -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Contributor |
Methods showsPrec :: Int -> Contributor -> ShowS # show :: Contributor -> String # showList :: [Contributor] -> ShowS #
Generic Contributor |
Associated Types type Rep Contributor :: * -> * # Methods from :: Contributor -> Rep Contributor x # to :: Rep Contributor x -> Contributor #
ToJSON Contributor |
Methods toJSON :: Contributor -> Value toEncoding :: Contributor -> Encoding toJSONList :: [Contributor] -> Value toEncodingList :: [Contributor] -> Encoding
FromJSON Contributor |
Methods parseJSON :: Value -> Parser Contributor parseJSONList :: Value -> Parser [Contributor]
type Rep Contributor |

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

contributorId :: Lens' Contributor UserId Source #

contributorScreenName :: Lens' Contributor (Maybe Text) Source #

# `UploadedMedia`

data UploadedMedia :: * #

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

Instances

Eq UploadedMedia |
Methods (==) :: UploadedMedia -> UploadedMedia -> Bool # (/=) :: UploadedMedia -> UploadedMedia -> Bool #
Data UploadedMedia |

Methods

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

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

toConstr :: UploadedMedia -> Constr #

dataTypeOf :: UploadedMedia -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UploadedMedia |
Methods showsPrec :: Int -> UploadedMedia -> ShowS # show :: UploadedMedia -> String # showList :: [UploadedMedia] -> ShowS #
Generic UploadedMedia |
Associated Types type Rep UploadedMedia :: * -> * # Methods from :: UploadedMedia -> Rep UploadedMedia x # to :: Rep UploadedMedia x -> UploadedMedia #
ToJSON UploadedMedia |
Methods toJSON :: UploadedMedia -> Value toEncoding :: UploadedMedia -> Encoding toJSONList :: [UploadedMedia] -> Value toEncodingList :: [UploadedMedia] -> Encoding
FromJSON UploadedMedia |
Methods parseJSON :: Value -> Parser UploadedMedia parseJSONList :: Value -> Parser [UploadedMedia]
type Rep UploadedMedia |

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

uploadedMediaId :: Lens' UploadedMedia Integer Source #

uploadedMediaSize :: Lens' UploadedMedia Integer Source #

uploadedMediaImage :: Lens' UploadedMedia ImageSizeType Source #

# `ImageSizeType`

data ImageSizeType :: * #

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

Instances

Eq ImageSizeType |
Methods (==) :: ImageSizeType -> ImageSizeType -> Bool # (/=) :: ImageSizeType -> ImageSizeType -> Bool #
Data ImageSizeType |

Methods

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

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

toConstr :: ImageSizeType -> Constr #

dataTypeOf :: ImageSizeType -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ImageSizeType |
Methods showsPrec :: Int -> ImageSizeType -> ShowS # show :: ImageSizeType -> String # showList :: [ImageSizeType] -> ShowS #
Generic ImageSizeType |
Associated Types type Rep ImageSizeType :: * -> * # Methods from :: ImageSizeType -> Rep ImageSizeType x # to :: Rep ImageSizeType x -> ImageSizeType #
ToJSON ImageSizeType |
Methods toJSON :: ImageSizeType -> Value toEncoding :: ImageSizeType -> Encoding toJSONList :: [ImageSizeType] -> Value toEncodingList :: [ImageSizeType] -> Encoding
FromJSON ImageSizeType |
Methods parseJSON :: Value -> Parser ImageSizeType parseJSONList :: Value -> Parser [ImageSizeType]
AsImageSize ImageSizeType Source # |
Methods width :: Lens' ImageSizeType Int Source # height :: Lens' ImageSizeType Int Source #
type Rep ImageSizeType |

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

imageSizeTypeWidth :: Lens' ImageSizeType Int Source #

imageSizeTypeHeight :: Lens' ImageSizeType Int Source #

imageSizeTypeType :: Lens' ImageSizeType Text Source #

# Type aliases and sum types

type UserId = Integer #

type Friends = [UserId] #

type URIString = Text #

type UserName = Text #

type StatusId = Integer #

type LanguageCode = String #

data StreamingAPI :: * #

Constructors

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

Instances

Eq StreamingAPI |
Methods (==) :: StreamingAPI -> StreamingAPI -> Bool # (/=) :: StreamingAPI -> StreamingAPI -> Bool #
Data StreamingAPI |

Methods

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

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

toConstr :: StreamingAPI -> Constr #

dataTypeOf :: StreamingAPI -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StreamingAPI |
Methods showsPrec :: Int -> StreamingAPI -> ShowS # show :: StreamingAPI -> String # showList :: [StreamingAPI] -> ShowS #
Generic StreamingAPI |
Associated Types type Rep StreamingAPI :: * -> * # Methods from :: StreamingAPI -> Rep StreamingAPI x # to :: Rep StreamingAPI x -> StreamingAPI #
ToJSON StreamingAPI |
Methods toJSON :: StreamingAPI -> Value toEncoding :: StreamingAPI -> Encoding toJSONList :: [StreamingAPI] -> Value toEncodingList :: [StreamingAPI] -> Encoding
FromJSON StreamingAPI |
Methods parseJSON :: Value -> Parser StreamingAPI parseJSONList :: Value -> Parser [StreamingAPI]
type Rep StreamingAPI |

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

data EventTarget :: * #

Constructors

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

Instances

Eq EventTarget |
Methods (==) :: EventTarget -> EventTarget -> Bool # (/=) :: EventTarget -> EventTarget -> Bool #
Data EventTarget |

Methods

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

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

toConstr :: EventTarget -> Constr #

dataTypeOf :: EventTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventTarget |
Methods showsPrec :: Int -> EventTarget -> ShowS # show :: EventTarget -> String # showList :: [EventTarget] -> ShowS #
Generic EventTarget |
Associated Types type Rep EventTarget :: * -> * # Methods from :: EventTarget -> Rep EventTarget x # to :: Rep EventTarget x -> EventTarget #
ToJSON EventTarget |
Methods toJSON :: EventTarget -> Value toEncoding :: EventTarget -> Encoding toJSONList :: [EventTarget] -> Value toEncodingList :: [EventTarget] -> Encoding
FromJSON EventTarget |
Methods parseJSON :: Value -> Parser EventTarget parseJSONList :: Value -> Parser [EventTarget]
type Rep EventTarget |

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

type EntityIndices = [Int] #

The character positions the Entity was extracted from

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

# `StreamingAPI`

_SStatus :: Prism' StreamingAPI Status Source #

_SRetweetedStatus :: Prism' StreamingAPI RetweetedStatus Source #

_SEvent :: Prism' StreamingAPI Event Source #

_SDelete :: Prism' StreamingAPI Delete Source #

_SFriends :: Prism' StreamingAPI Friends Source #

_SDirectMessage :: Prism' StreamingAPI DirectMessage Source #

_SUnknown :: Prism' StreamingAPI Value Source #

# `EventTarget`

_ETUser :: Prism' EventTarget User Source #

_ETStatus :: Prism' EventTarget Status Source #

_ETList :: Prism' EventTarget List Source #

_ETUnknown :: Prism' EventTarget Value Source #