| 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 {}
- 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 {}
- 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 Variant = Variant {}
- data VideoInfo = VideoInfo {
- vsAspectRatio :: [Int]
- vsDurationMillis :: Maybe Int
- vsVariants :: [Variant]
- data ExtendedEntity = ExtendedEntity {}
- data Entity a = Entity {
- entityBody :: a
- entityIndices :: EntityIndices
- data HashTagEntity = HashTagEntity {
- hashTagText :: Text
- data UserEntity = UserEntity {}
- data URLEntity = URLEntity {}
- data MediaEntity = MediaEntity {}
- data MediaSize = MediaSize {}
- data Coordinates = Coordinates {
- coordinates :: [Double]
- coordinatesType :: Text
- data Place = Place {}
- data BoundingBox = BoundingBox {
- boundingBoxCoordinates :: [[[Double]]]
- boundingBoxType :: Text
- data Contributor = Contributor {}
- data UploadedMedia = UploadedMedia {}
- data ImageSizeType = ImageSizeType {}
- data DisplayTextRange = DisplayTextRange {}
- 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
This type represents a Twitter tweet structure. See https://dev.twitter.com/docs/platform-objects/tweets.
Constructors
| Status | |
Fields
| |
Instances
| FromJSON Status Source # | |||||
| ToJSON 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status Source # toConstr :: Status -> Constr Source # dataTypeOf :: Status -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) Source # gmapT :: (forall b. Data b => b -> b) -> Status -> Status Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status Source # | |||||
| Generic Status Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Status Source # | |||||
| Eq Status Source # | |||||
| type Rep Status Source # | |||||
Defined in Web.Twitter.Types type Rep Status = D1 ('MetaData "Status" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Status" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "statusContributors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Contributor])) :*: (S1 ('MetaSel ('Just "statusCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates)) :*: S1 ('MetaSel ('Just "statusCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime))) :*: ((S1 ('MetaSel ('Just "statusCurrentUserRetweet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)) :*: S1 ('MetaSel ('Just "statusEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Entities))) :*: (S1 ('MetaSel ('Just "statusExtendedEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtendedEntities)) :*: S1 ('MetaSel ('Just "statusFavoriteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) :*: (((S1 ('MetaSel ('Just "statusFavorited") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusFilterLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "statusInReplyToScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "statusInReplyToStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)) :*: S1 ('MetaSel ('Just "statusInReplyToUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UserId))) :*: (S1 ('MetaSel ('Just "statusLang") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "statusPlace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Place)))))) :*: (((S1 ('MetaSel ('Just "statusPossiblySensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "statusScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "statusQuotedStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StatusId)))) :*: ((S1 ('MetaSel ('Just "statusQuotedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "statusRetweetCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "statusRetweeted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusRetweetedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Status))))) :*: (((S1 ('MetaSel ('Just "statusSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "statusTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "statusUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User))) :*: ((S1 ('MetaSel ('Just "statusWithheldCopyright") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "statusWithheldInCountries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "statusWithheldScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusDisplayTextRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DisplayTextRange)))))))) | |||||
data SearchResult body Source #
Constructors
| SearchResult | |
Fields | |
Instances
| FromJSON body => FromJSON (SearchResult body) Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser (SearchResult body) Source # parseJSONList :: Value -> Parser [SearchResult body] Source # omittedField :: Maybe (SearchResult body) Source # | |||||
| ToJSON body => ToJSON (SearchResult body) Source # | |||||
Defined in Web.Twitter.Types Methods toJSON :: SearchResult body -> Value Source # toEncoding :: SearchResult body -> Encoding Source # toJSONList :: [SearchResult body] -> Value Source # toEncodingList :: [SearchResult body] -> Encoding Source # omitField :: SearchResult body -> Bool Source # | |||||
| Data body => Data (SearchResult body) Source # | |||||
Defined in Web.Twitter.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchResult body -> c (SearchResult body) Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (SearchResult body) Source # toConstr :: SearchResult body -> Constr Source # dataTypeOf :: SearchResult body -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (SearchResult body)) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (SearchResult body)) Source # gmapT :: (forall b. Data b => b -> b) -> SearchResult body -> SearchResult body Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult body -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult body -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SearchResult body -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchResult body -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) Source # | |||||
| Generic (SearchResult body) Source # | |||||
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) Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq body => Eq (SearchResult body) Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: SearchResult body -> SearchResult body -> Bool Source # (/=) :: SearchResult body -> SearchResult body -> Bool Source # | |||||
| type Rep (SearchResult body) Source # | |||||
Defined in Web.Twitter.Types type Rep (SearchResult body) = D1 ('MetaData "SearchResult" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "searchResultStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 body) :*: S1 ('MetaSel ('Just "searchResultSearchMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SearchMetadata))) | |||||
data SearchStatus Source #
Constructors
| SearchStatus | |
Instances
| FromJSON SearchStatus Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser SearchStatus Source # parseJSONList :: Value -> Parser [SearchStatus] Source # | |||||
| 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 # omitField :: SearchStatus -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchStatus Source # toConstr :: SearchStatus -> Constr Source # dataTypeOf :: SearchStatus -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchStatus) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchStatus) Source # gmapT :: (forall b. Data b => b -> b) -> SearchStatus -> SearchStatus Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SearchStatus -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchStatus -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus Source # | |||||
| Generic SearchStatus Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: SearchStatus -> Rep SearchStatus x Source # to :: Rep SearchStatus x -> SearchStatus Source # | |||||
| Show SearchStatus Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq SearchStatus Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: SearchStatus -> SearchStatus -> Bool Source # (/=) :: SearchStatus -> SearchStatus -> Bool Source # | |||||
| type Rep SearchStatus Source # | |||||
Defined in Web.Twitter.Types type Rep SearchStatus = D1 ('MetaData "SearchStatus" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchStatus" 'PrefixI 'True) ((S1 ('MetaSel ('Just "searchStatusCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "searchStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchStatusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "searchStatusSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "searchStatusUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "searchStatusCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates)))))) | |||||
data SearchMetadata Source #
Constructors
| SearchMetadata | |
Fields
| |
Instances
| FromJSON SearchMetadata Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser SearchMetadata Source # parseJSONList :: Value -> Parser [SearchMetadata] Source # | |||||
| 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 # omitField :: SearchMetadata -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchMetadata Source # toConstr :: SearchMetadata -> Constr Source # dataTypeOf :: SearchMetadata -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchMetadata) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchMetadata) Source # gmapT :: (forall b. Data b => b -> b) -> SearchMetadata -> SearchMetadata Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchMetadata -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchMetadata -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SearchMetadata -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchMetadata -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata Source # | |||||
| Generic SearchMetadata Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: SearchMetadata -> Rep SearchMetadata x Source # to :: Rep SearchMetadata x -> SearchMetadata Source # | |||||
| Show SearchMetadata Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq SearchMetadata Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: SearchMetadata -> SearchMetadata -> Bool Source # (/=) :: SearchMetadata -> SearchMetadata -> Bool Source # | |||||
| type Rep SearchMetadata Source # | |||||
Defined in Web.Twitter.Types type Rep SearchMetadata = D1 ('MetaData "SearchMetadata" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "SearchMetadata" 'PrefixI 'True) (((S1 ('MetaSel ('Just "searchMetadataMaxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId) :*: S1 ('MetaSel ('Just "searchMetadataSinceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "searchMetadataRefreshURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "searchMetadataNextResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe URIString)))) :*: ((S1 ('MetaSel ('Just "searchMetadataCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "searchMetadataCompletedIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Float))) :*: (S1 ('MetaSel ('Just "searchMetadataSinceIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "searchMetadataQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "searchMetadataMaxIdStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))))) | |||||
data RetweetedStatus Source #
Constructors
| RetweetedStatus | |
Fields
| |
Instances
| FromJSON RetweetedStatus Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser RetweetedStatus Source # parseJSONList :: Value -> Parser [RetweetedStatus] Source # | |||||
| 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 # omitField :: RetweetedStatus -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RetweetedStatus Source # toConstr :: RetweetedStatus -> Constr Source # dataTypeOf :: RetweetedStatus -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RetweetedStatus) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RetweetedStatus) Source # gmapT :: (forall b. Data b => b -> b) -> RetweetedStatus -> RetweetedStatus Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RetweetedStatus -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RetweetedStatus -> r Source # gmapQ :: (forall d. Data d => d -> u) -> RetweetedStatus -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> RetweetedStatus -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus Source # | |||||
| Generic RetweetedStatus Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: RetweetedStatus -> Rep RetweetedStatus x Source # to :: Rep RetweetedStatus x -> RetweetedStatus Source # | |||||
| Show RetweetedStatus Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq RetweetedStatus Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: RetweetedStatus -> RetweetedStatus -> Bool Source # (/=) :: RetweetedStatus -> RetweetedStatus -> Bool Source # | |||||
| type Rep RetweetedStatus Source # | |||||
Defined in Web.Twitter.Types type Rep RetweetedStatus = D1 ('MetaData "RetweetedStatus" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "RetweetedStatus" 'PrefixI 'True) (((S1 ('MetaSel ('Just "rsCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "rsId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StatusId)) :*: (S1 ('MetaSel ('Just "rsText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "rsSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "rsTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "rsEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Entities))) :*: (S1 ('MetaSel ('Just "rsUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: (S1 ('MetaSel ('Just "rsRetweetedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status) :*: S1 ('MetaSel ('Just "rsCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Coordinates))))))) | |||||
data DirectMessage Source #
Constructors
| DirectMessage | |
Fields
| |
Instances
| FromJSON DirectMessage Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser DirectMessage Source # parseJSONList :: Value -> Parser [DirectMessage] Source # | |||||
| 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 # omitField :: DirectMessage -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DirectMessage Source # toConstr :: DirectMessage -> Constr Source # dataTypeOf :: DirectMessage -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DirectMessage) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DirectMessage) Source # gmapT :: (forall b. Data b => b -> b) -> DirectMessage -> DirectMessage Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DirectMessage -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DirectMessage -> r Source # gmapQ :: (forall d. Data d => d -> u) -> DirectMessage -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> DirectMessage -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage Source # | |||||
| Generic DirectMessage Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: DirectMessage -> Rep DirectMessage x Source # to :: Rep DirectMessage x -> DirectMessage Source # | |||||
| Show DirectMessage Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq DirectMessage Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: DirectMessage -> DirectMessage -> Bool Source # (/=) :: DirectMessage -> DirectMessage -> Bool Source # | |||||
| type Rep DirectMessage Source # | |||||
Defined in Web.Twitter.Types | |||||
data EventTarget Source #
Instances
| FromJSON EventTarget Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser EventTarget Source # parseJSONList :: Value -> Parser [EventTarget] Source # | |||||
| 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 # omitField :: EventTarget -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventTarget Source # toConstr :: EventTarget -> Constr Source # dataTypeOf :: EventTarget -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EventTarget) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventTarget) Source # gmapT :: (forall b. Data b => b -> b) -> EventTarget -> EventTarget Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventTarget -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventTarget -> r Source # gmapQ :: (forall d. Data d => d -> u) -> EventTarget -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> EventTarget -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget Source # | |||||
| Generic EventTarget Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: EventTarget -> Rep EventTarget x Source # to :: Rep EventTarget x -> EventTarget Source # | |||||
| Show EventTarget Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq EventTarget Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: EventTarget -> EventTarget -> Bool Source # (/=) :: EventTarget -> EventTarget -> Bool Source # | |||||
| type Rep EventTarget Source # | |||||
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)))) | |||||
Constructors
| Event | |
Fields
| |
Instances
| FromJSON Event Source # | |||||
| ToJSON 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Event Source # toConstr :: Event -> Constr Source # dataTypeOf :: Event -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Event) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Event) Source # gmapT :: (forall b. Data b => b -> b) -> Event -> Event Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Event -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Event -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Event -> m Event Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event Source # | |||||
| Generic Event Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Event Source # | |||||
| Eq Event Source # | |||||
| type Rep Event Source # | |||||
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))))) | |||||
Instances
| FromJSON Delete Source # | |||||
| ToJSON 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Delete Source # toConstr :: Delete -> Constr Source # dataTypeOf :: Delete -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Delete) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Delete) Source # gmapT :: (forall b. Data b => b -> b) -> Delete -> Delete Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Delete -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Delete -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Delete -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Delete -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Delete -> m Delete Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete -> m Delete Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete -> m Delete Source # | |||||
| Generic Delete Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Delete Source # | |||||
| Eq Delete Source # | |||||
| type Rep Delete Source # | |||||
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))) | |||||
This type represents the Twitter user. See https://dev.twitter.com/docs/platform-objects/users.
Constructors
| User | |
Fields
| |
Instances
| FromJSON User Source # | |||||
| ToJSON 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c User Source # toConstr :: User -> Constr Source # dataTypeOf :: User -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c User) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c User) Source # gmapT :: (forall b. Data b => b -> b) -> User -> User Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> User -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> User -> r Source # gmapQ :: (forall d. Data d => d -> u) -> User -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> User -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> User -> m User Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User Source # | |||||
| Generic User Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show User Source # | |||||
| Eq User Source # | |||||
| type Rep User Source # | |||||
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))))))))) | |||||
Constructors
| List | |
Fields
| |
Instances
| FromJSON List Source # | |||||
| ToJSON 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c List Source # toConstr :: List -> Constr Source # dataTypeOf :: List -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c List) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c List) Source # gmapT :: (forall b. Data b => b -> b) -> List -> List Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> List -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> List -> r Source # gmapQ :: (forall d. Data d => d -> u) -> List -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> List -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> List -> m List Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> List -> m List Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> List -> m List Source # | |||||
| Generic List Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show List Source # | |||||
| Eq List Source # | |||||
| type Rep List Source # | |||||
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))))) | |||||
Entity handling. See https://dev.twitter.com/docs/platform-objects/entities.
Constructors
| Entities | |
Fields
| |
Instances
| FromJSON Entities Source # | |||||
| ToJSON 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Entities Source # toConstr :: Entities -> Constr Source # dataTypeOf :: Entities -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Entities) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Entities) Source # gmapT :: (forall b. Data b => b -> b) -> Entities -> Entities Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entities -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entities -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Entities -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Entities -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entities -> m Entities Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entities -> m Entities Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entities -> m Entities Source # | |||||
| Generic Entities Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Entities Source # | |||||
| Eq Entities Source # | |||||
| type Rep Entities Source # | |||||
Defined in Web.Twitter.Types type Rep Entities = D1 ('MetaData "Entities" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enHashTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity HashTagEntity]) :*: S1 ('MetaSel ('Just "enUserMentions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity UserEntity])) :*: (S1 ('MetaSel ('Just "enURLs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity URLEntity]) :*: S1 ('MetaSel ('Just "enMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity MediaEntity])))) | |||||
type EntityIndices = [Int] Source #
The character positions the Entity was extracted from
This is experimental implementation. This may be replaced by more definite types.
data ExtendedEntities Source #
Constructors
| ExtendedEntities | |
Fields
| |
Instances
| FromJSON ExtendedEntities Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ExtendedEntities Source # parseJSONList :: Value -> Parser [ExtendedEntities] Source # | |||||
| 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 # omitField :: ExtendedEntities -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExtendedEntities Source # toConstr :: ExtendedEntities -> Constr Source # dataTypeOf :: ExtendedEntities -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExtendedEntities) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExtendedEntities) Source # gmapT :: (forall b. Data b => b -> b) -> ExtendedEntities -> ExtendedEntities Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntities -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntities -> r Source # gmapQ :: (forall d. Data d => d -> u) -> ExtendedEntities -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> ExtendedEntities -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExtendedEntities -> m ExtendedEntities Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntities -> m ExtendedEntities Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntities -> m ExtendedEntities Source # | |||||
| Generic ExtendedEntities Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: ExtendedEntities -> Rep ExtendedEntities x Source # to :: Rep ExtendedEntities x -> ExtendedEntities Source # | |||||
| Show ExtendedEntities Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq ExtendedEntities Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: ExtendedEntities -> ExtendedEntities -> Bool Source # (/=) :: ExtendedEntities -> ExtendedEntities -> Bool Source # | |||||
| type Rep ExtendedEntities Source # | |||||
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]))) | |||||
Instances
| FromJSON Variant Source # | |||||
| ToJSON Variant Source # | |||||
| Data Variant Source # | |||||
Defined in Web.Twitter.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Variant -> c Variant Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Variant Source # toConstr :: Variant -> Constr Source # dataTypeOf :: Variant -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Variant) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Variant) Source # gmapT :: (forall b. Data b => b -> b) -> Variant -> Variant Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Variant -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Variant -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Variant -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Variant -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Variant -> m Variant Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Variant -> m Variant Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Variant -> m Variant Source # | |||||
| Generic Variant Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Variant Source # | |||||
| Eq Variant Source # | |||||
| type Rep Variant Source # | |||||
Defined in Web.Twitter.Types type Rep Variant = D1 ('MetaData "Variant" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Variant" 'PrefixI 'True) (S1 ('MetaSel ('Just "vBitrate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "vContentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "vUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString)))) | |||||
Constructors
| VideoInfo | |
Fields
| |
Instances
| FromJSON VideoInfo Source # | |||||
| ToJSON VideoInfo Source # | |||||
| Data VideoInfo Source # | |||||
Defined in Web.Twitter.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VideoInfo -> c VideoInfo Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VideoInfo Source # toConstr :: VideoInfo -> Constr Source # dataTypeOf :: VideoInfo -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VideoInfo) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VideoInfo) Source # gmapT :: (forall b. Data b => b -> b) -> VideoInfo -> VideoInfo Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VideoInfo -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VideoInfo -> r Source # gmapQ :: (forall d. Data d => d -> u) -> VideoInfo -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> VideoInfo -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> VideoInfo -> m VideoInfo Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VideoInfo -> m VideoInfo Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VideoInfo -> m VideoInfo Source # | |||||
| Generic VideoInfo Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show VideoInfo Source # | |||||
| Eq VideoInfo Source # | |||||
| type Rep VideoInfo Source # | |||||
Defined in Web.Twitter.Types type Rep VideoInfo = D1 ('MetaData "VideoInfo" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "VideoInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "vsAspectRatio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Int]) :*: (S1 ('MetaSel ('Just "vsDurationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "vsVariants") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Variant])))) | |||||
data ExtendedEntity Source #
Constructors
| ExtendedEntity | |
Fields
| |
Instances
| FromJSON ExtendedEntity Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ExtendedEntity Source # parseJSONList :: Value -> Parser [ExtendedEntity] Source # | |||||
| 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 # omitField :: ExtendedEntity -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExtendedEntity Source # toConstr :: ExtendedEntity -> Constr Source # dataTypeOf :: ExtendedEntity -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExtendedEntity) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExtendedEntity) Source # gmapT :: (forall b. Data b => b -> b) -> ExtendedEntity -> ExtendedEntity Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntity -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedEntity -> r Source # gmapQ :: (forall d. Data d => d -> u) -> ExtendedEntity -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> ExtendedEntity -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExtendedEntity -> m ExtendedEntity Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntity -> m ExtendedEntity Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedEntity -> m ExtendedEntity Source # | |||||
| Generic ExtendedEntity Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: ExtendedEntity -> Rep ExtendedEntity x Source # to :: Rep ExtendedEntity x -> ExtendedEntity Source # | |||||
| Show ExtendedEntity Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq ExtendedEntity Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: ExtendedEntity -> ExtendedEntity -> Bool Source # (/=) :: ExtendedEntity -> ExtendedEntity -> Bool Source # | |||||
| type Rep ExtendedEntity Source # | |||||
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)))))) | |||||
Constructors
| Entity | |
Fields
| |
Instances
| Generic1 Entity Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| FromJSON a => FromJSON (Entity a) Source # | |||||
| ToJSON a => ToJSON (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) Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Entity a) Source # toConstr :: Entity a -> Constr Source # dataTypeOf :: Entity a -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Entity a)) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Entity a)) Source # gmapT :: (forall b. Data b => b -> b) -> Entity a -> Entity a Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entity a -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entity a -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Entity a -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Entity a -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) Source # | |||||
| Generic (Entity a) Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show a => Show (Entity a) Source # | |||||
| Eq a => Eq (Entity a) Source # | |||||
| type Rep1 Entity Source # | |||||
Defined in Web.Twitter.Types type Rep1 Entity = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1 :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices))) | |||||
| type Rep (Entity a) Source # | |||||
Defined in Web.Twitter.Types type Rep (Entity a) = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices))) | |||||
data HashTagEntity Source #
Hashtag entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-hashtags.
Constructors
| HashTagEntity | |
Fields
| |
Instances
| FromJSON HashTagEntity Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser HashTagEntity Source # parseJSONList :: Value -> Parser [HashTagEntity] Source # | |||||
| 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 # omitField :: HashTagEntity -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HashTagEntity Source # toConstr :: HashTagEntity -> Constr Source # dataTypeOf :: HashTagEntity -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HashTagEntity) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HashTagEntity) Source # gmapT :: (forall b. Data b => b -> b) -> HashTagEntity -> HashTagEntity Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HashTagEntity -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HashTagEntity -> r Source # gmapQ :: (forall d. Data d => d -> u) -> HashTagEntity -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> HashTagEntity -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity Source # | |||||
| Generic HashTagEntity Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: HashTagEntity -> Rep HashTagEntity x Source # to :: Rep HashTagEntity x -> HashTagEntity Source # | |||||
| Show HashTagEntity Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq HashTagEntity Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: HashTagEntity -> HashTagEntity -> Bool Source # (/=) :: HashTagEntity -> HashTagEntity -> Bool Source # | |||||
| type Rep HashTagEntity Source # | |||||
Defined in Web.Twitter.Types type Rep HashTagEntity = D1 ('MetaData "HashTagEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "HashTagEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "hashTagText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data UserEntity Source #
User mention entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-usermention.
Constructors
| UserEntity | |
Fields | |
Instances
| FromJSON UserEntity Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser UserEntity Source # parseJSONList :: Value -> Parser [UserEntity] Source # | |||||
| 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 # omitField :: UserEntity -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserEntity Source # toConstr :: UserEntity -> Constr Source # dataTypeOf :: UserEntity -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserEntity) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserEntity) Source # gmapT :: (forall b. Data b => b -> b) -> UserEntity -> UserEntity Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserEntity -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserEntity -> r Source # gmapQ :: (forall d. Data d => d -> u) -> UserEntity -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> UserEntity -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity Source # | |||||
| Generic UserEntity Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show UserEntity Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq UserEntity Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: UserEntity -> UserEntity -> Bool Source # (/=) :: UserEntity -> UserEntity -> Bool Source # | |||||
| type Rep UserEntity Source # | |||||
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)))) | |||||
URL entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-url.
Constructors
| URLEntity | |
Instances
| FromJSON URLEntity Source # | |||||
| ToJSON 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URLEntity Source # toConstr :: URLEntity -> Constr Source # dataTypeOf :: URLEntity -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URLEntity) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URLEntity) Source # gmapT :: (forall b. Data b => b -> b) -> URLEntity -> URLEntity Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URLEntity -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URLEntity -> r Source # gmapQ :: (forall d. Data d => d -> u) -> URLEntity -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> URLEntity -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity Source # | |||||
| Generic URLEntity Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show URLEntity Source # | |||||
| Eq URLEntity Source # | |||||
| type Rep URLEntity Source # | |||||
Defined in Web.Twitter.Types type Rep URLEntity = D1 ('MetaData "URLEntity" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "URLEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "ueURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: (S1 ('MetaSel ('Just "ueExpanded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URIString) :*: S1 ('MetaSel ('Just "ueDisplay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) | |||||
data MediaEntity Source #
Constructors
| MediaEntity | |
Instances
| FromJSON MediaEntity Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser MediaEntity Source # parseJSONList :: Value -> Parser [MediaEntity] Source # | |||||
| 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 # omitField :: MediaEntity -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaEntity Source # toConstr :: MediaEntity -> Constr Source # dataTypeOf :: MediaEntity -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaEntity) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaEntity) Source # gmapT :: (forall b. Data b => b -> b) -> MediaEntity -> MediaEntity Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaEntity -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaEntity -> r Source # gmapQ :: (forall d. Data d => d -> u) -> MediaEntity -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaEntity -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity Source # | |||||
| Generic MediaEntity Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: MediaEntity -> Rep MediaEntity x Source # to :: Rep MediaEntity x -> MediaEntity Source # | |||||
| Show MediaEntity Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq MediaEntity Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: MediaEntity -> MediaEntity -> Bool Source # (/=) :: MediaEntity -> MediaEntity -> Bool Source # | |||||
| type Rep MediaEntity Source # | |||||
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))))) | |||||
Size entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-size.
Instances
| FromJSON MediaSize Source # | |||||
| ToJSON 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaSize Source # toConstr :: MediaSize -> Constr Source # dataTypeOf :: MediaSize -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaSize) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaSize) Source # gmapT :: (forall b. Data b => b -> b) -> MediaSize -> MediaSize Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaSize -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaSize -> r Source # gmapQ :: (forall d. Data d => d -> u) -> MediaSize -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaSize -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize Source # | |||||
| Generic MediaSize Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show MediaSize Source # | |||||
| Eq MediaSize Source # | |||||
| type Rep MediaSize Source # | |||||
Defined in Web.Twitter.Types type Rep MediaSize = D1 ('MetaData "MediaSize" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "MediaSize" 'PrefixI 'True) (S1 ('MetaSel ('Just "msWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "msHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "msResize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) | |||||
data Coordinates Source #
Constructors
| Coordinates | |
Fields
| |
Instances
| FromJSON Coordinates Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Coordinates Source # parseJSONList :: Value -> Parser [Coordinates] Source # | |||||
| 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 # omitField :: Coordinates -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Coordinates Source # toConstr :: Coordinates -> Constr Source # dataTypeOf :: Coordinates -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Coordinates) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Coordinates) Source # gmapT :: (forall b. Data b => b -> b) -> Coordinates -> Coordinates Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Coordinates -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Coordinates -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Coordinates -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Coordinates -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates Source # | |||||
| Generic Coordinates Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: Coordinates -> Rep Coordinates x Source # to :: Rep Coordinates x -> Coordinates Source # | |||||
| Show Coordinates Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq Coordinates Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: Coordinates -> Coordinates -> Bool Source # (/=) :: Coordinates -> Coordinates -> Bool Source # | |||||
| type Rep Coordinates Source # | |||||
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))) | |||||
This type represents a place, named locations with corresponding geo coordinates. See https://dev.twitter.com/docs/platform-objects/places.
Constructors
| Place | |
Fields
| |
Instances
| FromJSON Place Source # | |||||
| ToJSON 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Place Source # toConstr :: Place -> Constr Source # dataTypeOf :: Place -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Place) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Place) Source # gmapT :: (forall b. Data b => b -> b) -> Place -> Place Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Place -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Place -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Place -> m Place Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place Source # | |||||
| Generic Place Source # | |||||
Defined in Web.Twitter.Types Associated Types
| |||||
| Show Place Source # | |||||
| Eq Place Source # | |||||
| type Rep Place Source # | |||||
Defined in Web.Twitter.Types type Rep Place = D1 ('MetaData "Place" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Place" 'PrefixI 'True) (((S1 ('MetaSel ('Just "placeAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text Text)) :*: S1 ('MetaSel ('Just "placeBoundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BoundingBox))) :*: (S1 ('MetaSel ('Just "placeCountry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "placeFullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "placeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "placeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "placeURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))) | |||||
data BoundingBox Source #
A bounding box of coordinates which encloses the place. See https://dev.twitter.com/docs/platform-objects/places#obj-boundingbox.
Constructors
| BoundingBox | |
Fields
| |
Instances
| FromJSON BoundingBox Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser BoundingBox Source # parseJSONList :: Value -> Parser [BoundingBox] Source # | |||||
| 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 # omitField :: BoundingBox -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BoundingBox Source # toConstr :: BoundingBox -> Constr Source # dataTypeOf :: BoundingBox -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BoundingBox) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BoundingBox) Source # gmapT :: (forall b. Data b => b -> b) -> BoundingBox -> BoundingBox Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BoundingBox -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BoundingBox -> r Source # gmapQ :: (forall d. Data d => d -> u) -> BoundingBox -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> BoundingBox -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox Source # | |||||
| Generic BoundingBox Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: BoundingBox -> Rep BoundingBox x Source # to :: Rep BoundingBox x -> BoundingBox Source # | |||||
| Show BoundingBox Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq BoundingBox Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: BoundingBox -> BoundingBox -> Bool Source # (/=) :: BoundingBox -> BoundingBox -> Bool Source # | |||||
| type Rep BoundingBox Source # | |||||
Defined in Web.Twitter.Types type Rep BoundingBox = D1 ('MetaData "BoundingBox" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "BoundingBox" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBoxCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[[Double]]]) :*: S1 ('MetaSel ('Just "boundingBoxType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data Contributor Source #
Constructors
| Contributor | |
Fields | |
Instances
| FromJSON Contributor Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser Contributor Source # parseJSONList :: Value -> Parser [Contributor] Source # | |||||
| 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 # omitField :: Contributor -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Contributor Source # toConstr :: Contributor -> Constr Source # dataTypeOf :: Contributor -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Contributor) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Contributor) Source # gmapT :: (forall b. Data b => b -> b) -> Contributor -> Contributor Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Contributor -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Contributor -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor Source # | |||||
| Generic Contributor Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: Contributor -> Rep Contributor x Source # to :: Rep Contributor x -> Contributor Source # | |||||
| Show Contributor Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq Contributor Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: Contributor -> Contributor -> Bool Source # (/=) :: Contributor -> Contributor -> Bool Source # | |||||
| type Rep Contributor Source # | |||||
Defined in Web.Twitter.Types type Rep Contributor = D1 ('MetaData "Contributor" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "Contributor" 'PrefixI 'True) (S1 ('MetaSel ('Just "contributorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserId) :*: S1 ('MetaSel ('Just "contributorScreenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) | |||||
data UploadedMedia Source #
This type is represents the API response of "/1.1/media/upload.json". See https://dev.twitter.com/docs/api/multiple-media-extended-entities.
Constructors
| UploadedMedia | |
Fields | |
Instances
| FromJSON UploadedMedia Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser UploadedMedia Source # parseJSONList :: Value -> Parser [UploadedMedia] Source # | |||||
| 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 # omitField :: UploadedMedia -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UploadedMedia Source # toConstr :: UploadedMedia -> Constr Source # dataTypeOf :: UploadedMedia -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UploadedMedia) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UploadedMedia) Source # gmapT :: (forall b. Data b => b -> b) -> UploadedMedia -> UploadedMedia Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UploadedMedia -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UploadedMedia -> r Source # gmapQ :: (forall d. Data d => d -> u) -> UploadedMedia -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> UploadedMedia -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia Source # | |||||
| Generic UploadedMedia Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: UploadedMedia -> Rep UploadedMedia x Source # to :: Rep UploadedMedia x -> UploadedMedia Source # | |||||
| Show UploadedMedia Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq UploadedMedia Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: UploadedMedia -> UploadedMedia -> Bool Source # (/=) :: UploadedMedia -> UploadedMedia -> Bool Source # | |||||
| type Rep UploadedMedia Source # | |||||
Defined in Web.Twitter.Types type Rep UploadedMedia = D1 ('MetaData "UploadedMedia" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "UploadedMedia" 'PrefixI 'True) (S1 ('MetaSel ('Just "uploadedMediaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "uploadedMediaSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "uploadedMediaImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImageSizeType)))) | |||||
data ImageSizeType Source #
Image size type. This type is included in the API response of "/1.1/media/upload.json".
Constructors
| ImageSizeType | |
Fields | |
Instances
| FromJSON ImageSizeType Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser ImageSizeType Source # parseJSONList :: Value -> Parser [ImageSizeType] Source # | |||||
| 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 # omitField :: ImageSizeType -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageSizeType Source # toConstr :: ImageSizeType -> Constr Source # dataTypeOf :: ImageSizeType -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImageSizeType) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageSizeType) Source # gmapT :: (forall b. Data b => b -> b) -> ImageSizeType -> ImageSizeType Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageSizeType -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageSizeType -> r Source # gmapQ :: (forall d. Data d => d -> u) -> ImageSizeType -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageSizeType -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType Source # | |||||
| Generic ImageSizeType Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: ImageSizeType -> Rep ImageSizeType x Source # to :: Rep ImageSizeType x -> ImageSizeType Source # | |||||
| Show ImageSizeType Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq ImageSizeType Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: ImageSizeType -> ImageSizeType -> Bool Source # (/=) :: ImageSizeType -> ImageSizeType -> Bool Source # | |||||
| type Rep ImageSizeType Source # | |||||
Defined in Web.Twitter.Types type Rep ImageSizeType = D1 ('MetaData "ImageSizeType" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "ImageSizeType" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageSizeTypeWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "imageSizeTypeHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "imageSizeTypeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) | |||||
data DisplayTextRange Source #
unicode code point indices, identifying the inclusive start and exclusive end of the displayable content of the Tweet.
Constructors
| DisplayTextRange | |
Fields
| |
Instances
| FromJSON DisplayTextRange Source # | |||||
Defined in Web.Twitter.Types Methods parseJSON :: Value -> Parser DisplayTextRange Source # parseJSONList :: Value -> Parser [DisplayTextRange] Source # | |||||
| 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 # omitField :: DisplayTextRange -> Bool Source # | |||||
| 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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisplayTextRange Source # toConstr :: DisplayTextRange -> Constr Source # dataTypeOf :: DisplayTextRange -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DisplayTextRange) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisplayTextRange) Source # gmapT :: (forall b. Data b => b -> b) -> DisplayTextRange -> DisplayTextRange Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisplayTextRange -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisplayTextRange -> r Source # gmapQ :: (forall d. Data d => d -> u) -> DisplayTextRange -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> DisplayTextRange -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisplayTextRange -> m DisplayTextRange Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisplayTextRange -> m DisplayTextRange Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisplayTextRange -> m DisplayTextRange Source # | |||||
| Generic DisplayTextRange Source # | |||||
Defined in Web.Twitter.Types Associated Types
Methods from :: DisplayTextRange -> Rep DisplayTextRange x Source # to :: Rep DisplayTextRange x -> DisplayTextRange Source # | |||||
| Show DisplayTextRange Source # | |||||
Defined in Web.Twitter.Types | |||||
| Eq DisplayTextRange Source # | |||||
Defined in Web.Twitter.Types Methods (==) :: DisplayTextRange -> DisplayTextRange -> Bool Source # (/=) :: DisplayTextRange -> DisplayTextRange -> Bool Source # | |||||
| Ord DisplayTextRange Source # | |||||
Defined in Web.Twitter.Types Methods compare :: DisplayTextRange -> DisplayTextRange -> Ordering Source # (<) :: DisplayTextRange -> DisplayTextRange -> Bool Source # (<=) :: DisplayTextRange -> DisplayTextRange -> Bool Source # (>) :: DisplayTextRange -> DisplayTextRange -> Bool Source # (>=) :: DisplayTextRange -> DisplayTextRange -> Bool Source # max :: DisplayTextRange -> DisplayTextRange -> DisplayTextRange Source # min :: DisplayTextRange -> DisplayTextRange -> DisplayTextRange Source # | |||||
| type Rep DisplayTextRange Source # | |||||
Defined in Web.Twitter.Types type Rep DisplayTextRange = D1 ('MetaData "DisplayTextRange" "Web.Twitter.Types" "twitter-types-0.11.0-JPb34u5FhzUJGDtX0LO6yY" 'False) (C1 ('MetaCons "DisplayTextRange" 'PrefixI 'True) (S1 ('MetaSel ('Just "displayTextRangeStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "displayTextRangeEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
checkError :: Object -> Parser () Source #