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