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

Safe Haskell | Safe-Inferred
Language | Haskell2010

Web.Twitter.Types.Lens

Contents

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

Synopsis

- class AsStatus s where
  - status_id :: Lens' s StatusId
  - text :: Lens' s Text
  - user :: Lens' s User
  - geolocation :: Lens' s (Maybe Coordinates)
- class AsUser u where
  - user_id :: Lens' u UserId
  - name :: Lens' u UserName
  - screen_name :: Lens' u Text
- class HasCreatedAt a where
  - created_at :: Lens' a UTCTime
- class AsImageSize a where
  - width :: Lens' a Int
  - height :: Lens' a Int
- 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 ExtendedEntities)
- 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)
- statusDisplayTextRange :: Lens' Status (Maybe DisplayTextRange)
- 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
- dmId :: Lens' DirectMessage EventId
- dmCreatedTimestamp :: Lens' DirectMessage UTCTime
- dmTargetRecipientId :: Lens' DirectMessage UserId
- dmSenderId :: Lens' DirectMessage UserId
- dmText :: Lens' DirectMessage Text
- dmEntities :: Lens' DirectMessage Entities
- 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
- userEmail :: Lens' User (Maybe Text)
- 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 (Maybe 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 ExtendedEntities
- exeMedia :: Iso' ExtendedEntities [Entity ExtendedEntity]
- data ExtendedEntity
- exeID :: Lens' ExtendedEntity StatusId
- exeMediaUrl :: Lens' ExtendedEntity URIString
- exeMediaUrlHttps :: Lens' ExtendedEntity URIString
- exeURL :: Lens' ExtendedEntity URLEntity
- exeSizes :: Lens' ExtendedEntity (HashMap Text MediaSize)
- exeType :: Lens' ExtendedEntity Text
- exeVideoInfo :: Lens' ExtendedEntity (Maybe VideoInfo)
- exeDurationMillis :: Lens' ExtendedEntity (Maybe Double)
- exeExtAltText :: Lens' ExtendedEntity (Maybe String)
- 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
- data DisplayTextRange
- displayTextRangeStart :: Lens' DisplayTextRange Int
- displayTextRangeEnd :: Lens' DisplayTextRange Int
- 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 #

Methods

status_id :: Lens' s StatusId Source #

text :: Lens' s Text Source #

user :: Lens' s User Source #

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

#### Instances

Instances details

AsStatus RetweetedStatus Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods status_id :: Lens' RetweetedStatus StatusId Source # text :: Lens' RetweetedStatus Text Source # user :: Lens' RetweetedStatus User Source # geolocation :: Lens' RetweetedStatus (Maybe Coordinates) Source #
AsStatus SearchStatus Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods status_id :: Lens' SearchStatus StatusId Source # text :: Lens' SearchStatus Text Source # user :: Lens' SearchStatus User Source # geolocation :: Lens' SearchStatus (Maybe Coordinates) Source #
AsStatus Status Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods status_id :: Lens' Status StatusId Source # text :: Lens' Status Text Source # user :: Lens' Status User Source # geolocation :: Lens' Status (Maybe Coordinates) Source #

class AsUser u where Source #

Methods

user_id :: Lens' u UserId Source #

name :: Lens' u UserName Source #

screen_name :: Lens' u Text Source #

#### Instances

Instances details

AsUser User Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods user_id :: Lens' User UserId Source # name :: Lens' User UserName Source # screen_name :: Lens' User Text Source #
AsUser UserEntity Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods user_id :: Lens' UserEntity UserId Source # name :: Lens' UserEntity UserName Source # screen_name :: Lens' UserEntity Text Source #
AsUser (Entity UserEntity) Source # |
Instance details Defined in Web.Twitter.Types.Lens 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 #

Methods

created_at :: Lens' a UTCTime Source #

#### Instances

Instances details

HasCreatedAt DirectMessage Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' DirectMessage UTCTime Source #
HasCreatedAt RetweetedStatus Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' RetweetedStatus UTCTime Source #
HasCreatedAt SearchStatus Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' SearchStatus UTCTime Source #
HasCreatedAt Status Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' Status UTCTime Source #
HasCreatedAt User Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' User UTCTime Source #

class AsImageSize a where Source #

Methods

width :: Lens' a Int Source #

height :: Lens' a Int Source #

#### Instances

Instances details

AsImageSize ImageSizeType Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods width :: Lens' ImageSizeType Int Source # height :: Lens' ImageSizeType Int Source #
AsImageSize MediaSize Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods width :: Lens' MediaSize Int Source # height :: Lens' MediaSize Int Source #

# `Status`

data Status Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Status -> Constr Source #

dataTypeOf :: Status -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic Status |
Instance details Defined in Web.Twitter.Types Associated Types type Rep Status :: Type -> Type Source # Methods from :: Status -> Rep Status x Source # to :: Rep Status x -> Status Source #
Show Status |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Status -> ShowS Source # show :: Status -> String Source # showList :: [Status] -> ShowS Source #
Eq Status |
Instance details Defined in Web.Twitter.Types Methods (==) :: Status -> Status -> Bool Source # (/=) :: Status -> Status -> Bool Source #
AsStatus Status Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods status_id :: Lens' Status StatusId Source # text :: Lens' Status Text Source # user :: Lens' Status User Source # geolocation :: Lens' Status (Maybe Coordinates) Source #
HasCreatedAt Status Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' Status UTCTime Source #
type Rep Status |

Instance details

Defined in Web.Twitter.Types

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

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 ExtendedEntities) 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 #

