twitter-types-lens-0.10.0: Twitter JSON types (lens powered)
Safe HaskellNone
LanguageHaskell2010

Web.Twitter.Types.Lens

Synopsis

Type classes

class HasCreatedAt a where Source #

Methods

created_at :: Lens' a UTCTime Source #

Instances

Instances details
HasCreatedAt Status Source # 
Instance details

Defined in Web.Twitter.Types.Lens

Methods

created_at :: Lens' Status UTCTime Source #

HasCreatedAt SearchStatus Source # 
Instance details

Defined in Web.Twitter.Types.Lens

HasCreatedAt RetweetedStatus Source # 
Instance details

Defined in Web.Twitter.Types.Lens

HasCreatedAt DirectMessage Source # 
Instance details

Defined in Web.Twitter.Types.Lens

HasCreatedAt User Source # 
Instance details

Defined in Web.Twitter.Types.Lens

Methods

created_at :: Lens' User UTCTime Source #

class AsImageSize a where Source #

Methods

width :: Lens' a Int Source #

height :: Lens' a Int Source #

Instances

Instances details
AsImageSize MediaSize Source # 
Instance details

Defined in Web.Twitter.Types.Lens

AsImageSize ImageSizeType Source # 
Instance details

Defined in Web.Twitter.Types.Lens

Status

data Status Source #

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

Instances

Instances details
Eq Status 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: Status -> Status -> Bool

(/=) :: Status -> Status -> Bool

Data Status 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Status -> Constr

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> Status -> ShowS

show :: Status -> String

showList :: [Status] -> ShowS

Generic Status 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Status :: Type -> Type

Methods

from :: Status -> Rep Status x

to :: Rep Status x -> Status

FromJSON Status 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser Status

parseJSONList :: Value -> Parser [Status]

ToJSON Status 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: Status -> Value

toEncoding :: Status -> Encoding

toJSONList :: [Status] -> Value

toEncodingList :: [Status] -> Encoding

HasCreatedAt Status Source # 
Instance details

Defined in Web.Twitter.Types.Lens

Methods

created_at :: Lens' Status UTCTime Source #

AsStatus Status Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep Status 
Instance details

Defined in Web.Twitter.Types

type Rep Status = D1 ('MetaData "Status" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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))))))))

statusScopes :: Lens' Status (Maybe Object) Source #

SearchResult

data SearchResult body Source #

Instances

Instances details
Eq body => Eq (SearchResult body) 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: SearchResult body -> SearchResult body -> Bool

(/=) :: SearchResult body -> SearchResult body -> Bool

Data body => Data (SearchResult body) 
Instance details

Defined in Web.Twitter.Types

Methods

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

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) 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> SearchResult body -> ShowS

show :: SearchResult body -> String

showList :: [SearchResult body] -> ShowS

Generic (SearchResult body) 
Instance details

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) 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser (SearchResult body)

parseJSONList :: Value -> Parser [SearchResult body]

ToJSON body => ToJSON (SearchResult body) 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: SearchResult body -> Value

toEncoding :: SearchResult body -> Encoding

toJSONList :: [SearchResult body] -> Value

toEncodingList :: [SearchResult body] -> Encoding

type Rep (SearchResult body) 
Instance details

Defined in Web.Twitter.Types

