Safe Haskell | None |
---|---|
Language | Haskell2010 |
Web.Twitter.Types
Synopsis
- type UserId = Integer
- type Friends = [UserId]
- type URIString = Text
- type UserName = Text
- type StatusId = Integer
- type LanguageCode = String
- data StreamingAPI
- data Status = Status {
- statusContributors :: Maybe [Contributor]
- statusCoordinates :: Maybe Coordinates
- statusCreatedAt :: UTCTime
- statusCurrentUserRetweet :: Maybe StatusId
- statusEntities :: Maybe Entities
- statusExtendedEntities :: Maybe ExtendedEntities
- statusFavoriteCount :: Integer
- statusFavorited :: Maybe Bool
- statusFilterLevel :: Maybe Text
- statusId :: StatusId
- statusInReplyToScreenName :: Maybe Text
- statusInReplyToStatusId :: Maybe StatusId
- statusInReplyToUserId :: Maybe UserId
- statusLang :: Maybe LanguageCode
- statusPlace :: Maybe Place
- statusPossiblySensitive :: Maybe Bool
- statusScopes :: Maybe Object
- statusQuotedStatusId :: Maybe StatusId
- statusQuotedStatus :: Maybe Status
- statusRetweetCount :: Integer
- statusRetweeted :: Maybe Bool
- statusRetweetedStatus :: Maybe Status
- statusSource :: Text
- statusText :: Text
- statusTruncated :: Bool
- statusUser :: User
- statusWithheldCopyright :: Maybe Bool
- statusWithheldInCountries :: Maybe [Text]
- statusWithheldScope :: Maybe Text
- statusDisplayTextRange :: Maybe DisplayTextRange
- data SearchResult body = SearchResult {}
- data SearchStatus = SearchStatus {
- searchStatusCreatedAt :: UTCTime
- searchStatusId :: StatusId
- searchStatusText :: Text
- searchStatusSource :: Text
- searchStatusUser :: User
- searchStatusCoordinates :: Maybe Coordinates
- data SearchMetadata = SearchMetadata {
- searchMetadataMaxId :: StatusId
- searchMetadataSinceId :: StatusId
- searchMetadataRefreshURL :: URIString
- searchMetadataNextResults :: Maybe URIString
- searchMetadataCount :: Int
- searchMetadataCompletedIn :: Maybe Float
- searchMetadataSinceIdStr :: String
- searchMetadataQuery :: String
- searchMetadataMaxIdStr :: String
- data RetweetedStatus = RetweetedStatus {
- rsCreatedAt :: UTCTime
- rsId :: StatusId
- rsText :: Text
- rsSource :: Text
- rsTruncated :: Bool
- rsEntities :: Maybe Entities
- rsUser :: User
- rsRetweetedStatus :: Status
- rsCoordinates :: Maybe Coordinates
- data DirectMessage = DirectMessage {
- dmId :: EventId
- dmCreatedTimestamp :: UTCTime
- dmTargetRecipientId :: UserId
- dmSenderId :: UserId
- dmText :: Text
- dmEntities :: Entities
- data EventTarget
- data Event = Event {
- evCreatedAt :: UTCTime
- evTargetObject :: Maybe EventTarget
- evEvent :: Text
- evTarget :: EventTarget
- evSource :: EventTarget
- data Delete = Delete {}
- data User = User {
- userContributorsEnabled :: Bool
- userCreatedAt :: UTCTime
- userDefaultProfile :: Bool
- userDefaultProfileImage :: Bool
- userDescription :: Maybe Text
- userEmail :: Maybe Text
- userFavoritesCount :: Int
- userFollowRequestSent :: Maybe Bool
- userFollowing :: Maybe Bool
- userFollowersCount :: Int
- userFriendsCount :: Int
- userGeoEnabled :: Bool
- userId :: UserId
- userIsTranslator :: Bool
- userLang :: Maybe LanguageCode
- userListedCount :: Int
- userLocation :: Maybe Text
- userName :: Text
- userNotifications :: Maybe Bool
- userProfileBackgroundColor :: Maybe Text
- userProfileBackgroundImageURL :: Maybe URIString
- userProfileBackgroundImageURLHttps :: Maybe URIString
- userProfileBackgroundTile :: Maybe Bool
- userProfileBannerURL :: Maybe URIString
- userProfileImageURL :: Maybe URIString
- userProfileImageURLHttps :: Maybe URIString
- userProfileLinkColor :: Text
- userProfileSidebarBorderColor :: Text
- userProfileSidebarFillColor :: Text
- userProfileTextColor :: Text
- userProfileUseBackgroundImage :: Bool
- userProtected :: Bool
- userScreenName :: Text
- userShowAllInlineMedia :: Maybe Bool
- userStatusesCount :: Int
- userTimeZone :: Maybe Text
- userURL :: Maybe URIString
- userUtcOffset :: Maybe Int
- userVerified :: Bool
- userWithheldInCountries :: Maybe [Text]
- userWithheldScope :: Maybe Text
- data List = List {
- listId :: Int
- listName :: Text
- listFullName :: Text
- listMemberCount :: Int
- listSubscriberCount :: Int
- listMode :: Text
- listUser :: User
- data Entities = Entities {
- enHashTags :: [Entity HashTagEntity]
- enUserMentions :: [Entity UserEntity]
- enURLs :: [Entity URLEntity]
- enMedia :: [Entity MediaEntity]
- type EntityIndices = [Int]
- data ExtendedEntities = ExtendedEntities {
- exeMedia :: [Entity ExtendedEntity]
- data ExtendedEntity = ExtendedEntity {
- exeID :: StatusId
- exeMediaUrl :: URIString
- exeMediaUrlHttps :: URIString
- exeSizes :: HashMap Text MediaSize
- exeType :: Text
- exeDurationMillis :: Maybe Double
- exeExtAltText :: Maybe String
- exeURL :: URLEntity
- data Entity a = Entity {
- entityBody :: a
- entityIndices :: EntityIndices
- data HashTagEntity = HashTagEntity {
- hashTagText :: Text
- data UserEntity = UserEntity {}
- data URLEntity = URLEntity {
- ueURL :: URIString
- ueExpanded :: URIString
- ueDisplay :: Text
- data MediaEntity = MediaEntity {}
- data MediaSize = MediaSize {}
- data Coordinates = Coordinates {
- coordinates :: [Double]
- coordinatesType :: Text
- data Place = Place {
- placeAttributes :: HashMap Text Text
- placeBoundingBox :: Maybe BoundingBox
- placeCountry :: Text
- placeCountryCode :: Text
- placeFullName :: Text
- placeId :: Text
- placeName :: Text
- placeType :: Text
- placeURL :: Text
- data BoundingBox = BoundingBox {
- boundingBoxCoordinates :: [[[Double]]]
- boundingBoxType :: Text
- data Contributor = Contributor {
- contributorId :: UserId
- contributorScreenName :: Maybe Text
- data UploadedMedia = UploadedMedia {
- uploadedMediaId :: Integer
- uploadedMediaSize :: Integer
- uploadedMediaImage :: ImageSizeType
- data ImageSizeType = ImageSizeType {
- imageSizeTypeWidth :: Int
- imageSizeTypeHeight :: Int
- imageSizeTypeType :: Text
- data DisplayTextRange = DisplayTextRange {
- displayTextRangeStart :: Int
- displayTextRangeEnd :: Int
- checkError :: Object -> Parser ()
- twitterTimeFormat :: String
Documentation
type LanguageCode = String Source #
data StreamingAPI Source #
Constructors
SStatus Status | |
SRetweetedStatus RetweetedStatus | |
SEvent Event | |
SDelete Delete | |
SFriends Friends | SScrubGeo ScrubGeo |
SDirectMessage DirectMessage | |
SUnknown Value |
Instances
Eq StreamingAPI Source # | |
Defined in Web.Twitter.Types | |
Data StreamingAPI Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingAPI toConstr :: StreamingAPI -> Constr dataTypeOf :: StreamingAPI -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StreamingAPI) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingAPI) gmapT :: (forall b. Data b => b -> b) -> StreamingAPI -> StreamingAPI gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingAPI -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingAPI -> r gmapQ :: (forall d. Data d => d -> u) -> StreamingAPI -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingAPI -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingAPI -> m StreamingAPI gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingAPI -> m StreamingAPI gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingAPI -> m StreamingAPI | |
Show StreamingAPI Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> StreamingAPI -> ShowS show :: StreamingAPI -> String showList :: [StreamingAPI] -> ShowS | |
Generic StreamingAPI Source # | |
Defined in Web.Twitter.Types Associated Types type Rep StreamingAPI :: Type -> Type | |
ToJSON StreamingAPI Source # | |
Defined in Web.Twitter.Types Methods toJSON :: StreamingAPI -> Value Source # toEncoding :: StreamingAPI -> Encoding Source # toJSONList :: [StreamingAPI] -> Value Source # toEncodingList :: [StreamingAPI] -> Encoding Source # | |
FromJSON StreamingAPI Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser StreamingAPI Source # parseJSONList :: Value -> Parser [StreamingAPI] Source # | |
type Rep StreamingAPI Source # | |
Defined in Web.Twitter.Types type Rep StreamingAPI = D1 ('MetaData "StreamingAPI" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" '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))))) |
This type represents a Twitter tweet structure. See https://dev.twitter.com/docs/platform-objects/tweets.
Constructors
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Web.Twitter.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status dataTypeOf :: Status -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) gmapT :: (forall b. Data b => b -> b) -> Status -> Status gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Web.Twitter.Types type Rep Status = D1 ('MetaData "Status" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "Status" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "statusContributors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Contributor])) :*: (S1 ('MetaSel ('Just "statusCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates)) :*: S1 ('MetaSel ('Just "statusCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime))) :*: ((S1 ('MetaSel ('Just "statusCurrentUserRetweet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)) :*: S1 ('MetaSel ('Just "statusEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Entities))) :*: (S1 ('MetaSel ('Just "statusExtendedEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtendedEntities)) :*: S1 ('MetaSel ('Just "statusFavoriteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) :*: (((S1 ('MetaSel ('Just "statusFavorited") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusFilterLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "statusInReplyToScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "statusInReplyToStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)) :*: S1 ('MetaSel ('Just "statusInReplyToUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UserId))) :*: (S1 ('MetaSel ('Just "statusLang") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "statusPlace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Place)))))) :*: (((S1 ('MetaSel ('Just "statusPossiblySensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "statusScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "statusQuotedStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)))) :*: ((S1 ('MetaSel ('Just "statusQuotedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "statusRetweetCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "statusRetweeted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusRetweetedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Status))))) :*: (((S1 ('MetaSel ('Just "statusSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "statusTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "statusUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User))) :*: ((S1 ('MetaSel ('Just "statusWithheldCopyright") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusWithheldInCountries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "statusWithheldScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusDisplayTextRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DisplayTextRange)))))))) |
data SearchResult body Source #
Constructors
SearchResult | |
Fields |
Instances
Eq body => Eq (SearchResult body) Source # | |
Defined in Web.Twitter.Types Methods (==) :: SearchResult body -> SearchResult body -> Bool (/=) :: SearchResult body -> SearchResult body -> Bool | |
Data body => Data (SearchResult body) Source # | |
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) gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (SearchResult body) toConstr :: SearchResult body -> Constr dataTypeOf :: SearchResult body -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (SearchResult body)) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (SearchResult body)) gmapT :: (forall b. Data b => b -> b) -> SearchResult body -> SearchResult body gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult body -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult body -> r gmapQ :: (forall d. Data d => d -> u) -> SearchResult body -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchResult body -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) | |
Show body => Show (SearchResult body) Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> SearchResult body -> ShowS show :: SearchResult body -> String showList :: [SearchResult body] -> ShowS | |
Generic (SearchResult body) Source # | |
Defined in Web.Twitter.Types Associated Types type Rep (SearchResult body) :: Type -> Type Methods from :: SearchResult body -> Rep (SearchResult body) x to :: Rep (SearchResult body) x -> SearchResult body | |
ToJSON body => ToJSON (SearchResult body) Source # | |
Defined in Web.Twitter.Types Methods toJSON :: SearchResult body -> Value Source # toEncoding :: SearchResult body -> Encoding Source # toJSONList :: [SearchResult body] -> Value Source # toEncodingList :: [SearchResult body] -> Encoding Source # | |
FromJSON body => FromJSON (SearchResult body) Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser (SearchResult body) Source # parseJSONList :: Value -> Parser [SearchResult body] Source # | |
type Rep (SearchResult body) Source # | |
Defined in Web.Twitter.Types type Rep (SearchResult body) = D1 ('MetaData "SearchResult" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "SearchResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "searchResultStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 body) :*: S1 ('MetaSel ('Just "searchResultSearchMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SearchMetadata))) |
data SearchStatus Source #
Constructors
SearchStatus | |
Fields
|
Instances
Eq SearchStatus Source # | |
Defined in Web.Twitter.Types | |
Data SearchStatus Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchStatus toConstr :: SearchStatus -> Constr dataTypeOf :: SearchStatus -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchStatus) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchStatus) gmapT :: (forall b. Data b => b -> b) -> SearchStatus -> SearchStatus gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r gmapQ :: (forall d. Data d => d -> u) -> SearchStatus -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchStatus -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus | |
Show SearchStatus Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> SearchStatus -> ShowS show :: SearchStatus -> String showList :: [SearchStatus] -> ShowS | |
Generic SearchStatus Source # | |
Defined in Web.Twitter.Types Associated Types type Rep SearchStatus :: Type -> Type | |
ToJSON SearchStatus Source # | |
Defined in Web.Twitter.Types Methods toJSON :: SearchStatus -> Value Source # toEncoding :: SearchStatus -> Encoding Source # toJSONList :: [SearchStatus] -> Value Source # toEncodingList :: [SearchStatus] -> Encoding Source # | |
FromJSON SearchStatus Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser SearchStatus Source # parseJSONList :: Value -> Parser [SearchStatus] Source # | |
type Rep SearchStatus Source # | |
Defined in Web.Twitter.Types type Rep SearchStatus = D1 ('MetaData "SearchStatus" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "SearchStatus" 'PrefixI 'True) ((S1 ('MetaSel ('Just "searchStatusCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "searchStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchStatusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "searchStatusSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "searchStatusUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "searchStatusCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates)))))) |
data SearchMetadata Source #
Constructors
SearchMetadata | |
Fields
|
Instances
Eq SearchMetadata Source # | |
Defined in Web.Twitter.Types Methods (==) :: SearchMetadata -> SearchMetadata -> Bool (/=) :: SearchMetadata -> SearchMetadata -> Bool | |
Data SearchMetadata Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchMetadata toConstr :: SearchMetadata -> Constr dataTypeOf :: SearchMetadata -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchMetadata) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchMetadata) gmapT :: (forall b. Data b => b -> b) -> SearchMetadata -> SearchMetadata gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchMetadata -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchMetadata -> r gmapQ :: (forall d. Data d => d -> u) -> SearchMetadata -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchMetadata -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata | |
Show SearchMetadata Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> SearchMetadata -> ShowS show :: SearchMetadata -> String showList :: [SearchMetadata] -> ShowS | |
Generic SearchMetadata Source # | |
Defined in Web.Twitter.Types Associated Types type Rep SearchMetadata :: Type -> Type | |
ToJSON SearchMetadata Source # | |
Defined in Web.Twitter.Types Methods toJSON :: SearchMetadata -> Value Source # toEncoding :: SearchMetadata -> Encoding Source # toJSONList :: [SearchMetadata] -> Value Source # toEncodingList :: [SearchMetadata] -> Encoding Source # | |
FromJSON SearchMetadata Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser SearchMetadata Source # parseJSONList :: Value -> Parser [SearchMetadata] Source # | |
type Rep SearchMetadata Source # | |
Defined in Web.Twitter.Types type Rep SearchMetadata = D1 ('MetaData "SearchMetadata" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "SearchMetadata" 'PrefixI 'True) (((S1 ('MetaSel ('Just "searchMetadataMaxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchMetadataSinceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "searchMetadataRefreshURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "searchMetadataNextResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)))) :*: ((S1 ('MetaSel ('Just "searchMetadataCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "searchMetadataCompletedIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Float))) :*: (S1 ('MetaSel ('Just "searchMetadataSinceIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "searchMetadataQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "searchMetadataMaxIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))))) |
data RetweetedStatus Source #
Constructors
RetweetedStatus | |
Fields
|
Instances
Eq RetweetedStatus Source # | |
Defined in Web.Twitter.Types Methods (==) :: RetweetedStatus -> RetweetedStatus -> Bool (/=) :: RetweetedStatus -> RetweetedStatus -> Bool | |
Data RetweetedStatus Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RetweetedStatus toConstr :: RetweetedStatus -> Constr dataTypeOf :: RetweetedStatus -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RetweetedStatus) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RetweetedStatus) gmapT :: (forall b. Data b => b -> b) -> RetweetedStatus -> RetweetedStatus gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RetweetedStatus -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RetweetedStatus -> r gmapQ :: (forall d. Data d => d -> u) -> RetweetedStatus -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RetweetedStatus -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus | |
Show RetweetedStatus Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> RetweetedStatus -> ShowS show :: RetweetedStatus -> String showList :: [RetweetedStatus] -> ShowS | |
Generic RetweetedStatus Source # | |
Defined in Web.Twitter.Types Associated Types type Rep RetweetedStatus :: Type -> Type Methods from :: RetweetedStatus -> Rep RetweetedStatus x to :: Rep RetweetedStatus x -> RetweetedStatus | |
ToJSON RetweetedStatus Source # | |
Defined in Web.Twitter.Types Methods toJSON :: RetweetedStatus -> Value Source # toEncoding :: RetweetedStatus -> Encoding Source # toJSONList :: [RetweetedStatus] -> Value Source # toEncodingList :: [RetweetedStatus] -> Encoding Source # | |
FromJSON RetweetedStatus Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser RetweetedStatus Source # parseJSONList :: Value -> Parser [RetweetedStatus] Source # | |
type Rep RetweetedStatus Source # | |
Defined in Web.Twitter.Types type Rep RetweetedStatus = D1 ('MetaData "RetweetedStatus" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "RetweetedStatus" 'PrefixI 'True) (((S1 ('MetaSel ('Just "rsCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "rsId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "rsText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "rsSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "rsTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "rsEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Entities))) :*: (S1 ('MetaSel ('Just "rsUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: (S1 ('MetaSel ('Just "rsRetweetedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status) :*: S1 ('MetaSel ('Just "rsCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates))))))) |
data DirectMessage Source #
Constructors
DirectMessage | |
Fields
|
Instances
Eq DirectMessage Source # | |
Defined in Web.Twitter.Types | |
Data DirectMessage Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DirectMessage toConstr :: DirectMessage -> Constr dataTypeOf :: DirectMessage -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DirectMessage) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DirectMessage) gmapT :: (forall b. Data b => b -> b) -> DirectMessage -> DirectMessage gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DirectMessage -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DirectMessage -> r gmapQ :: (forall d. Data d => d -> u) -> DirectMessage -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> DirectMessage -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage | |
Show DirectMessage Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> DirectMessage -> ShowS show :: DirectMessage -> String showList :: [DirectMessage] -> ShowS | |
Generic DirectMessage Source # | |
Defined in Web.Twitter.Types Associated Types type Rep DirectMessage :: Type -> Type | |
ToJSON DirectMessage Source # | |
Defined in Web.Twitter.Types Methods toJSON :: DirectMessage -> Value Source # toEncoding :: DirectMessage -> Encoding Source # toJSONList :: [DirectMessage] -> Value Source # toEncodingList :: [DirectMessage] -> Encoding Source # | |
FromJSON DirectMessage Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser DirectMessage Source # parseJSONList :: Value -> Parser [DirectMessage] Source # | |
type Rep DirectMessage Source # | |
Defined in Web.Twitter.Types type Rep DirectMessage |
data EventTarget Source #
Instances
Eq EventTarget Source # | |
Defined in Web.Twitter.Types | |
Data EventTarget Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventTarget toConstr :: EventTarget -> Constr dataTypeOf :: EventTarget -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EventTarget) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventTarget) gmapT :: (forall b. Data b => b -> b) -> EventTarget -> EventTarget gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventTarget -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventTarget -> r gmapQ :: (forall d. Data d => d -> u) -> EventTarget -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> EventTarget -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget | |
Show EventTarget Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> EventTarget -> ShowS show :: EventTarget -> String showList :: [EventTarget] -> ShowS | |
Generic EventTarget Source # | |
Defined in Web.Twitter.Types Associated Types type Rep EventTarget :: Type -> Type | |
ToJSON EventTarget Source # | |
Defined in Web.Twitter.Types Methods toJSON :: EventTarget -> Value Source # toEncoding :: EventTarget -> Encoding Source # toJSONList :: [EventTarget] -> Value Source # toEncodingList :: [EventTarget] -> Encoding Source # | |
FromJSON EventTarget Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser EventTarget Source # parseJSONList :: Value -> Parser [EventTarget] Source # | |
type Rep EventTarget Source # | |
Defined in Web.Twitter.Types type Rep EventTarget = D1 ('MetaData "EventTarget" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" '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)))) |
Constructors
Event | |
Fields
|
Instances
Eq Event Source # | |
Data Event Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Event dataTypeOf :: Event -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Event) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Event) gmapT :: (forall b. Data b => b -> b) -> Event -> Event gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r gmapQ :: (forall d. Data d => d -> u) -> Event -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Event -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Event -> m Event gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event | |
Show Event Source # | |
Generic Event Source # | |
ToJSON Event Source # | |
FromJSON Event Source # | |
type Rep Event Source # | |
Defined in Web.Twitter.Types type Rep Event = D1 ('MetaData "Event" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" '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))))) |
Instances
Eq Delete Source # | |
Data Delete Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Delete dataTypeOf :: Delete -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Delete) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Delete) gmapT :: (forall b. Data b => b -> b) -> Delete -> Delete gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Delete -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Delete -> r gmapQ :: (forall d. Data d => d -> u) -> Delete -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Delete -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Delete -> m Delete gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete -> m Delete gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete -> m Delete | |
Show Delete Source # | |
Generic Delete Source # | |
ToJSON Delete Source # | |
FromJSON Delete Source # | |
type Rep Delete Source # | |
Defined in Web.Twitter.Types type Rep Delete = D1 ('MetaData "Delete" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "Delete" 'PrefixI 'True) (S1 ('MetaSel ('Just "delId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "delUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId))) |
This type represents the Twitter user. See https://dev.twitter.com/docs/platform-objects/users.
Constructors
Instances
Eq User Source # | |
Data User Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c User dataTypeOf :: User -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c User) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c User) gmapT :: (forall b. Data b => b -> b) -> User -> User gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> User -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> User -> r gmapQ :: (forall d. Data d => d -> u) -> User -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> User -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> User -> m User gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User | |
Show User Source # | |
Generic User Source # | |
ToJSON User Source # | |
FromJSON User Source # | |
type Rep User Source # | |
Defined in Web.Twitter.Types type Rep User = D1 ('MetaData "User" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" '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))))))))) |
Constructors
List | |
Fields
|
Instances
Eq List Source # | |
Data List Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c List dataTypeOf :: List -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c List) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c List) gmapT :: (forall b. Data b => b -> b) -> List -> List gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> List -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> List -> r gmapQ :: (forall d. Data d => d -> u) -> List -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> List -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> List -> m List gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> List -> m List gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> List -> m List | |
Show List Source # | |
Generic List Source # | |
ToJSON List Source # | |
FromJSON List Source # | |
type Rep List Source # | |
Defined in Web.Twitter.Types type Rep List = D1 ('MetaData "List" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" '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))))) |
Entity handling. See https://dev.twitter.com/docs/platform-objects/entities.
Constructors
Entities | |
Fields
|
Instances
Eq Entities Source # | |
Data Entities Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Entities toConstr :: Entities -> Constr dataTypeOf :: Entities -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Entities) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Entities) gmapT :: (forall b. Data b => b -> b) -> Entities -> Entities gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entities -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entities -> r gmapQ :: (forall d. Data d => d -> u) -> Entities -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Entities -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entities -> m Entities gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entities -> m Entities gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entities -> m Entities | |
Show Entities Source # | |
Generic Entities Source # | |
ToJSON Entities Source # | |
FromJSON Entities Source # | |
type Rep Entities Source # | |
Defined in Web.Twitter.Types type Rep Entities = D1 ('MetaData "Entities" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "Entities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enHashTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity HashTagEntity]) :*: S1 ('MetaSel ('Just "enUserMentions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity UserEntity])) :*: (S1 ('MetaSel ('Just "enURLs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity URLEntity]) :*: S1 ('MetaSel ('Just "enMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity MediaEntity])))) |
type EntityIndices = [Int] Source #
The character positions the Entity was extracted from
This is experimental implementation. This may be replaced by more definite types.
data ExtendedEntities Source #
Constructors
ExtendedEntities | |
Fields
|
Instances
Eq ExtendedEntities Source # | |
Defined in Web.Twitter.Types Methods (==) :: ExtendedEntities -> ExtendedEntities -> Bool (/=) :: ExtendedEntities -> ExtendedEntities -> Bool | |
Data ExtendedEntities Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExtendedEntities toConstr :: ExtendedEntities -> Constr dataTypeOf :: ExtendedEntities -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExtendedEntities) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExtendedEntities) gmapT :: (forall b. Data b => b -> b) -> ExtendedEntities -> ExtendedEntities gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntities -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntities -> r gmapQ :: (forall d. Data d => d -> u) -> ExtendedEntities -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ExtendedEntities -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExtendedEntities -> m ExtendedEntities gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntities -> m ExtendedEntities gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntities -> m ExtendedEntities | |
Show ExtendedEntities Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> ExtendedEntities -> ShowS show :: ExtendedEntities -> String showList :: [ExtendedEntities] -> ShowS | |
Generic ExtendedEntities Source # | |
Defined in Web.Twitter.Types Associated Types type Rep ExtendedEntities :: Type -> Type Methods from :: ExtendedEntities -> Rep ExtendedEntities x to :: Rep ExtendedEntities x -> ExtendedEntities | |
ToJSON ExtendedEntities Source # | |
Defined in Web.Twitter.Types Methods toJSON :: ExtendedEntities -> Value Source # toEncoding :: ExtendedEntities -> Encoding Source # toJSONList :: [ExtendedEntities] -> Value Source # toEncodingList :: [ExtendedEntities] -> Encoding Source # | |
FromJSON ExtendedEntities Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ExtendedEntities Source # parseJSONList :: Value -> Parser [ExtendedEntities] Source # | |
type Rep ExtendedEntities Source # | |
Defined in Web.Twitter.Types type Rep ExtendedEntities = D1 ('MetaData "ExtendedEntities" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "ExtendedEntities" 'PrefixI 'True) (S1 ('MetaSel ('Just "exeMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity ExtendedEntity]))) |
data ExtendedEntity Source #
Constructors
ExtendedEntity | |
Fields
|
Instances
Eq ExtendedEntity Source # | |
Defined in Web.Twitter.Types Methods (==) :: ExtendedEntity -> ExtendedEntity -> Bool (/=) :: ExtendedEntity -> ExtendedEntity -> Bool | |
Data ExtendedEntity Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExtendedEntity toConstr :: ExtendedEntity -> Constr dataTypeOf :: ExtendedEntity -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExtendedEntity) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExtendedEntity) gmapT :: (forall b. Data b => b -> b) -> ExtendedEntity -> ExtendedEntity gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntity -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntity -> r gmapQ :: (forall d. Data d => d -> u) -> ExtendedEntity -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ExtendedEntity -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExtendedEntity -> m ExtendedEntity gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntity -> m ExtendedEntity gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntity -> m ExtendedEntity | |
Show ExtendedEntity Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> ExtendedEntity -> ShowS show :: ExtendedEntity -> String showList :: [ExtendedEntity] -> ShowS | |
Generic ExtendedEntity Source # | |
Defined in Web.Twitter.Types Associated Types type Rep ExtendedEntity :: Type -> Type | |
ToJSON ExtendedEntity Source # | |
Defined in Web.Twitter.Types Methods toJSON :: ExtendedEntity -> Value Source # toEncoding :: ExtendedEntity -> Encoding Source # toJSONList :: [ExtendedEntity] -> Value Source # toEncodingList :: [ExtendedEntity] -> Encoding Source # | |
FromJSON ExtendedEntity Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ExtendedEntity Source # parseJSONList :: Value -> Parser [ExtendedEntity] Source # | |
type Rep ExtendedEntity Source # | |
Defined in Web.Twitter.Types type Rep ExtendedEntity = D1 ('MetaData "ExtendedEntity" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" '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 "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))))) |
Constructors
Entity | |
Fields
|
Instances
Eq a => Eq (Entity a) Source # | |
Data a => Data (Entity a) Source # | |
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) gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Entity a) toConstr :: Entity a -> Constr dataTypeOf :: Entity a -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Entity a)) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Entity a)) gmapT :: (forall b. Data b => b -> b) -> Entity a -> Entity a gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entity a -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entity a -> r gmapQ :: (forall d. Data d => d -> u) -> Entity a -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Entity a -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) | |
Show a => Show (Entity a) Source # | |
Generic (Entity a) Source # | |
ToJSON a => ToJSON (Entity a) Source # | |
FromJSON a => FromJSON (Entity a) Source # | |
type Rep (Entity a) Source # | |
Defined in Web.Twitter.Types type Rep (Entity a) = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices))) |
data HashTagEntity Source #
Hashtag entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-hashtags.
Constructors
HashTagEntity | |
Fields
|
Instances
Eq HashTagEntity Source # | |
Defined in Web.Twitter.Types | |
Data HashTagEntity Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HashTagEntity toConstr :: HashTagEntity -> Constr dataTypeOf :: HashTagEntity -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HashTagEntity) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HashTagEntity) gmapT :: (forall b. Data b => b -> b) -> HashTagEntity -> HashTagEntity gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HashTagEntity -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HashTagEntity -> r gmapQ :: (forall d. Data d => d -> u) -> HashTagEntity -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> HashTagEntity -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity | |
Show HashTagEntity Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> HashTagEntity -> ShowS show :: HashTagEntity -> String showList :: [HashTagEntity] -> ShowS | |
Generic HashTagEntity Source # | |
Defined in Web.Twitter.Types Associated Types type Rep HashTagEntity :: Type -> Type | |
ToJSON HashTagEntity Source # | |
Defined in Web.Twitter.Types Methods toJSON :: HashTagEntity -> Value Source # toEncoding :: HashTagEntity -> Encoding Source # toJSONList :: [HashTagEntity] -> Value Source # toEncodingList :: [HashTagEntity] -> Encoding Source # | |
FromJSON HashTagEntity Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser HashTagEntity Source # parseJSONList :: Value -> Parser [HashTagEntity] Source # | |
type Rep HashTagEntity Source # | |
Defined in Web.Twitter.Types type Rep HashTagEntity = D1 ('MetaData "HashTagEntity" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "HashTagEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "hashTagText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
data UserEntity Source #
User mention entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-usermention.
Constructors
UserEntity | |
Fields
|
Instances
Eq UserEntity Source # | |
Defined in Web.Twitter.Types | |
Data UserEntity Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserEntity toConstr :: UserEntity -> Constr dataTypeOf :: UserEntity -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserEntity) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserEntity) gmapT :: (forall b. Data b => b -> b) -> UserEntity -> UserEntity gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserEntity -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserEntity -> r gmapQ :: (forall d. Data d => d -> u) -> UserEntity -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> UserEntity -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity | |
Show UserEntity Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> UserEntity -> ShowS show :: UserEntity -> String showList :: [UserEntity] -> ShowS | |
Generic UserEntity Source # | |
Defined in Web.Twitter.Types Associated Types type Rep UserEntity :: Type -> Type | |
ToJSON UserEntity Source # | |
Defined in Web.Twitter.Types Methods toJSON :: UserEntity -> Value Source # toEncoding :: UserEntity -> Encoding Source # toJSONList :: [UserEntity] -> Value Source # toEncodingList :: [UserEntity] -> Encoding Source # | |
FromJSON UserEntity Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser UserEntity Source # parseJSONList :: Value -> Parser [UserEntity] Source # | |
type Rep UserEntity Source # | |
Defined in Web.Twitter.Types type Rep UserEntity = D1 ('MetaData "UserEntity" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" '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)))) |
URL entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-url.
Constructors
URLEntity | |
Fields
|
Instances
Eq URLEntity Source # | |
Data URLEntity Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URLEntity toConstr :: URLEntity -> Constr dataTypeOf :: URLEntity -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URLEntity) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URLEntity) gmapT :: (forall b. Data b => b -> b) -> URLEntity -> URLEntity gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URLEntity -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URLEntity -> r gmapQ :: (forall d. Data d => d -> u) -> URLEntity -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> URLEntity -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity | |
Show URLEntity Source # | |
Generic URLEntity Source # | |
ToJSON URLEntity Source # | |
FromJSON URLEntity Source # | |
type Rep URLEntity Source # | |
Defined in Web.Twitter.Types type Rep URLEntity = D1 ('MetaData "URLEntity" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "URLEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "ueURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: (S1 ('MetaSel ('Just "ueExpanded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "ueDisplay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
data MediaEntity Source #
Constructors
MediaEntity | |
Instances
Eq MediaEntity Source # | |
Defined in Web.Twitter.Types | |
Data MediaEntity Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaEntity toConstr :: MediaEntity -> Constr dataTypeOf :: MediaEntity -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaEntity) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaEntity) gmapT :: (forall b. Data b => b -> b) -> MediaEntity -> MediaEntity gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaEntity -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaEntity -> r gmapQ :: (forall d. Data d => d -> u) -> MediaEntity -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaEntity -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity | |
Show MediaEntity Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> MediaEntity -> ShowS show :: MediaEntity -> String showList :: [MediaEntity] -> ShowS | |
Generic MediaEntity Source # | |
Defined in Web.Twitter.Types Associated Types type Rep MediaEntity :: Type -> Type | |
ToJSON MediaEntity Source # | |
Defined in Web.Twitter.Types Methods toJSON :: MediaEntity -> Value Source # toEncoding :: MediaEntity -> Encoding Source # toJSONList :: [MediaEntity] -> Value Source # toEncodingList :: [MediaEntity] -> Encoding Source # | |
FromJSON MediaEntity Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser MediaEntity Source # parseJSONList :: Value -> Parser [MediaEntity] Source # | |
type Rep MediaEntity Source # | |
Defined in Web.Twitter.Types type Rep MediaEntity = D1 ('MetaData "MediaEntity" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" '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))))) |
Size entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-size.
Instances
Eq MediaSize Source # | |
Data MediaSize Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaSize toConstr :: MediaSize -> Constr dataTypeOf :: MediaSize -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaSize) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaSize) gmapT :: (forall b. Data b => b -> b) -> MediaSize -> MediaSize gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaSize -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaSize -> r gmapQ :: (forall d. Data d => d -> u) -> MediaSize -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaSize -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize | |
Show MediaSize Source # | |
Generic MediaSize Source # | |
ToJSON MediaSize Source # | |
FromJSON MediaSize Source # | |
type Rep MediaSize Source # | |
Defined in Web.Twitter.Types type Rep MediaSize = D1 ('MetaData "MediaSize" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "MediaSize" 'PrefixI 'True) (S1 ('MetaSel ('Just "msWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "msHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "msResize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
data Coordinates Source #
Constructors
Coordinates | |
Fields
|
Instances
Eq Coordinates Source # | |
Defined in Web.Twitter.Types | |
Data Coordinates Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Coordinates toConstr :: Coordinates -> Constr dataTypeOf :: Coordinates -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Coordinates) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Coordinates) gmapT :: (forall b. Data b => b -> b) -> Coordinates -> Coordinates gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Coordinates -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Coordinates -> r gmapQ :: (forall d. Data d => d -> u) -> Coordinates -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Coordinates -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates | |
Show Coordinates Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> Coordinates -> ShowS show :: Coordinates -> String showList :: [Coordinates] -> ShowS | |
Generic Coordinates Source # | |
Defined in Web.Twitter.Types Associated Types type Rep Coordinates :: Type -> Type | |
ToJSON Coordinates Source # | |
Defined in Web.Twitter.Types Methods toJSON :: Coordinates -> Value Source # toEncoding :: Coordinates -> Encoding Source # toJSONList :: [Coordinates] -> Value Source # toEncodingList :: [Coordinates] -> Encoding Source # | |
FromJSON Coordinates Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Coordinates Source # parseJSONList :: Value -> Parser [Coordinates] Source # | |
type Rep Coordinates Source # | |
Defined in Web.Twitter.Types type Rep Coordinates = D1 ('MetaData "Coordinates" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "Coordinates" 'PrefixI 'True) (S1 ('MetaSel ('Just "coordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Double]) :*: S1 ('MetaSel ('Just "coordinatesType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
This type represents a place, named locations with corresponding geo coordinates. See https://dev.twitter.com/docs/platform-objects/places.
Constructors
Place | |
Fields
|
Instances
Eq Place Source # | |
Data Place Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Place dataTypeOf :: Place -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Place) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Place) gmapT :: (forall b. Data b => b -> b) -> Place -> Place gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r gmapQ :: (forall d. Data d => d -> u) -> Place -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Place -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Place -> m Place gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place | |
Show Place Source # | |
Generic Place Source # | |
ToJSON Place Source # | |
FromJSON Place Source # | |
type Rep Place Source # | |
Defined in Web.Twitter.Types type Rep Place = D1 ('MetaData "Place" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "Place" 'PrefixI 'True) (((S1 ('MetaSel ('Just "placeAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text Text)) :*: S1 ('MetaSel ('Just "placeBoundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BoundingBox))) :*: (S1 ('MetaSel ('Just "placeCountry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "placeFullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "placeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "placeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))) |
data BoundingBox Source #
A bounding box of coordinates which encloses the place. See https://dev.twitter.com/docs/platform-objects/places#obj-boundingbox.
Constructors
BoundingBox | |
Fields
|
Instances
Eq BoundingBox Source # | |
Defined in Web.Twitter.Types | |
Data BoundingBox Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BoundingBox toConstr :: BoundingBox -> Constr dataTypeOf :: BoundingBox -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BoundingBox) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BoundingBox) gmapT :: (forall b. Data b => b -> b) -> BoundingBox -> BoundingBox gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BoundingBox -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BoundingBox -> r gmapQ :: (forall d. Data d => d -> u) -> BoundingBox -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> BoundingBox -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox | |
Show BoundingBox Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> BoundingBox -> ShowS show :: BoundingBox -> String showList :: [BoundingBox] -> ShowS | |
Generic BoundingBox Source # | |
Defined in Web.Twitter.Types Associated Types type Rep BoundingBox :: Type -> Type | |
ToJSON BoundingBox Source # | |
Defined in Web.Twitter.Types Methods toJSON :: BoundingBox -> Value Source # toEncoding :: BoundingBox -> Encoding Source # toJSONList :: [BoundingBox] -> Value Source # toEncodingList :: [BoundingBox] -> Encoding Source # | |
FromJSON BoundingBox Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser BoundingBox Source # parseJSONList :: Value -> Parser [BoundingBox] Source # | |
type Rep BoundingBox Source # | |
Defined in Web.Twitter.Types type Rep BoundingBox = D1 ('MetaData "BoundingBox" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "BoundingBox" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBoxCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[[Double]]]) :*: S1 ('MetaSel ('Just "boundingBoxType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
data Contributor Source #
Constructors
Contributor | |
Fields
|
Instances
Eq Contributor Source # | |
Defined in Web.Twitter.Types | |
Data Contributor Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Contributor toConstr :: Contributor -> Constr dataTypeOf :: Contributor -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Contributor) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Contributor) gmapT :: (forall b. Data b => b -> b) -> Contributor -> Contributor gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r gmapQ :: (forall d. Data d => d -> u) -> Contributor -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Contributor -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor | |
Show Contributor Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> Contributor -> ShowS show :: Contributor -> String showList :: [Contributor] -> ShowS | |
Generic Contributor Source # | |
Defined in Web.Twitter.Types Associated Types type Rep Contributor :: Type -> Type | |
ToJSON Contributor Source # | |
Defined in Web.Twitter.Types Methods toJSON :: Contributor -> Value Source # toEncoding :: Contributor -> Encoding Source # toJSONList :: [Contributor] -> Value Source # toEncodingList :: [Contributor] -> Encoding Source # | |
FromJSON Contributor Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Contributor Source # parseJSONList :: Value -> Parser [Contributor] Source # | |
type Rep Contributor Source # | |
Defined in Web.Twitter.Types type Rep Contributor = D1 ('MetaData "Contributor" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "Contributor" 'PrefixI 'True) (S1 ('MetaSel ('Just "contributorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: S1 ('MetaSel ('Just "contributorScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) |
data UploadedMedia Source #
This type is represents the API response of "/1.1/media/upload.json". See https://dev.twitter.com/docs/api/multiple-media-extended-entities.
Constructors
UploadedMedia | |
Fields
|
Instances
Eq UploadedMedia Source # | |
Defined in Web.Twitter.Types | |
Data UploadedMedia Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UploadedMedia toConstr :: UploadedMedia -> Constr dataTypeOf :: UploadedMedia -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UploadedMedia) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UploadedMedia) gmapT :: (forall b. Data b => b -> b) -> UploadedMedia -> UploadedMedia gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UploadedMedia -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UploadedMedia -> r gmapQ :: (forall d. Data d => d -> u) -> UploadedMedia -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> UploadedMedia -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia | |
Show UploadedMedia Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> UploadedMedia -> ShowS show :: UploadedMedia -> String showList :: [UploadedMedia] -> ShowS | |
Generic UploadedMedia Source # | |
Defined in Web.Twitter.Types Associated Types type Rep UploadedMedia :: Type -> Type | |
ToJSON UploadedMedia Source # | |
Defined in Web.Twitter.Types Methods toJSON :: UploadedMedia -> Value Source # toEncoding :: UploadedMedia -> Encoding Source # toJSONList :: [UploadedMedia] -> Value Source # toEncodingList :: [UploadedMedia] -> Encoding Source # | |
FromJSON UploadedMedia Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser UploadedMedia Source # parseJSONList :: Value -> Parser [UploadedMedia] Source # | |
type Rep UploadedMedia Source # | |
Defined in Web.Twitter.Types type Rep UploadedMedia = D1 ('MetaData "UploadedMedia" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "UploadedMedia" 'PrefixI 'True) (S1 ('MetaSel ('Just "uploadedMediaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "uploadedMediaSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "uploadedMediaImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImageSizeType)))) |
data ImageSizeType Source #
Image size type. This type is included in the API response of "/1.1/media/upload.json".
Constructors
ImageSizeType | |
Fields
|
Instances
Eq ImageSizeType Source # | |
Defined in Web.Twitter.Types | |
Data ImageSizeType Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageSizeType toConstr :: ImageSizeType -> Constr dataTypeOf :: ImageSizeType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImageSizeType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageSizeType) gmapT :: (forall b. Data b => b -> b) -> ImageSizeType -> ImageSizeType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageSizeType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageSizeType -> r gmapQ :: (forall d. Data d => d -> u) -> ImageSizeType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageSizeType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType | |
Show ImageSizeType Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> ImageSizeType -> ShowS show :: ImageSizeType -> String showList :: [ImageSizeType] -> ShowS | |
Generic ImageSizeType Source # | |
Defined in Web.Twitter.Types Associated Types type Rep ImageSizeType :: Type -> Type | |
ToJSON ImageSizeType Source # | |
Defined in Web.Twitter.Types Methods toJSON :: ImageSizeType -> Value Source # toEncoding :: ImageSizeType -> Encoding Source # toJSONList :: [ImageSizeType] -> Value Source # toEncodingList :: [ImageSizeType] -> Encoding Source # | |
FromJSON ImageSizeType Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ImageSizeType Source # parseJSONList :: Value -> Parser [ImageSizeType] Source # | |
type Rep ImageSizeType Source # | |
Defined in Web.Twitter.Types type Rep ImageSizeType = D1 ('MetaData "ImageSizeType" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "ImageSizeType" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageSizeTypeWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "imageSizeTypeHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "imageSizeTypeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
data DisplayTextRange Source #
unicode code point indices, identifying the inclusive start and exclusive end of the displayable content of the Tweet.
Constructors
DisplayTextRange | |
Fields
|
Instances
Eq DisplayTextRange Source # | |
Defined in Web.Twitter.Types Methods (==) :: DisplayTextRange -> DisplayTextRange -> Bool (/=) :: DisplayTextRange -> DisplayTextRange -> Bool | |
Data DisplayTextRange Source # | |
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 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisplayTextRange toConstr :: DisplayTextRange -> Constr dataTypeOf :: DisplayTextRange -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DisplayTextRange) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisplayTextRange) gmapT :: (forall b. Data b => b -> b) -> DisplayTextRange -> DisplayTextRange gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisplayTextRange -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisplayTextRange -> r gmapQ :: (forall d. Data d => d -> u) -> DisplayTextRange -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> DisplayTextRange -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisplayTextRange -> m DisplayTextRange gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisplayTextRange -> m DisplayTextRange gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisplayTextRange -> m DisplayTextRange | |
Ord DisplayTextRange Source # | |
Defined in Web.Twitter.Types Methods compare :: DisplayTextRange -> DisplayTextRange -> Ordering (<) :: DisplayTextRange -> DisplayTextRange -> Bool (<=) :: DisplayTextRange -> DisplayTextRange -> Bool (>) :: DisplayTextRange -> DisplayTextRange -> Bool (>=) :: DisplayTextRange -> DisplayTextRange -> Bool max :: DisplayTextRange -> DisplayTextRange -> DisplayTextRange min :: DisplayTextRange -> DisplayTextRange -> DisplayTextRange | |
Show DisplayTextRange Source # | |
Defined in Web.Twitter.Types Methods showsPrec :: Int -> DisplayTextRange -> ShowS show :: DisplayTextRange -> String showList :: [DisplayTextRange] -> ShowS | |
Generic DisplayTextRange Source # | |
Defined in Web.Twitter.Types Associated Types type Rep DisplayTextRange :: Type -> Type Methods from :: DisplayTextRange -> Rep DisplayTextRange x to :: Rep DisplayTextRange x -> DisplayTextRange | |
ToJSON DisplayTextRange Source # | |
Defined in Web.Twitter.Types Methods toJSON :: DisplayTextRange -> Value Source # toEncoding :: DisplayTextRange -> Encoding Source # toJSONList :: [DisplayTextRange] -> Value Source # toEncodingList :: [DisplayTextRange] -> Encoding Source # | |
FromJSON DisplayTextRange Source # | |
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser DisplayTextRange Source # parseJSONList :: Value -> Parser [DisplayTextRange] Source # | |
type Rep DisplayTextRange Source # | |
Defined in Web.Twitter.Types type Rep DisplayTextRange = D1 ('MetaData "DisplayTextRange" "Web.Twitter.Types" "twitter-types-0.10.1-4sqymZUbq466KDzM9XtdcT" 'False) (C1 ('MetaCons "DisplayTextRange" 'PrefixI 'True) (S1 ('MetaSel ('Just "displayTextRangeStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "displayTextRangeEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
checkError :: Object -> Parser () Source #
twitterTimeFormat :: String Source #