| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.Twitter.Types.Lens
Contents
- Type classes
StatusSearchResultSearchStatusSearchMetadataRetweetedStatusDirectMessageEventDeleteUserListEntitiesExtendedEntitiesExtendedEntityEntityHashTagEntityUserEntityURLEntityMediaEntityMediaSizeCoordinatesPlaceBoundingBoxContributorUploadedMediaImageSizeType- Type aliases and sum types
StreamingAPIEventTarget
Synopsis
- class AsStatus s where
- class AsUser u where
- class HasCreatedAt a where
- created_at :: Lens' a UTCTime
- class AsImageSize a where
- data Status
- statusContributors :: Lens' Status (Maybe [Contributor])
- statusCoordinates :: Lens' Status (Maybe Coordinates)
- statusCreatedAt :: Lens' Status UTCTime
- statusCurrentUserRetweet :: Lens' Status (Maybe StatusId)
- statusEntities :: Lens' Status (Maybe Entities)
- statusExtendedEntities :: Lens' Status (Maybe 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 body1 body2 f. Functor f => (body1 -> f body2) -> SearchResult body1 -> f (SearchResult body2)
- searchResultSearchMetadata :: forall body f. Functor f => (SearchMetadata -> f SearchMetadata) -> SearchResult body -> f (SearchResult body)
- 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 a1 a2 f. Functor f => (a1 -> f a2) -> Entity a1 -> f (Entity a2)
- entityIndices :: forall a f. Functor f => (EntityIndices -> f EntityIndices) -> Entity a -> f (Entity a)
- 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
- data EventTarget
- 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 #
Instances
| AsStatus RetweetedStatus Source # | |
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 # | |
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 # | |
Methods
user_id :: Lens' u UserId Source #
name :: Lens' u UserName Source #
screen_name :: Lens' u Text Source #
Instances
| AsUser User Source # | |
| AsUser UserEntity Source # | |
Defined in Web.Twitter.Types.Lens | |
| AsUser (Entity UserEntity) Source # | |
Defined in Web.Twitter.Types.Lens | |
class HasCreatedAt a where Source #
Methods
created_at :: Lens' a UTCTime Source #
Instances
| HasCreatedAt DirectMessage Source # | |
Defined in Web.Twitter.Types.Lens Methods | |
| HasCreatedAt RetweetedStatus Source # | |
Defined in Web.Twitter.Types.Lens Methods | |
| HasCreatedAt SearchStatus Source # | |
Defined in Web.Twitter.Types.Lens Methods | |
| HasCreatedAt Status Source # | |
Defined in Web.Twitter.Types.Lens | |
| HasCreatedAt User Source # | |
Defined in Web.Twitter.Types.Lens | |
class AsImageSize a where Source #
Instances
Status
This type represents a Twitter tweet structure. See https://dev.twitter.com/docs/platform-objects/tweets.
Instances
statusContributors :: Lens' Status (Maybe [Contributor]) Source #
SearchResult
data SearchResult body Source #
Instances
| FromJSON body => FromJSON (SearchResult body) | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser (SearchResult body) parseJSONList :: Value -> Parser [SearchResult body] omittedField :: Maybe (SearchResult body) | |||||
| ToJSON body => ToJSON (SearchResult body) | |||||
Defined in Web.Twitter.Types Methods toJSON :: SearchResult body -> Value toEncoding :: SearchResult body -> Encoding toJSONList :: [SearchResult body] -> Value toEncodingList :: [SearchResult body] -> Encoding omitField :: SearchResult body -> Bool | |||||
| Data body => Data (SearchResult body) | |||||
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) | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: SearchResult body -> Rep (SearchResult body) x Source # to :: Rep (SearchResult body) x -> SearchResult body Source # | |||||
| Show body => Show (SearchResult body) | |||||
Defined in Web.Twitter.Types | |||||
| Eq body => Eq (SearchResult body) | |||||
Defined in Web.Twitter.Types Methods (==) :: SearchResult body -> SearchResult body -> Bool Source # (/=) :: SearchResult body -> SearchResult body -> Bool Source # | |||||
| type Rep (SearchResult body) | |||||
Defined in Web.Twitter.Types type Rep (SearchResult body) = D1 ('MetaData "SearchResult" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "searchResultStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 body) :*: S1 ('MetaSel ('Just "searchResultSearchMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SearchMetadata))) | |||||
searchResultStatuses :: forall body1 body2 f. Functor f => (body1 -> f body2) -> SearchResult body1 -> f (SearchResult body2) Source #
searchResultSearchMetadata :: forall body f. Functor f => (SearchMetadata -> f SearchMetadata) -> SearchResult body -> f (SearchResult body) Source #
SearchStatus
data SearchStatus Source #
Instances
| FromJSON SearchStatus | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON SearchStatus | |||||
Defined in Web.Twitter.Types Methods toJSON :: SearchStatus -> Value toEncoding :: SearchStatus -> Encoding toJSONList :: [SearchStatus] -> Value toEncodingList :: [SearchStatus] -> Encoding omitField :: SearchStatus -> Bool | |||||
| Data SearchStatus | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: SearchStatus -> Rep SearchStatus x Source # to :: Rep SearchStatus x -> SearchStatus Source # | |||||
| Show SearchStatus | |||||
Defined in Web.Twitter.Types | |||||
| Eq SearchStatus | |||||
Defined in Web.Twitter.Types Methods (==) :: SearchStatus -> SearchStatus -> Bool Source # (/=) :: SearchStatus -> SearchStatus -> Bool Source # | |||||
| AsStatus SearchStatus Source # | |||||
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 # | |||||
Defined in Web.Twitter.Types.Lens Methods | |||||
| type Rep SearchStatus | |||||
Defined in Web.Twitter.Types type Rep SearchStatus = D1 ('MetaData "SearchStatus" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchStatus" 'PrefixI 'True) ((S1 ('MetaSel ('Just "searchStatusCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "searchStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchStatusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "searchStatusSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "searchStatusUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "searchStatusCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates)))))) | |||||
SearchMetadata
data SearchMetadata Source #
Instances
| FromJSON SearchMetadata | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON SearchMetadata | |||||
Defined in Web.Twitter.Types Methods toJSON :: SearchMetadata -> Value toEncoding :: SearchMetadata -> Encoding toJSONList :: [SearchMetadata] -> Value toEncodingList :: [SearchMetadata] -> Encoding omitField :: SearchMetadata -> Bool | |||||
| Data SearchMetadata | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: SearchMetadata -> Rep SearchMetadata x Source # to :: Rep SearchMetadata x -> SearchMetadata Source # | |||||
| Show SearchMetadata | |||||
Defined in Web.Twitter.Types | |||||
| Eq SearchMetadata | |||||
Defined in Web.Twitter.Types Methods (==) :: SearchMetadata -> SearchMetadata -> Bool Source # (/=) :: SearchMetadata -> SearchMetadata -> Bool Source # | |||||
| type Rep SearchMetadata | |||||
Defined in Web.Twitter.Types type Rep SearchMetadata = D1 ('MetaData "SearchMetadata" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchMetadata" 'PrefixI 'True) (((S1 ('MetaSel ('Just "searchMetadataMaxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchMetadataSinceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "searchMetadataRefreshURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "searchMetadataNextResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)))) :*: ((S1 ('MetaSel ('Just "searchMetadataCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "searchMetadataCompletedIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Float))) :*: (S1 ('MetaSel ('Just "searchMetadataSinceIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "searchMetadataQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "searchMetadataMaxIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))))) | |||||
RetweetedStatus
data RetweetedStatus Source #
Instances
| FromJSON RetweetedStatus | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser RetweetedStatus parseJSONList :: Value -> Parser [RetweetedStatus] | |||||
| ToJSON RetweetedStatus | |||||
Defined in Web.Twitter.Types Methods toJSON :: RetweetedStatus -> Value toEncoding :: RetweetedStatus -> Encoding toJSONList :: [RetweetedStatus] -> Value toEncodingList :: [RetweetedStatus] -> Encoding omitField :: RetweetedStatus -> Bool | |||||
| Data RetweetedStatus | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: RetweetedStatus -> Rep RetweetedStatus x Source # to :: Rep RetweetedStatus x -> RetweetedStatus Source # | |||||
| Show RetweetedStatus | |||||
Defined in Web.Twitter.Types | |||||
| Eq RetweetedStatus | |||||
Defined in Web.Twitter.Types Methods (==) :: RetweetedStatus -> RetweetedStatus -> Bool Source # (/=) :: RetweetedStatus -> RetweetedStatus -> Bool Source # | |||||
| AsStatus RetweetedStatus Source # | |||||
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 # | |||||
Defined in Web.Twitter.Types.Lens Methods | |||||
| type Rep RetweetedStatus | |||||
Defined in Web.Twitter.Types type Rep RetweetedStatus = D1 ('MetaData "RetweetedStatus" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "RetweetedStatus" 'PrefixI 'True) (((S1 ('MetaSel ('Just "rsCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "rsId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "rsText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "rsSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "rsTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "rsEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Entities))) :*: (S1 ('MetaSel ('Just "rsUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: (S1 ('MetaSel ('Just "rsRetweetedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status) :*: S1 ('MetaSel ('Just "rsCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates))))))) | |||||
DirectMessage
data DirectMessage Source #
Instances
| FromJSON DirectMessage | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON DirectMessage | |||||
Defined in Web.Twitter.Types Methods toJSON :: DirectMessage -> Value toEncoding :: DirectMessage -> Encoding toJSONList :: [DirectMessage] -> Value toEncodingList :: [DirectMessage] -> Encoding omitField :: DirectMessage -> Bool | |||||
| Data DirectMessage | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: DirectMessage -> Rep DirectMessage x Source # to :: Rep DirectMessage x -> DirectMessage Source # | |||||
| Show DirectMessage | |||||
Defined in Web.Twitter.Types | |||||
| Eq DirectMessage | |||||
Defined in Web.Twitter.Types Methods (==) :: DirectMessage -> DirectMessage -> Bool Source # (/=) :: DirectMessage -> DirectMessage -> Bool Source # | |||||
| HasCreatedAt DirectMessage Source # | |||||
Defined in Web.Twitter.Types.Lens Methods | |||||
| type Rep DirectMessage | |||||
Defined in Web.Twitter.Types type Rep DirectMessage = D1 ('MetaData "DirectMessage" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" '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 #
Event
Instances
| FromJSON Event | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON Event | |||||
Defined in Web.Twitter.Types Methods toEncoding :: Event -> Encoding toJSONList :: [Event] -> Value toEncodingList :: [Event] -> Encoding | |||||
| Data Event | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Event | |||||
| Eq Event | |||||
| type Rep Event | |||||
Defined in Web.Twitter.Types type Rep Event = D1 ('MetaData "Event" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Event" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "evTargetObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe EventTarget))) :*: (S1 ('MetaSel ('Just "evEvent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "evTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EventTarget) :*: S1 ('MetaSel ('Just "evSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EventTarget))))) | |||||
Delete
Instances
| FromJSON Delete | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON Delete | |||||
Defined in Web.Twitter.Types Methods toEncoding :: Delete -> Encoding toJSONList :: [Delete] -> Value toEncodingList :: [Delete] -> Encoding | |||||
| Data Delete | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Delete | |||||
| Eq Delete | |||||
| type Rep Delete | |||||
Defined in Web.Twitter.Types type Rep Delete = D1 ('MetaData "Delete" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Delete" 'PrefixI 'True) (S1 ('MetaSel ('Just "delId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "delUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId))) | |||||
User
This type represents the Twitter user. See https://dev.twitter.com/docs/platform-objects/users.
Instances
| FromJSON User | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON User | |||||
Defined in Web.Twitter.Types Methods toEncoding :: User -> Encoding toJSONList :: [User] -> Value toEncodingList :: [User] -> Encoding | |||||
| Data User | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show User | |||||
| Eq User | |||||
| AsUser User Source # | |||||
| HasCreatedAt User Source # | |||||
Defined in Web.Twitter.Types.Lens | |||||
| type Rep User | |||||
Defined in Web.Twitter.Types type Rep User = D1 ('MetaData "User" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "User" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "userContributorsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)) :*: (S1 ('MetaSel ('Just "userDefaultProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "userDefaultProfileImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "userEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userFavoritesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "userFollowRequestSent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "userFollowing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userFollowersCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))) :*: (((S1 ('MetaSel ('Just "userFriendsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "userGeoEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: (S1 ('MetaSel ('Just "userIsTranslator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userLang") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LanguageCode))))) :*: ((S1 ('MetaSel ('Just "userListedCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "userLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userNotifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userProfileBackgroundColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))) :*: ((((S1 ('MetaSel ('Just "userProfileBackgroundImageURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userProfileBackgroundImageURLHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString))) :*: (S1 ('MetaSel ('Just "userProfileBackgroundTile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "userProfileBannerURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userProfileImageURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString))))) :*: ((S1 ('MetaSel ('Just "userProfileImageURLHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userProfileLinkColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "userProfileSidebarBorderColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userProfileSidebarFillColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "userProfileTextColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) :*: (((S1 ('MetaSel ('Just "userProfileUseBackgroundImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userProtected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "userScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userShowAllInlineMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userStatusesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))) :*: ((S1 ('MetaSel ('Just "userTimeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 ('MetaSel ('Just "userUtcOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "userVerified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "userWithheldInCountries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "userWithheldScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))))) | |||||
List
Instances
| FromJSON List | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON List | |||||
Defined in Web.Twitter.Types Methods toEncoding :: List -> Encoding toJSONList :: [List] -> Value toEncodingList :: [List] -> Encoding | |||||
| Data List | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show List | |||||
| Eq List | |||||
| type Rep List | |||||
Defined in Web.Twitter.Types type Rep List = D1 ('MetaData "List" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "List" 'PrefixI 'True) ((S1 ('MetaSel ('Just "listId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "listName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "listFullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "listMemberCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "listSubscriberCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "listMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "listUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User))))) | |||||
Entities
Entity handling. See https://dev.twitter.com/docs/platform-objects/entities.
Instances
| FromJSON Entities | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON Entities | |||||
Defined in Web.Twitter.Types Methods toEncoding :: Entities -> Encoding toJSONList :: [Entities] -> Value toEncodingList :: [Entities] -> Encoding | |||||
| Data Entities | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Entities | |||||
| Eq Entities | |||||
| type Rep Entities | |||||
Defined in Web.Twitter.Types type Rep Entities = D1 ('MetaData "Entities" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enHashTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity HashTagEntity]) :*: S1 ('MetaSel ('Just "enUserMentions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity UserEntity])) :*: (S1 ('MetaSel ('Just "enURLs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity URLEntity]) :*: S1 ('MetaSel ('Just "enMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity MediaEntity])))) | |||||
ExtendedEntities
data ExtendedEntities Source #
Instances
| FromJSON ExtendedEntities | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ExtendedEntities parseJSONList :: Value -> Parser [ExtendedEntities] | |||||
| ToJSON ExtendedEntities | |||||
Defined in Web.Twitter.Types Methods toJSON :: ExtendedEntities -> Value toEncoding :: ExtendedEntities -> Encoding toJSONList :: [ExtendedEntities] -> Value toEncodingList :: [ExtendedEntities] -> Encoding omitField :: ExtendedEntities -> Bool | |||||
| Data ExtendedEntities | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: ExtendedEntities -> Rep ExtendedEntities x Source # to :: Rep ExtendedEntities x -> ExtendedEntities Source # | |||||
| Show ExtendedEntities | |||||
Defined in Web.Twitter.Types | |||||
| Eq ExtendedEntities | |||||
Defined in Web.Twitter.Types Methods (==) :: ExtendedEntities -> ExtendedEntities -> Bool Source # (/=) :: ExtendedEntities -> ExtendedEntities -> Bool Source # | |||||
| type Rep ExtendedEntities | |||||
Defined in Web.Twitter.Types type Rep ExtendedEntities = D1 ('MetaData "ExtendedEntities" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ExtendedEntities" 'PrefixI 'True) (S1 ('MetaSel ('Just "exeMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity ExtendedEntity]))) | |||||
ExtendedEntity
data ExtendedEntity Source #
Instances
| FromJSON ExtendedEntity | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON ExtendedEntity | |||||
Defined in Web.Twitter.Types Methods toJSON :: ExtendedEntity -> Value toEncoding :: ExtendedEntity -> Encoding toJSONList :: [ExtendedEntity] -> Value toEncodingList :: [ExtendedEntity] -> Encoding omitField :: ExtendedEntity -> Bool | |||||
| Data ExtendedEntity | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: ExtendedEntity -> Rep ExtendedEntity x Source # to :: Rep ExtendedEntity x -> ExtendedEntity Source # | |||||
| Show ExtendedEntity | |||||
Defined in Web.Twitter.Types | |||||
| Eq ExtendedEntity | |||||
Defined in Web.Twitter.Types Methods (==) :: ExtendedEntity -> ExtendedEntity -> Bool Source # (/=) :: ExtendedEntity -> ExtendedEntity -> Bool Source # | |||||
| type Rep ExtendedEntity | |||||
Defined in Web.Twitter.Types type Rep ExtendedEntity = D1 ('MetaData "ExtendedEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ExtendedEntity" 'PrefixI 'True) (((S1 ('MetaSel ('Just "exeID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "exeMediaUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString)) :*: (S1 ('MetaSel ('Just "exeMediaUrlHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "exeSizes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text MediaSize)))) :*: ((S1 ('MetaSel ('Just "exeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "exeVideoInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe VideoInfo))) :*: (S1 ('MetaSel ('Just "exeDurationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "exeExtAltText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just "exeURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URLEntity)))))) | |||||
Entity
Instances
| Generic1 Entity | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| FromJSON a => FromJSON (Entity a) | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser (Entity a) parseJSONList :: Value -> Parser [Entity a] omittedField :: Maybe (Entity a) | |||||
| ToJSON a => ToJSON (Entity a) | |||||
Defined in Web.Twitter.Types Methods toEncoding :: Entity a -> Encoding toJSONList :: [Entity a] -> Value toEncodingList :: [Entity a] -> Encoding | |||||
| Data a => Data (Entity a) | |||||
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) | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show a => Show (Entity a) | |||||
| Eq a => Eq (Entity a) | |||||
| AsUser (Entity UserEntity) Source # | |||||
Defined in Web.Twitter.Types.Lens | |||||
| type Rep1 Entity | |||||
Defined in Web.Twitter.Types type Rep1 Entity = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1 :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices))) | |||||
| type Rep (Entity a) | |||||
Defined in Web.Twitter.Types type Rep (Entity a) = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices))) | |||||
entityIndices :: forall a f. Functor f => (EntityIndices -> f EntityIndices) -> Entity a -> f (Entity a) Source #
HashTagEntity
data HashTagEntity Source #
Hashtag entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-hashtags.
Instances
| FromJSON HashTagEntity | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON HashTagEntity | |||||
Defined in Web.Twitter.Types Methods toJSON :: HashTagEntity -> Value toEncoding :: HashTagEntity -> Encoding toJSONList :: [HashTagEntity] -> Value toEncodingList :: [HashTagEntity] -> Encoding omitField :: HashTagEntity -> Bool | |||||
| Data HashTagEntity | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: HashTagEntity -> Rep HashTagEntity x Source # to :: Rep HashTagEntity x -> HashTagEntity Source # | |||||
| Show HashTagEntity | |||||
Defined in Web.Twitter.Types | |||||
| Eq HashTagEntity | |||||
Defined in Web.Twitter.Types Methods (==) :: HashTagEntity -> HashTagEntity -> Bool Source # (/=) :: HashTagEntity -> HashTagEntity -> Bool Source # | |||||
| type Rep HashTagEntity | |||||
Defined in Web.Twitter.Types type Rep HashTagEntity = D1 ('MetaData "HashTagEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "HashTagEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "hashTagText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
UserEntity
data UserEntity Source #
User mention entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-usermention.
Instances
| FromJSON UserEntity | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON UserEntity | |||||
Defined in Web.Twitter.Types Methods toJSON :: UserEntity -> Value toEncoding :: UserEntity -> Encoding toJSONList :: [UserEntity] -> Value toEncodingList :: [UserEntity] -> Encoding omitField :: UserEntity -> Bool | |||||
| Data UserEntity | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show UserEntity | |||||
Defined in Web.Twitter.Types | |||||
| Eq UserEntity | |||||
Defined in Web.Twitter.Types Methods (==) :: UserEntity -> UserEntity -> Bool Source # (/=) :: UserEntity -> UserEntity -> Bool Source # | |||||
| AsUser UserEntity Source # | |||||
Defined in Web.Twitter.Types.Lens | |||||
| AsUser (Entity UserEntity) Source # | |||||
Defined in Web.Twitter.Types.Lens | |||||
| type Rep UserEntity | |||||
Defined in Web.Twitter.Types type Rep UserEntity = D1 ('MetaData "UserEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "UserEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "userEntityUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: (S1 ('MetaSel ('Just "userEntityUserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserName) :*: S1 ('MetaSel ('Just "userEntityUserScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) | |||||
URLEntity
URL entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-url.
Instances
| FromJSON URLEntity | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON URLEntity | |||||
Defined in Web.Twitter.Types Methods toEncoding :: URLEntity -> Encoding toJSONList :: [URLEntity] -> Value toEncodingList :: [URLEntity] -> Encoding | |||||
| Data URLEntity | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show URLEntity | |||||
| Eq URLEntity | |||||
| type Rep URLEntity | |||||
Defined in Web.Twitter.Types type Rep URLEntity = D1 ('MetaData "URLEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "URLEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "ueURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: (S1 ('MetaSel ('Just "ueExpanded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "ueDisplay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) | |||||
MediaEntity
data MediaEntity Source #
Instances
| FromJSON MediaEntity | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON MediaEntity | |||||
Defined in Web.Twitter.Types Methods toJSON :: MediaEntity -> Value toEncoding :: MediaEntity -> Encoding toJSONList :: [MediaEntity] -> Value toEncodingList :: [MediaEntity] -> Encoding omitField :: MediaEntity -> Bool | |||||
| Data MediaEntity | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: MediaEntity -> Rep MediaEntity x Source # to :: Rep MediaEntity x -> MediaEntity Source # | |||||
| Show MediaEntity | |||||
Defined in Web.Twitter.Types | |||||
| Eq MediaEntity | |||||
Defined in Web.Twitter.Types Methods (==) :: MediaEntity -> MediaEntity -> Bool Source # (/=) :: MediaEntity -> MediaEntity -> Bool Source # | |||||
| type Rep MediaEntity | |||||
Defined in Web.Twitter.Types type Rep MediaEntity = D1 ('MetaData "MediaEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "MediaEntity" 'PrefixI 'True) ((S1 ('MetaSel ('Just "meType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "meId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "meSizes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text MediaSize)))) :*: (S1 ('MetaSel ('Just "meMediaURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: (S1 ('MetaSel ('Just "meMediaURLHttps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "meURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URLEntity))))) | |||||
MediaSize
Size entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-size.
Instances
| FromJSON MediaSize | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON MediaSize | |||||
Defined in Web.Twitter.Types Methods toEncoding :: MediaSize -> Encoding toJSONList :: [MediaSize] -> Value toEncodingList :: [MediaSize] -> Encoding | |||||
| Data MediaSize | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show MediaSize | |||||
| Eq MediaSize | |||||
| AsImageSize MediaSize Source # | |||||
| type Rep MediaSize | |||||
Defined in Web.Twitter.Types type Rep MediaSize = D1 ('MetaData "MediaSize" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "MediaSize" 'PrefixI 'True) (S1 ('MetaSel ('Just "msWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "msHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "msResize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) | |||||
Coordinates
data Coordinates Source #
Instances
| FromJSON Coordinates | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON Coordinates | |||||
Defined in Web.Twitter.Types Methods toJSON :: Coordinates -> Value toEncoding :: Coordinates -> Encoding toJSONList :: [Coordinates] -> Value toEncodingList :: [Coordinates] -> Encoding omitField :: Coordinates -> Bool | |||||
| Data Coordinates | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: Coordinates -> Rep Coordinates x Source # to :: Rep Coordinates x -> Coordinates Source # | |||||
| Show Coordinates | |||||
Defined in Web.Twitter.Types | |||||
| Eq Coordinates | |||||
Defined in Web.Twitter.Types Methods (==) :: Coordinates -> Coordinates -> Bool Source # (/=) :: Coordinates -> Coordinates -> Bool Source # | |||||
| type Rep Coordinates | |||||
Defined in Web.Twitter.Types type Rep Coordinates = D1 ('MetaData "Coordinates" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Coordinates" 'PrefixI 'True) (S1 ('MetaSel ('Just "coordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Double]) :*: S1 ('MetaSel ('Just "coordinatesType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
coordinates :: Lens' Coordinates [Double] Source #
Place
This type represents a place, named locations with corresponding geo coordinates. See https://dev.twitter.com/docs/platform-objects/places.
Instances
| FromJSON Place | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON Place | |||||
Defined in Web.Twitter.Types Methods toEncoding :: Place -> Encoding toJSONList :: [Place] -> Value toEncodingList :: [Place] -> Encoding | |||||
| Data Place | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Place | |||||
| Eq Place | |||||
| type Rep Place | |||||
Defined in Web.Twitter.Types type Rep Place = D1 ('MetaData "Place" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Place" 'PrefixI 'True) (((S1 ('MetaSel ('Just "placeAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text Text)) :*: S1 ('MetaSel ('Just "placeBoundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BoundingBox))) :*: (S1 ('MetaSel ('Just "placeCountry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "placeFullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "placeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "placeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))) | |||||
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
| FromJSON BoundingBox | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON BoundingBox | |||||
Defined in Web.Twitter.Types Methods toJSON :: BoundingBox -> Value toEncoding :: BoundingBox -> Encoding toJSONList :: [BoundingBox] -> Value toEncodingList :: [BoundingBox] -> Encoding omitField :: BoundingBox -> Bool | |||||
| Data BoundingBox | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: BoundingBox -> Rep BoundingBox x Source # to :: Rep BoundingBox x -> BoundingBox Source # | |||||
| Show BoundingBox | |||||
Defined in Web.Twitter.Types | |||||
| Eq BoundingBox | |||||
Defined in Web.Twitter.Types Methods (==) :: BoundingBox -> BoundingBox -> Bool Source # (/=) :: BoundingBox -> BoundingBox -> Bool Source # | |||||
| type Rep BoundingBox | |||||
Defined in Web.Twitter.Types type Rep BoundingBox = D1 ('MetaData "BoundingBox" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "BoundingBox" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBoxCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[[Double]]]) :*: S1 ('MetaSel ('Just "boundingBoxType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
boundingBoxCoordinates :: Lens' BoundingBox [[[Double]]] Source #
Contributor
data Contributor Source #
Instances
| FromJSON Contributor | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON Contributor | |||||
Defined in Web.Twitter.Types Methods toJSON :: Contributor -> Value toEncoding :: Contributor -> Encoding toJSONList :: [Contributor] -> Value toEncodingList :: [Contributor] -> Encoding omitField :: Contributor -> Bool | |||||
| Data Contributor | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: Contributor -> Rep Contributor x Source # to :: Rep Contributor x -> Contributor Source # | |||||
| Show Contributor | |||||
Defined in Web.Twitter.Types | |||||
| Eq Contributor | |||||
Defined in Web.Twitter.Types Methods (==) :: Contributor -> Contributor -> Bool Source # (/=) :: Contributor -> Contributor -> Bool Source # | |||||
| type Rep Contributor | |||||
Defined in Web.Twitter.Types type Rep Contributor = D1 ('MetaData "Contributor" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Contributor" 'PrefixI 'True) (S1 ('MetaSel ('Just "contributorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: S1 ('MetaSel ('Just "contributorScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) | |||||
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
| FromJSON UploadedMedia | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON UploadedMedia | |||||
Defined in Web.Twitter.Types Methods toJSON :: UploadedMedia -> Value toEncoding :: UploadedMedia -> Encoding toJSONList :: [UploadedMedia] -> Value toEncodingList :: [UploadedMedia] -> Encoding omitField :: UploadedMedia -> Bool | |||||
| Data UploadedMedia | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: UploadedMedia -> Rep UploadedMedia x Source # to :: Rep UploadedMedia x -> UploadedMedia Source # | |||||
| Show UploadedMedia | |||||
Defined in Web.Twitter.Types | |||||
| Eq UploadedMedia | |||||
Defined in Web.Twitter.Types Methods (==) :: UploadedMedia -> UploadedMedia -> Bool Source # (/=) :: UploadedMedia -> UploadedMedia -> Bool Source # | |||||
| type Rep UploadedMedia | |||||
Defined in Web.Twitter.Types type Rep UploadedMedia = D1 ('MetaData "UploadedMedia" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "UploadedMedia" 'PrefixI 'True) (S1 ('MetaSel ('Just "uploadedMediaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "uploadedMediaSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "uploadedMediaImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImageSizeType)))) | |||||
ImageSizeType
data ImageSizeType Source #
Image size type. This type is included in the API response of "/1.1/media/upload.json".
Instances
| FromJSON ImageSizeType | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON ImageSizeType | |||||
Defined in Web.Twitter.Types Methods toJSON :: ImageSizeType -> Value toEncoding :: ImageSizeType -> Encoding toJSONList :: [ImageSizeType] -> Value toEncodingList :: [ImageSizeType] -> Encoding omitField :: ImageSizeType -> Bool | |||||
| Data ImageSizeType | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: ImageSizeType -> Rep ImageSizeType x Source # to :: Rep ImageSizeType x -> ImageSizeType Source # | |||||
| Show ImageSizeType | |||||
Defined in Web.Twitter.Types | |||||
| Eq ImageSizeType | |||||
Defined in Web.Twitter.Types Methods (==) :: ImageSizeType -> ImageSizeType -> Bool Source # (/=) :: ImageSizeType -> ImageSizeType -> Bool Source # | |||||
| AsImageSize ImageSizeType Source # | |||||
Defined in Web.Twitter.Types.Lens | |||||
| type Rep ImageSizeType | |||||
Defined in Web.Twitter.Types type Rep ImageSizeType = D1 ('MetaData "ImageSizeType" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ImageSizeType" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageSizeTypeWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "imageSizeTypeHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "imageSizeTypeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) | |||||
data DisplayTextRange Source #
unicode code point indices, identifying the inclusive start and exclusive end of the displayable content of the Tweet.
Instances
| FromJSON DisplayTextRange | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser DisplayTextRange parseJSONList :: Value -> Parser [DisplayTextRange] | |||||
| ToJSON DisplayTextRange | |||||
Defined in Web.Twitter.Types Methods toJSON :: DisplayTextRange -> Value toEncoding :: DisplayTextRange -> Encoding toJSONList :: [DisplayTextRange] -> Value toEncodingList :: [DisplayTextRange] -> Encoding omitField :: DisplayTextRange -> Bool | |||||
| Data DisplayTextRange | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: DisplayTextRange -> Rep DisplayTextRange x Source # to :: Rep DisplayTextRange x -> DisplayTextRange Source # | |||||
| Show DisplayTextRange | |||||
Defined in Web.Twitter.Types | |||||
| Eq DisplayTextRange | |||||
Defined in Web.Twitter.Types Methods (==) :: DisplayTextRange -> DisplayTextRange -> Bool Source # (/=) :: DisplayTextRange -> DisplayTextRange -> Bool Source # | |||||
| Ord DisplayTextRange | |||||
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 | |||||
Defined in Web.Twitter.Types type Rep DisplayTextRange = D1 ('MetaData "DisplayTextRange" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "DisplayTextRange" 'PrefixI 'True) (S1 ('MetaSel ('Just "displayTextRangeStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "displayTextRangeEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
Type aliases and sum types
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
| FromJSON StreamingAPI | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON StreamingAPI | |||||
Defined in Web.Twitter.Types Methods toJSON :: StreamingAPI -> Value toEncoding :: StreamingAPI -> Encoding toJSONList :: [StreamingAPI] -> Value toEncodingList :: [StreamingAPI] -> Encoding omitField :: StreamingAPI -> Bool | |||||
| Data StreamingAPI | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: StreamingAPI -> Rep StreamingAPI x Source # to :: Rep StreamingAPI x -> StreamingAPI Source # | |||||
| Show StreamingAPI | |||||
Defined in Web.Twitter.Types | |||||
| Eq StreamingAPI | |||||
Defined in Web.Twitter.Types Methods (==) :: StreamingAPI -> StreamingAPI -> Bool Source # (/=) :: StreamingAPI -> StreamingAPI -> Bool Source # | |||||
| type Rep StreamingAPI | |||||
Defined in Web.Twitter.Types type Rep StreamingAPI = D1 ('MetaData "StreamingAPI" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) ((C1 ('MetaCons "SStatus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status)) :+: (C1 ('MetaCons "SRetweetedStatus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RetweetedStatus)) :+: C1 ('MetaCons "SEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Event)))) :+: ((C1 ('MetaCons "SDelete" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Delete)) :+: C1 ('MetaCons "SFriends" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Friends))) :+: (C1 ('MetaCons "SDirectMessage" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DirectMessage)) :+: C1 ('MetaCons "SUnknown" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value))))) | |||||
data EventTarget Source #
Instances
| FromJSON EventTarget | |||||
Defined in Web.Twitter.Types | |||||
| ToJSON EventTarget | |||||
Defined in Web.Twitter.Types Methods toJSON :: EventTarget -> Value toEncoding :: EventTarget -> Encoding toJSONList :: [EventTarget] -> Value toEncodingList :: [EventTarget] -> Encoding omitField :: EventTarget -> Bool | |||||
| Data EventTarget | |||||
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 | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: EventTarget -> Rep EventTarget x Source # to :: Rep EventTarget x -> EventTarget Source # | |||||
| Show EventTarget | |||||
Defined in Web.Twitter.Types | |||||
| Eq EventTarget | |||||
Defined in Web.Twitter.Types Methods (==) :: EventTarget -> EventTarget -> Bool Source # (/=) :: EventTarget -> EventTarget -> Bool Source # | |||||
| type Rep EventTarget | |||||
Defined in Web.Twitter.Types type Rep EventTarget = D1 ('MetaData "EventTarget" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) ((C1 ('MetaCons "ETUser" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)) :+: C1 ('MetaCons "ETStatus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status))) :+: (C1 ('MetaCons "ETList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 List)) :+: C1 ('MetaCons "ETUnknown" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)))) | |||||
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
_SUnknown :: Prism' StreamingAPI Value Source #
EventTarget
_ETUnknown :: Prism' EventTarget Value Source #