type Rep (SearchResult body) = D1 ('MetaData "SearchResult" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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 #

SearchStatus

data SearchStatus Source #

Instances

Instances details
Eq SearchStatus 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: SearchStatus -> SearchStatus -> Bool

(/=) :: SearchStatus -> SearchStatus -> Bool

Data SearchStatus 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> SearchStatus -> ShowS

show :: SearchStatus -> String

showList :: [SearchStatus] -> ShowS

Generic SearchStatus 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep SearchStatus :: Type -> Type

FromJSON SearchStatus 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser SearchStatus

parseJSONList :: Value -> Parser [SearchStatus]

ToJSON SearchStatus 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: SearchStatus -> Value

toEncoding :: SearchStatus -> Encoding

toJSONList :: [SearchStatus] -> Value

toEncodingList :: [SearchStatus] -> Encoding

HasCreatedAt SearchStatus Source # 
Instance details

Defined in Web.Twitter.Types.Lens

AsStatus SearchStatus Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep SearchStatus 
Instance details

Defined in Web.Twitter.Types

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

SearchMetadata

data SearchMetadata Source #

Instances

Instances details
Eq SearchMetadata 
Instance details

Defined in Web.Twitter.Types

Data SearchMetadata 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> SearchMetadata -> ShowS

show :: SearchMetadata -> String

showList :: [SearchMetadata] -> ShowS

Generic SearchMetadata 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep SearchMetadata :: Type -> Type

FromJSON SearchMetadata 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser SearchMetadata

parseJSONList :: Value -> Parser [SearchMetadata]

ToJSON SearchMetadata 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: SearchMetadata -> Value

toEncoding :: SearchMetadata -> Encoding

toJSONList :: [SearchMetadata] -> Value

toEncodingList :: [SearchMetadata] -> Encoding

type Rep SearchMetadata 
Instance details

Defined in Web.Twitter.Types

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

RetweetedStatus

data RetweetedStatus Source #

Instances

Instances details
Eq RetweetedStatus 
Instance details

Defined in Web.Twitter.Types

Data RetweetedStatus 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> RetweetedStatus -> ShowS

show :: RetweetedStatus -> String

showList :: [RetweetedStatus] -> ShowS

Generic RetweetedStatus 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep RetweetedStatus :: Type -> Type

FromJSON RetweetedStatus 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser RetweetedStatus

parseJSONList :: Value -> Parser [RetweetedStatus]

ToJSON RetweetedStatus 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: RetweetedStatus -> Value

toEncoding :: RetweetedStatus -> Encoding

toJSONList :: [RetweetedStatus] -> Value

toEncodingList :: [RetweetedStatus] -> Encoding

HasCreatedAt RetweetedStatus Source # 
Instance details

Defined in Web.Twitter.Types.Lens

AsStatus RetweetedStatus Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep RetweetedStatus 
Instance details

Defined in Web.Twitter.Types

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

DirectMessage

data DirectMessage Source #

Instances

Instances details
Eq DirectMessage 
Instance details

Defined in Web.Twitter.Types

Data DirectMessage 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> DirectMessage -> ShowS

show :: DirectMessage -> String

showList :: [DirectMessage] -> ShowS

Generic DirectMessage 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep DirectMessage :: Type -> Type

FromJSON DirectMessage 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser DirectMessage

parseJSONList :: Value -> Parser [DirectMessage]

ToJSON DirectMessage 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: DirectMessage -> Value

toEncoding :: DirectMessage -> Encoding

toJSONList :: [DirectMessage] -> Value

toEncodingList :: [DirectMessage] -> Encoding

HasCreatedAt DirectMessage Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep DirectMessage 
Instance details

Defined in Web.Twitter.Types

type Rep DirectMessage = D1 ('MetaData "DirectMessage" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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)))))

Event

data Event Source #

Instances

Instances details
Eq Event 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: Event -> Event -> Bool

(/=) :: Event -> Event -> Bool

Data Event 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Event -> Constr

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> Event -> ShowS

show :: Event -> String

showList :: [Event] -> ShowS

Generic Event 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Event :: Type -> Type

Methods

from :: Event -> Rep Event x

to :: Rep Event x -> Event

FromJSON Event 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser Event

parseJSONList :: Value -> Parser [Event]

ToJSON Event 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: Event -> Value

toEncoding :: Event -> Encoding

toJSONList :: [Event] -> Value

toEncodingList :: [Event] -> Encoding

type Rep Event 
Instance details

Defined in Web.Twitter.Types

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

Delete

data Delete Source #

Instances

Instances details
Eq Delete 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: Delete -> Delete -> Bool

(/=) :: Delete -> Delete -> Bool

Data Delete 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Delete -> Constr

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> Delete -> ShowS

show :: Delete -> String

showList :: [Delete] -> ShowS

Generic Delete 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Delete :: Type -> Type

Methods

from :: Delete -> Rep Delete x

to :: Rep Delete x -> Delete

FromJSON Delete 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser Delete

parseJSONList :: Value -> Parser [Delete]

ToJSON Delete 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: Delete -> Value

toEncoding :: Delete -> Encoding

toJSONList :: [Delete] -> Value

toEncodingList :: [Delete] -> Encoding

type Rep Delete 
Instance details

Defined in Web.Twitter.Types

type Rep Delete = D1 ('MetaData "Delete" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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

data User Source #

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

Instances

Instances details
Eq User 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: User -> User -> Bool

(/=) :: User -> User -> Bool

Data User 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: User -> Constr

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> User -> ShowS

show :: User -> String

showList :: [User] -> ShowS

Generic User 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep User :: Type -> Type

Methods

from :: User -> Rep User x

to :: Rep User x -> User

FromJSON User 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser User

parseJSONList :: Value -> Parser [User]

ToJSON User 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: User -> Value

toEncoding :: User -> Encoding

toJSONList :: [User] -> Value

toEncodingList :: [User] -> Encoding

HasCreatedAt User Source # 
Instance details

Defined in Web.Twitter.Types.Lens

Methods

created_at :: Lens' User UTCTime Source #

AsUser User Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep User 
Instance details

Defined in Web.Twitter.Types

type Rep User = D1 ('MetaData "User" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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)))))))))

userEmail :: Lens' User (Maybe Text) Source #

userFollowing :: Lens' User (Maybe Bool) Source #

userLocation :: Lens' User (Maybe Text) Source #

userTimeZone :: Lens' User (Maybe Text) Source #

List

data List Source #

Instances

Instances details
Eq List 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: List -> List -> Bool

(/=) :: List -> List -> Bool

Data List 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: List -> Constr

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> List -> ShowS

show :: List -> String

showList :: [List] -> ShowS

Generic List 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep List :: Type -> Type

Methods

from :: List -> Rep List x

to :: Rep List x -> List

FromJSON List 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser List

parseJSONList :: Value -> Parser [List]

ToJSON List 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: List -> Value

toEncoding :: List -> Encoding

toJSONList :: [List] -> Value

toEncodingList :: [List] -> Encoding

type Rep List 
Instance details

Defined in Web.Twitter.Types

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

Entities

data Entities Source #

Instances

Instances details
Eq Entities 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: Entities -> Entities -> Bool

(/=) :: Entities -> Entities -> Bool

Data Entities 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> Entities -> ShowS

show :: Entities -> String

showList :: [Entities] -> ShowS

Generic Entities 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Entities :: Type -> Type

Methods

from :: Entities -> Rep Entities x

to :: Rep Entities x -> Entities

FromJSON Entities 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser Entities

parseJSONList :: Value -> Parser [Entities]

ToJSON Entities 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: Entities -> Value

toEncoding :: Entities -> Encoding

toJSONList :: [Entities] -> Value

toEncodingList :: [Entities] -> Encoding

type Rep Entities 
Instance details

Defined in Web.Twitter.Types

type Rep Entities = D1 ('MetaData "Entities" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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

Instances details
Eq ExtendedEntities 
Instance details

Defined in Web.Twitter.Types

Data ExtendedEntities 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> ExtendedEntities -> ShowS

show :: ExtendedEntities -> String

showList :: [ExtendedEntities] -> ShowS

Generic ExtendedEntities 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep ExtendedEntities :: Type -> Type

FromJSON ExtendedEntities 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser ExtendedEntities

parseJSONList :: Value -> Parser [ExtendedEntities]

ToJSON ExtendedEntities 
Instance details

Defined in Web.Twitter.Types

type Rep ExtendedEntities 
Instance details

Defined in Web.Twitter.Types

type Rep ExtendedEntities = D1 ('MetaData "ExtendedEntities" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" 'False) (C1 ('MetaCons "ExtendedEntities" 'PrefixI 'True) (S1 ('MetaSel ('Just "exeMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entity ExtendedEntity])))

ExtendedEntity

data ExtendedEntity Source #

Instances

Instances details
Eq ExtendedEntity 
Instance details

Defined in Web.Twitter.Types

Data ExtendedEntity 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> ExtendedEntity -> ShowS

show :: ExtendedEntity -> String

showList :: [ExtendedEntity] -> ShowS

Generic ExtendedEntity 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep ExtendedEntity :: Type -> Type

FromJSON ExtendedEntity 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser ExtendedEntity

parseJSONList :: Value -> Parser [ExtendedEntity]

ToJSON ExtendedEntity 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: ExtendedEntity -> Value

toEncoding :: ExtendedEntity -> Encoding

toJSONList :: [ExtendedEntity] -> Value

toEncodingList :: [ExtendedEntity] -> Encoding

type Rep ExtendedEntity 
Instance details

Defined in Web.Twitter.Types

type Rep ExtendedEntity = D1 ('MetaData "ExtendedEntity" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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)))))

Entity

data Entity a Source #

Instances

Instances details
Eq a => Eq (Entity a) 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: Entity a -> Entity a -> Bool

(/=) :: Entity a -> Entity a -> Bool

Data a => Data (Entity a) 
Instance details

Defined in Web.Twitter.Types

Methods

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

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) 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> Entity a -> ShowS

show :: Entity a -> String

showList :: [Entity a] -> ShowS

Generic (Entity a) 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep (Entity a) :: Type -> Type

Methods

from :: Entity a -> Rep (Entity a) x

to :: Rep (Entity a) x -> Entity a

FromJSON a => FromJSON (Entity a) 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser (Entity a)

parseJSONList :: Value -> Parser [Entity a]

ToJSON a => ToJSON (Entity a) 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: Entity a -> Value

toEncoding :: Entity a -> Encoding

toJSONList :: [Entity a] -> Value

toEncodingList :: [Entity a] -> Encoding

AsUser (Entity UserEntity) Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep (Entity a) 
Instance details

Defined in Web.Twitter.Types

type Rep (Entity a) = D1 ('MetaData "Entity" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" 'False) (C1 ('MetaCons "Entity" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "entityIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EntityIndices)))

entityBody :: forall a a. Lens (Entity a) (Entity a) a a Source #

HashTagEntity

data HashTagEntity Source #

Instances

Instances details
Eq HashTagEntity 
Instance details

Defined in Web.Twitter.Types

Data HashTagEntity 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> HashTagEntity -> ShowS

show :: HashTagEntity -> String

showList :: [HashTagEntity] -> ShowS

Generic HashTagEntity 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep HashTagEntity :: Type -> Type

FromJSON HashTagEntity 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser HashTagEntity

parseJSONList :: Value -> Parser [HashTagEntity]

ToJSON HashTagEntity 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: HashTagEntity -> Value

toEncoding :: HashTagEntity -> Encoding

toJSONList :: [HashTagEntity] -> Value

toEncodingList :: [HashTagEntity] -> Encoding

type Rep HashTagEntity 
Instance details

Defined in Web.Twitter.Types

type Rep HashTagEntity = D1 ('MetaData "HashTagEntity" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" 'False) (C1 ('MetaCons "HashTagEntity" 'PrefixI 'True) (S1 ('MetaSel ('Just "hashTagText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

UserEntity

data UserEntity Source #

Instances

Instances details
Eq UserEntity 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: UserEntity -> UserEntity -> Bool

(/=) :: UserEntity -> UserEntity -> Bool

Data UserEntity 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> UserEntity -> ShowS

show :: UserEntity -> String

showList :: [UserEntity] -> ShowS

Generic UserEntity 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep UserEntity :: Type -> Type

Methods

from :: UserEntity -> Rep UserEntity x

to :: Rep UserEntity x -> UserEntity

FromJSON UserEntity 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser UserEntity

parseJSONList :: Value -> Parser [UserEntity]

ToJSON UserEntity 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: UserEntity -> Value

toEncoding :: UserEntity -> Encoding

toJSONList :: [UserEntity] -> Value

toEncodingList :: [UserEntity] -> Encoding

AsUser UserEntity Source # 
Instance details

Defined in Web.Twitter.Types.Lens

AsUser (Entity UserEntity) Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep UserEntity 
Instance details

Defined in Web.Twitter.Types

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

URLEntity

data URLEntity Source #

Instances

Instances details
Eq URLEntity 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: URLEntity -> URLEntity -> Bool

(/=) :: URLEntity -> URLEntity -> Bool

Data URLEntity 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> URLEntity -> ShowS

show :: URLEntity -> String

showList :: [URLEntity] -> ShowS

Generic URLEntity 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep URLEntity :: Type -> Type

Methods

from :: URLEntity -> Rep URLEntity x

to :: Rep URLEntity x -> URLEntity

FromJSON URLEntity 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser URLEntity

parseJSONList :: Value -> Parser [URLEntity]

ToJSON URLEntity 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: URLEntity -> Value

toEncoding :: URLEntity -> Encoding

toJSONList :: [URLEntity] -> Value

toEncodingList :: [URLEntity] -> Encoding

type Rep URLEntity 
Instance details

Defined in Web.Twitter.Types

type Rep URLEntity = D1 ('MetaData "URLEntity" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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

Instances details
Eq MediaEntity 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: MediaEntity -> MediaEntity -> Bool

(/=) :: MediaEntity -> MediaEntity -> Bool

Data MediaEntity 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> MediaEntity -> ShowS

show :: MediaEntity -> String

showList :: [MediaEntity] -> ShowS

Generic MediaEntity 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep MediaEntity :: Type -> Type

Methods

from :: MediaEntity -> Rep MediaEntity x

to :: Rep MediaEntity x -> MediaEntity

FromJSON MediaEntity 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser MediaEntity

parseJSONList :: Value -> Parser [MediaEntity]

ToJSON MediaEntity 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: MediaEntity -> Value

toEncoding :: MediaEntity -> Encoding

toJSONList :: [MediaEntity] -> Value

toEncodingList :: [MediaEntity] -> Encoding

type Rep MediaEntity 
Instance details

Defined in Web.Twitter.Types

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

MediaSize

data MediaSize Source #

Instances

Instances details
Eq MediaSize 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: MediaSize -> MediaSize -> Bool

(/=) :: MediaSize -> MediaSize -> Bool

Data MediaSize 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> MediaSize -> ShowS

show :: MediaSize -> String

showList :: [MediaSize] -> ShowS

Generic MediaSize 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep MediaSize :: Type -> Type

Methods

from :: MediaSize -> Rep MediaSize x

to :: Rep MediaSize x -> MediaSize

FromJSON MediaSize 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser MediaSize

parseJSONList :: Value -> Parser [MediaSize]

ToJSON MediaSize 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: MediaSize -> Value

toEncoding :: MediaSize -> Encoding

toJSONList :: [MediaSize] -> Value

toEncodingList :: [MediaSize] -> Encoding

AsImageSize MediaSize Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep MediaSize 
Instance details

Defined in Web.Twitter.Types

type Rep MediaSize = D1 ('MetaData "MediaSize" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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

Instances details
Eq Coordinates 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: Coordinates -> Coordinates -> Bool

(/=) :: Coordinates -> Coordinates -> Bool

Data Coordinates 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> Coordinates -> ShowS

show :: Coordinates -> String

showList :: [Coordinates] -> ShowS

Generic Coordinates 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Coordinates :: Type -> Type

Methods

from :: Coordinates -> Rep Coordinates x

to :: Rep Coordinates x -> Coordinates

FromJSON Coordinates 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser Coordinates

parseJSONList :: Value -> Parser [Coordinates]

ToJSON Coordinates 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: Coordinates -> Value

toEncoding :: Coordinates -> Encoding

toJSONList :: [Coordinates] -> Value

toEncodingList :: [Coordinates] -> Encoding

type Rep Coordinates 
Instance details

Defined in Web.Twitter.Types

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

Place

data Place Source #

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

Instances

Instances details
Eq Place 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: Place -> Place -> Bool

(/=) :: Place -> Place -> Bool

Data Place 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

toConstr :: Place -> Constr

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> Place -> ShowS

show :: Place -> String

showList :: [Place] -> ShowS

Generic Place 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Place :: Type -> Type

Methods

from :: Place -> Rep Place x

to :: Rep Place x -> Place

FromJSON Place 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser Place

parseJSONList :: Value -> Parser [Place]

ToJSON Place 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: Place -> Value

toEncoding :: Place -> Encoding

toJSONList :: [Place] -> Value

toEncodingList :: [Place] -> Encoding

type Rep Place 
Instance details

Defined in Web.Twitter.Types

type Rep Place = D1 ('MetaData "Place" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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 #

BoundingBox

data BoundingBox Source #

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

Instances

Instances details
Eq BoundingBox 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: BoundingBox -> BoundingBox -> Bool

(/=) :: BoundingBox -> BoundingBox -> Bool

Data BoundingBox 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> BoundingBox -> ShowS

show :: BoundingBox -> String

showList :: [BoundingBox] -> ShowS

Generic BoundingBox 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep BoundingBox :: Type -> Type

Methods

from :: BoundingBox -> Rep BoundingBox x

to :: Rep BoundingBox x -> BoundingBox

FromJSON BoundingBox 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser BoundingBox

parseJSONList :: Value -> Parser [BoundingBox]

ToJSON BoundingBox 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: BoundingBox -> Value

toEncoding :: BoundingBox -> Encoding

toJSONList :: [BoundingBox] -> Value

toEncodingList :: [BoundingBox] -> Encoding

type Rep BoundingBox 
Instance details

Defined in Web.Twitter.Types

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

Contributor

data Contributor Source #

Instances

Instances details
Eq Contributor 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: Contributor -> Contributor -> Bool

(/=) :: Contributor -> Contributor -> Bool

Data Contributor 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> Contributor -> ShowS

show :: Contributor -> String

showList :: [Contributor] -> ShowS

Generic Contributor 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Contributor :: Type -> Type

Methods

from :: Contributor -> Rep Contributor x

to :: Rep Contributor x -> Contributor

FromJSON Contributor 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser Contributor

parseJSONList :: Value -> Parser [Contributor]

ToJSON Contributor 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: Contributor -> Value

toEncoding :: Contributor -> Encoding

toJSONList :: [Contributor] -> Value

toEncodingList :: [Contributor] -> Encoding

type Rep Contributor 
Instance details

Defined in Web.Twitter.Types

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

UploadedMedia

data UploadedMedia Source #

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

Instances

Instances details
Eq UploadedMedia 
Instance details

Defined in Web.Twitter.Types

Data UploadedMedia 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> UploadedMedia -> ShowS

show :: UploadedMedia -> String

showList :: [UploadedMedia] -> ShowS

Generic UploadedMedia 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep UploadedMedia :: Type -> Type

FromJSON UploadedMedia 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser UploadedMedia

parseJSONList :: Value -> Parser [UploadedMedia]

ToJSON UploadedMedia 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: UploadedMedia -> Value

toEncoding :: UploadedMedia -> Encoding

toJSONList :: [UploadedMedia] -> Value

toEncodingList :: [UploadedMedia] -> Encoding

type Rep UploadedMedia 
Instance details

Defined in Web.Twitter.Types

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

ImageSizeType

data ImageSizeType Source #

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

Instances

Instances details
Eq ImageSizeType 
Instance details

Defined in Web.Twitter.Types

Data ImageSizeType 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> ImageSizeType -> ShowS

show :: ImageSizeType -> String

showList :: [ImageSizeType] -> ShowS

Generic ImageSizeType 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep ImageSizeType :: Type -> Type

FromJSON ImageSizeType 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser ImageSizeType

parseJSONList :: Value -> Parser [ImageSizeType]

ToJSON ImageSizeType 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: ImageSizeType -> Value

toEncoding :: ImageSizeType -> Encoding

toJSONList :: [ImageSizeType] -> Value

toEncodingList :: [ImageSizeType] -> Encoding

AsImageSize ImageSizeType Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep ImageSizeType 
Instance details

Defined in Web.Twitter.Types

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

data DisplayTextRange Source #

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

Instances

Instances details
Eq DisplayTextRange 
Instance details

Defined in Web.Twitter.Types

Data DisplayTextRange 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Show DisplayTextRange 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> DisplayTextRange -> ShowS

show :: DisplayTextRange -> String

showList :: [DisplayTextRange] -> ShowS

Generic DisplayTextRange 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep DisplayTextRange :: Type -> Type

FromJSON DisplayTextRange 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser DisplayTextRange

parseJSONList :: Value -> Parser [DisplayTextRange]

ToJSON DisplayTextRange 
Instance details

Defined in Web.Twitter.Types

type Rep DisplayTextRange 
Instance details

Defined in Web.Twitter.Types

type Rep DisplayTextRange = D1 ('MetaData "DisplayTextRange" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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 UserId = Integer Source #

type URIString = Text Source #

type UserName = Text Source #

type StatusId = Integer Source #

type LanguageCode = String Source #

data StreamingAPI Source #

Instances

Instances details
Eq StreamingAPI 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: StreamingAPI -> StreamingAPI -> Bool

(/=) :: StreamingAPI -> StreamingAPI -> Bool

Data StreamingAPI 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> StreamingAPI -> ShowS

show :: StreamingAPI -> String

showList :: [StreamingAPI] -> ShowS

Generic StreamingAPI 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep StreamingAPI :: Type -> Type

FromJSON StreamingAPI 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser StreamingAPI

parseJSONList :: Value -> Parser [StreamingAPI]

ToJSON StreamingAPI 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: StreamingAPI -> Value

toEncoding :: StreamingAPI -> Encoding

toJSONList :: [StreamingAPI] -> Value

toEncodingList :: [StreamingAPI] -> Encoding

type Rep StreamingAPI 
Instance details

Defined in Web.Twitter.Types

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

data EventTarget Source #

Constructors

ETUser User 
ETStatus Status 
ETList List 
ETUnknown Value 

Instances

Instances details
Eq EventTarget 
Instance details

Defined in Web.Twitter.Types

Methods

(==) :: EventTarget -> EventTarget -> Bool

(/=) :: EventTarget -> EventTarget -> Bool

Data EventTarget 
Instance details

Defined in Web.Twitter.Types

Methods

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

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 
Instance details

Defined in Web.Twitter.Types

Methods

showsPrec :: Int -> EventTarget -> ShowS

show :: EventTarget -> String

showList :: [EventTarget] -> ShowS

Generic EventTarget 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep EventTarget :: Type -> Type

Methods

from :: EventTarget -> Rep EventTarget x

to :: Rep EventTarget x -> EventTarget

FromJSON EventTarget 
Instance details

Defined in Web.Twitter.Types

Methods

parseJSON :: Value -> Parser EventTarget

parseJSONList :: Value -> Parser [EventTarget]

ToJSON EventTarget 
Instance details

Defined in Web.Twitter.Types

Methods

toJSON :: EventTarget -> Value

toEncoding :: EventTarget -> Encoding

toJSONList :: [EventTarget] -> Value

toEncodingList :: [EventTarget] -> Encoding

type Rep EventTarget 
Instance details

Defined in Web.Twitter.Types

type Rep EventTarget = D1 ('MetaData "EventTarget" "Web.Twitter.Types" "twitter-types-0.10.1-2xqZ2VcVEpsBACEZWPKPSm" '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

EventTarget