statusDisplayTextRange :: Lens' Status (Maybe DisplayTextRange) Source #

# `SearchResult`

data SearchResult body Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: SearchResult body -> Constr Source #

dataTypeOf :: SearchResult body -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

type Rep (SearchResult body) = D1 ('MetaData "SearchResult" "Web.Twitter.Types" "twitter-types-0.11.0-KPX7ZgUlQ1P7kImnrcx3xh" 'False) (C1 ('MetaCons "SearchResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "searchResultStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 body) :*: S1 ('MetaSel ('Just "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 Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: SearchStatus -> Constr Source #

dataTypeOf :: SearchStatus -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic SearchStatus |
Instance details Defined in Web.Twitter.Types Associated Types type Rep SearchStatus :: Type -> Type Source # Methods from :: SearchStatus -> Rep SearchStatus x Source # to :: Rep SearchStatus x -> SearchStatus Source #
Show SearchStatus |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> SearchStatus -> ShowS Source # show :: SearchStatus -> String Source # showList :: [SearchStatus] -> ShowS Source #
Eq SearchStatus |
Instance details Defined in Web.Twitter.Types Methods (==) :: SearchStatus -> SearchStatus -> Bool Source # (/=) :: SearchStatus -> SearchStatus -> Bool Source #
AsStatus SearchStatus Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods status_id :: Lens' SearchStatus StatusId Source # text :: Lens' SearchStatus Text Source # user :: Lens' SearchStatus User Source # geolocation :: Lens' SearchStatus (Maybe Coordinates) Source #
HasCreatedAt SearchStatus Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' SearchStatus UTCTime Source #
type Rep SearchStatus |

Instance details

Defined in Web.Twitter.Types

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

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 Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: SearchMetadata -> Constr Source #

dataTypeOf :: SearchMetadata -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

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 Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: RetweetedStatus -> Constr Source #

dataTypeOf :: RetweetedStatus -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic RetweetedStatus |
Instance details Defined in Web.Twitter.Types Associated Types type Rep RetweetedStatus :: Type -> Type Source # Methods from :: RetweetedStatus -> Rep RetweetedStatus x Source # to :: Rep RetweetedStatus x -> RetweetedStatus Source #
Show RetweetedStatus |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> RetweetedStatus -> ShowS Source # show :: RetweetedStatus -> String Source # showList :: [RetweetedStatus] -> ShowS Source #
Eq RetweetedStatus |
Instance details Defined in Web.Twitter.Types Methods (==) :: RetweetedStatus -> RetweetedStatus -> Bool Source # (/=) :: RetweetedStatus -> RetweetedStatus -> Bool Source #
AsStatus RetweetedStatus Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods status_id :: Lens' RetweetedStatus StatusId Source # text :: Lens' RetweetedStatus Text Source # user :: Lens' RetweetedStatus User Source # geolocation :: Lens' RetweetedStatus (Maybe Coordinates) Source #
HasCreatedAt RetweetedStatus Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' RetweetedStatus UTCTime Source #
type Rep RetweetedStatus |

Instance details

Defined in Web.Twitter.Types

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

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 Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: DirectMessage -> Constr Source #

dataTypeOf :: DirectMessage -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic DirectMessage |
Instance details Defined in Web.Twitter.Types Associated Types type Rep DirectMessage :: Type -> Type Source # Methods from :: DirectMessage -> Rep DirectMessage x Source # to :: Rep DirectMessage x -> DirectMessage Source #
Show DirectMessage |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> DirectMessage -> ShowS Source # show :: DirectMessage -> String Source # showList :: [DirectMessage] -> ShowS Source #
Eq DirectMessage |
Instance details Defined in Web.Twitter.Types Methods (==) :: DirectMessage -> DirectMessage -> Bool Source # (/=) :: DirectMessage -> DirectMessage -> Bool Source #
HasCreatedAt DirectMessage Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' DirectMessage UTCTime Source #
type Rep DirectMessage |

Instance details

Defined in Web.Twitter.Types

type Rep DirectMessage = D1 ('MetaData "DirectMessage" "Web.Twitter.Types" "twitter-types-0.11.0-KPX7ZgUlQ1P7kImnrcx3xh" 'False) (C1 ('MetaCons "DirectMessage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dmId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EventId) :*: (S1 ('MetaSel ('Just "dmCreatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "dmTargetRecipientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId))) :*: (S1 ('MetaSel ('Just "dmSenderId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: (S1 ('MetaSel ('Just "dmText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "dmEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Entities)))))

dmId :: Lens' DirectMessage EventId Source #

dmCreatedTimestamp :: Lens' DirectMessage UTCTime Source #

dmTargetRecipientId :: Lens' DirectMessage UserId Source #

dmSenderId :: Lens' DirectMessage UserId Source #

dmText :: Lens' DirectMessage Text Source #

dmEntities :: Lens' DirectMessage Entities Source #

# `Event`

data Event Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Event -> Constr Source #

dataTypeOf :: Event -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

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 Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Delete -> Constr Source #

dataTypeOf :: Delete -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

delId :: Lens' Delete StatusId Source #

delUserId :: Lens' Delete UserId Source #

# `User`

data User Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: User -> Constr Source #

dataTypeOf :: User -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic User |
Instance details Defined in Web.Twitter.Types Associated Types type Rep User :: Type -> Type Source # Methods from :: User -> Rep User x Source # to :: Rep User x -> User Source #
Show User |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> User -> ShowS Source # show :: User -> String Source # showList :: [User] -> ShowS Source #
Eq User |
Instance details Defined in Web.Twitter.Types Methods (==) :: User -> User -> Bool Source # (/=) :: User -> User -> Bool Source #
AsUser User Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods user_id :: Lens' User UserId Source # name :: Lens' User UserName Source # screen_name :: Lens' User Text Source #
HasCreatedAt User Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods created_at :: Lens' User UTCTime Source #
type Rep User |

Instance details

Defined in Web.Twitter.Types

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

userContributorsEnabled :: Lens' User Bool Source #

userCreatedAt :: Lens' User UTCTime Source #

userDefaultProfile :: Lens' User Bool Source #

userDefaultProfileImage :: Lens' User Bool Source #

userEmail :: Lens' User (Maybe Text) 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 (Maybe 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 Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: List -> Constr Source #

dataTypeOf :: List -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

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 Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Entities -> Constr Source #

dataTypeOf :: Entities -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

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

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

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

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

# `ExtendedEntities`

data ExtendedEntities Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: ExtendedEntities -> Constr Source #

dataTypeOf :: ExtendedEntities -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

exeMedia :: Iso' ExtendedEntities [Entity ExtendedEntity] Source #

# `ExtendedEntity`

data ExtendedEntity Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: ExtendedEntity -> Constr Source #

dataTypeOf :: ExtendedEntity -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

exeID :: Lens' ExtendedEntity StatusId Source #

exeMediaUrl :: Lens' ExtendedEntity URIString Source #

exeMediaUrlHttps :: Lens' ExtendedEntity URIString Source #

exeURL :: Lens' ExtendedEntity URLEntity Source #

exeSizes :: Lens' ExtendedEntity (HashMap Text MediaSize) Source #

exeType :: Lens' ExtendedEntity Text Source #

exeVideoInfo :: Lens' ExtendedEntity (Maybe VideoInfo) Source #

exeDurationMillis :: Lens' ExtendedEntity (Maybe Double) Source #

exeExtAltText :: Lens' ExtendedEntity (Maybe String) Source #

# `Entity`

data Entity a Source #

#### Instances

Instances details

Generic1 Entity |
Instance details Defined in Web.Twitter.Types Associated Types type Rep1 Entity :: k -> Type Source # Methods from1 :: forall (a :: k). Entity a -> Rep1 Entity a Source # to1 :: forall (a :: k). Rep1 Entity a -> Entity a Source #
FromJSON a => FromJSON (Entity a) |
Instance details Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser (Entity a) parseJSONList :: Value -> Parser [Entity a]
ToJSON a => ToJSON (Entity a) |
Instance details Defined in Web.Twitter.Types Methods toJSON :: Entity a -> Value toEncoding :: Entity a -> Encoding toJSONList :: [Entity a] -> Value toEncodingList :: [Entity a] -> Encoding
Data a => Data (Entity a) |

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Entity a -> Constr Source #

dataTypeOf :: Entity a -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic (Entity a) |
Instance details Defined in Web.Twitter.Types Associated Types type Rep (Entity a) :: Type -> Type Source # Methods from :: Entity a -> Rep (Entity a) x Source # to :: Rep (Entity a) x -> Entity a Source #
Show a => Show (Entity a) |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> Entity a -> ShowS Source # show :: Entity a -> String Source # showList :: [Entity a] -> ShowS Source #
Eq a => Eq (Entity a) |
Instance details Defined in Web.Twitter.Types Methods (==) :: Entity a -> Entity a -> Bool Source # (/=) :: Entity a -> Entity a -> Bool Source #
AsUser (Entity UserEntity) Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods user_id :: Lens' (Entity UserEntity) UserId Source # name :: Lens' (Entity UserEntity) UserName Source # screen_name :: Lens' (Entity UserEntity) Text Source #
type Rep1 Entity |

Instance details

Defined in Web.Twitter.Types

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

type Rep (Entity a) |

Instance details

Defined in Web.Twitter.Types

type Rep (Entity a) = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.11.0-KPX7ZgUlQ1P7kImnrcx3xh" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "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 Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: HashTagEntity -> Constr Source #

dataTypeOf :: HashTagEntity -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

hashTagText :: Iso' HashTagEntity Text Source #

# `UserEntity`

data UserEntity Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: UserEntity -> Constr Source #

dataTypeOf :: UserEntity -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic UserEntity |
Instance details Defined in Web.Twitter.Types Associated Types type Rep UserEntity :: Type -> Type Source # Methods from :: UserEntity -> Rep UserEntity x Source # to :: Rep UserEntity x -> UserEntity Source #
Show UserEntity |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> UserEntity -> ShowS Source # show :: UserEntity -> String Source # showList :: [UserEntity] -> ShowS Source #
Eq UserEntity |
Instance details Defined in Web.Twitter.Types Methods (==) :: UserEntity -> UserEntity -> Bool Source # (/=) :: UserEntity -> UserEntity -> Bool Source #
AsUser UserEntity Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods user_id :: Lens' UserEntity UserId Source # name :: Lens' UserEntity UserName Source # screen_name :: Lens' UserEntity Text Source #
AsUser (Entity UserEntity) Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods user_id :: Lens' (Entity UserEntity) UserId Source # name :: Lens' (Entity UserEntity) UserName Source # screen_name :: Lens' (Entity UserEntity) Text Source #
type Rep UserEntity |

Instance details

Defined in Web.Twitter.Types

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

userEntityUserId :: Lens' UserEntity UserId Source #

userEntityUserName :: Lens' UserEntity UserName Source #

userEntityUserScreenName :: Lens' UserEntity Text Source #

# `URLEntity`

data URLEntity Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: URLEntity -> Constr Source #

dataTypeOf :: URLEntity -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

ueURL :: Lens' URLEntity URIString Source #

ueExpanded :: Lens' URLEntity URIString Source #

ueDisplay :: Lens' URLEntity Text Source #

# `MediaEntity`

data MediaEntity Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: MediaEntity -> Constr Source #

dataTypeOf :: MediaEntity -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

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 Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: MediaSize -> Constr Source #

dataTypeOf :: MediaSize -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic MediaSize |
Instance details Defined in Web.Twitter.Types Associated Types type Rep MediaSize :: Type -> Type Source # Methods from :: MediaSize -> Rep MediaSize x Source # to :: Rep MediaSize x -> MediaSize Source #
Show MediaSize |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> MediaSize -> ShowS Source # show :: MediaSize -> String Source # showList :: [MediaSize] -> ShowS Source #
Eq MediaSize |
Instance details Defined in Web.Twitter.Types Methods (==) :: MediaSize -> MediaSize -> Bool Source # (/=) :: MediaSize -> MediaSize -> Bool Source #
AsImageSize MediaSize Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods width :: Lens' MediaSize Int Source # height :: Lens' MediaSize Int Source #
type Rep MediaSize |

Instance details

Defined in Web.Twitter.Types

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

msWidth :: Lens' MediaSize Int Source #

msHeight :: Lens' MediaSize Int Source #

msResize :: Lens' MediaSize Text Source #

# `Coordinates`

data Coordinates Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Coordinates -> Constr Source #

dataTypeOf :: Coordinates -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

coordinates :: Lens' Coordinates [Double] Source #

coordinatesType :: Lens' Coordinates Text Source #

# `Place`

data Place Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Place -> Constr Source #

dataTypeOf :: Place -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

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 Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: BoundingBox -> Constr Source #

dataTypeOf :: BoundingBox -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

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

boundingBoxType :: Lens' BoundingBox Text Source #

# `Contributor`

data Contributor Source #

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Contributor -> Constr Source #

dataTypeOf :: Contributor -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

contributorId :: Lens' Contributor UserId Source #

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

# `UploadedMedia`

data UploadedMedia Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: UploadedMedia -> Constr Source #

dataTypeOf :: UploadedMedia -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

uploadedMediaId :: Lens' UploadedMedia Integer Source #

uploadedMediaSize :: Lens' UploadedMedia Integer Source #

uploadedMediaImage :: Lens' UploadedMedia ImageSizeType Source #

# `ImageSizeType`

data ImageSizeType Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: ImageSizeType -> Constr Source #

dataTypeOf :: ImageSizeType -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic ImageSizeType |
Instance details Defined in Web.Twitter.Types Associated Types type Rep ImageSizeType :: Type -> Type Source # Methods from :: ImageSizeType -> Rep ImageSizeType x Source # to :: Rep ImageSizeType x -> ImageSizeType Source #
Show ImageSizeType |
Instance details Defined in Web.Twitter.Types Methods showsPrec :: Int -> ImageSizeType -> ShowS Source # show :: ImageSizeType -> String Source # showList :: [ImageSizeType] -> ShowS Source #
Eq ImageSizeType |
Instance details Defined in Web.Twitter.Types Methods (==) :: ImageSizeType -> ImageSizeType -> Bool Source # (/=) :: ImageSizeType -> ImageSizeType -> Bool Source #
AsImageSize ImageSizeType Source # |
Instance details Defined in Web.Twitter.Types.Lens Methods width :: Lens' ImageSizeType Int Source # height :: Lens' ImageSizeType Int Source #
type Rep ImageSizeType |

Instance details

Defined in Web.Twitter.Types

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

imageSizeTypeWidth :: Lens' ImageSizeType Int Source #

imageSizeTypeHeight :: Lens' ImageSizeType Int Source #

imageSizeTypeType :: Lens' ImageSizeType Text Source #

data DisplayTextRange Source #

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: DisplayTextRange -> Constr Source #

dataTypeOf :: DisplayTextRange -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

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

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

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

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

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

type Rep DisplayTextRange |

Instance details

Defined in Web.Twitter.Types

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

displayTextRangeStart :: Lens' DisplayTextRange Int Source #

displayTextRangeEnd :: Lens' DisplayTextRange Int Source #

# Type aliases and sum types

type UserId = Integer Source #

type Friends = [UserId] Source #

type URIString = Text Source #

type UserName = Text Source #

type StatusId = Integer Source #

type LanguageCode = String Source #

data StreamingAPI Source #

Constructors

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: StreamingAPI -> Constr Source #

dataTypeOf :: StreamingAPI -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

data EventTarget Source #

Constructors

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

#### Instances

Instances details

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

Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: EventTarget -> Constr Source #

dataTypeOf :: EventTarget -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Instance details

Defined in Web.Twitter.Types

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

type EntityIndices = [Int] Source #

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 #