twitter-types-lens-0.7.2: Twitter JSON types (lens powered)

Safe HaskellNone
LanguageHaskell2010

Web.Twitter.Types.Lens

Contents

Synopsis

Type classes

Status

data Status Source #

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

Instances
Eq Status 
Instance details

Defined in Web.Twitter.Types

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 Source #

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

toConstr :: Status -> Constr Source #

dataTypeOf :: Status -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) Source #

gmapT :: (forall b. Data b => b -> b) -> Status -> Status Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status Source #

Show Status 
Instance details

Defined in Web.Twitter.Types

Generic Status 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Status :: Type -> Type Source #

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

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.7.2.2-664onuRQGaMCTRz26PamF5" 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 Entities)) :*: 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))))))))

SearchResult

data SearchResult body Source #

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

Defined in Web.Twitter.Types

Methods

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

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

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) Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (SearchResult body) Source #

toConstr :: SearchResult body -> Constr Source #

dataTypeOf :: SearchResult body -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (SearchResult body)) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (SearchResult body)) Source #

gmapT :: (forall b. Data b => b -> b) -> SearchResult body -> SearchResult body Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult body -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult body -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SearchResult body -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchResult body -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult body -> m (SearchResult body) Source #

Show body => Show (SearchResult body) 
Instance details

Defined in Web.Twitter.Types

Generic (SearchResult body) 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep (SearchResult body) :: Type -> Type Source #

Methods

from :: SearchResult body -> Rep (SearchResult body) x Source #

to :: Rep (SearchResult body) x -> SearchResult body Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
Eq SearchStatus 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchStatus Source #

toConstr :: SearchStatus -> Constr Source #

dataTypeOf :: SearchStatus -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchStatus) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchStatus) Source #

gmapT :: (forall b. Data b => b -> b) -> SearchStatus -> SearchStatus Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchStatus -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SearchStatus -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchStatus -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchStatus -> m SearchStatus Source #

Show SearchStatus 
Instance details

Defined in Web.Twitter.Types

Generic SearchStatus 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep SearchStatus :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchMetadata Source #

toConstr :: SearchMetadata -> Constr Source #

dataTypeOf :: SearchMetadata -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchMetadata) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchMetadata) Source #

gmapT :: (forall b. Data b => b -> b) -> SearchMetadata -> SearchMetadata Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchMetadata -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchMetadata -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SearchMetadata -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchMetadata -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMetadata -> m SearchMetadata Source #

Show SearchMetadata 
Instance details

Defined in Web.Twitter.Types

Generic SearchMetadata 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep SearchMetadata :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RetweetedStatus Source #

toConstr :: RetweetedStatus -> Constr Source #

dataTypeOf :: RetweetedStatus -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RetweetedStatus) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RetweetedStatus) Source #

gmapT :: (forall b. Data b => b -> b) -> RetweetedStatus -> RetweetedStatus Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RetweetedStatus -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RetweetedStatus -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> RetweetedStatus -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RetweetedStatus -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RetweetedStatus -> m RetweetedStatus Source #

Show RetweetedStatus 
Instance details

Defined in Web.Twitter.Types

Generic RetweetedStatus 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep RetweetedStatus :: Type -> Type Source #

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

DirectMessage

data DirectMessage Source #

Instances
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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DirectMessage Source #

toConstr :: DirectMessage -> Constr Source #

dataTypeOf :: DirectMessage -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DirectMessage) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DirectMessage) Source #

gmapT :: (forall b. Data b => b -> b) -> DirectMessage -> DirectMessage Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DirectMessage -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DirectMessage -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DirectMessage -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DirectMessage -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DirectMessage -> m DirectMessage Source #

Show DirectMessage 
Instance details

Defined in Web.Twitter.Types

Generic DirectMessage 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep DirectMessage :: Type -> Type Source #

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

AsStatus DirectMessage Source # 
Instance details

Defined in Web.Twitter.Types.Lens

type Rep DirectMessage 
Instance details

Defined in Web.Twitter.Types

Event

data Event Source #

Instances
Eq Event 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

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 Source #

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

toConstr :: Event -> Constr Source #

dataTypeOf :: Event -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Event) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Event) Source #

gmapT :: (forall b. Data b => b -> b) -> Event -> Event Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Event -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Event -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Event -> m Event Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event Source #

Show Event 
Instance details

Defined in Web.Twitter.Types

Generic Event 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Event :: Type -> Type Source #

Methods

from :: Event -> Rep Event x Source #

to :: Rep Event x -> Event Source #

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

Delete

data Delete Source #

Instances
Eq Delete 
Instance details

Defined in Web.Twitter.Types

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 Source #

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

toConstr :: Delete -> Constr Source #

dataTypeOf :: Delete -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Delete) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Delete) Source #

gmapT :: (forall b. Data b => b -> b) -> Delete -> Delete Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Delete -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Delete -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Delete -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Delete -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Delete -> m Delete Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete -> m Delete Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Delete -> m Delete Source #

Show Delete 
Instance details

Defined in Web.Twitter.Types

Generic Delete 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Delete :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
Eq User 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

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 Source #

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

toConstr :: User -> Constr Source #

dataTypeOf :: User -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c User) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c User) Source #

gmapT :: (forall b. Data b => b -> b) -> User -> User Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> User -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> User -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> User -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> User -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> User -> m User Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User Source #

Show User 
Instance details

Defined in Web.Twitter.Types

Generic User 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep User :: Type -> Type Source #

Methods

from :: User -> Rep User x Source #

to :: Rep User x -> User Source #

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

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.7.2.2-664onuRQGaMCTRz26PamF5" 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 "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 LanguageCode) :*: S1 (MetaSel (Just "userListedCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) :*: ((S1 (MetaSel (Just "userLocation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "userName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "userNotifications") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "userProfileBackgroundColor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "userProfileBackgroundImageURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe URIString))))))) :*: ((((S1 (MetaSel (Just "userProfileBackgroundImageURLHttps") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 (MetaSel (Just "userProfileBackgroundTile") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "userProfileBannerURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe URIString)) :*: (S1 (MetaSel (Just "userProfileImageURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 (MetaSel (Just "userProfileImageURLHttps") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe URIString))))) :*: ((S1 (MetaSel (Just "userProfileLinkColor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "userProfileSidebarBorderColor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "userProfileSidebarFillColor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "userProfileTextColor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "userProfileUseBackgroundImage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))))) :*: (((S1 (MetaSel (Just "userProtected") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "userScreenName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "userShowAllInlineMedia") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "userStatusesCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "userTimeZone") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "userURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe URIString)) :*: S1 (MetaSel (Just "userUtcOffset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))) :*: (S1 (MetaSel (Just "userVerified") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: (S1 (MetaSel (Just "userWithheldInCountries") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "userWithheldScope") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))))))))

List

data List Source #

Instances
Eq List 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

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 Source #

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

toConstr :: List -> Constr Source #

dataTypeOf :: List -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c List) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c List) Source #

gmapT :: (forall b. Data b => b -> b) -> List -> List Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> List -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> List -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> List -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> List -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> List -> m List Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> List -> m List Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> List -> m List Source #

Show List 
Instance details

Defined in Web.Twitter.Types

Generic List 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep List :: Type -> Type Source #

Methods

from :: List -> Rep List x Source #

to :: Rep List x -> List Source #

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

Entities

data Entities Source #

Instances
Eq Entities 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Entities Source #

toConstr :: Entities -> Constr Source #

dataTypeOf :: Entities -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Entities) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Entities) Source #

gmapT :: (forall b. Data b => b -> b) -> Entities -> Entities Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entities -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entities -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Entities -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Entities -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entities -> m Entities Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entities -> m Entities Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entities -> m Entities Source #

Show Entities 
Instance details

Defined in Web.Twitter.Types

Generic Entities 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Entities :: Type -> Type Source #

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

Entity

data Entity a Source #

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

Defined in Web.Twitter.Types

Methods

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

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

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) Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Entity a) Source #

toConstr :: Entity a -> Constr Source #

dataTypeOf :: Entity a -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Entity a)) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Entity a)) Source #

gmapT :: (forall b. Data b => b -> b) -> Entity a -> Entity a Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entity a -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entity a -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Entity a -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Entity a -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity a -> m (Entity a) Source #

Show a => Show (Entity a) 
Instance details

Defined in Web.Twitter.Types

Generic (Entity a) 
Instance details

Defined in Web.Twitter.Types

Associated Types

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

Methods

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

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

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HashTagEntity Source #

toConstr :: HashTagEntity -> Constr Source #

dataTypeOf :: HashTagEntity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HashTagEntity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HashTagEntity) Source #

gmapT :: (forall b. Data b => b -> b) -> HashTagEntity -> HashTagEntity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HashTagEntity -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HashTagEntity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> HashTagEntity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HashTagEntity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HashTagEntity -> m HashTagEntity Source #

Show HashTagEntity 
Instance details

Defined in Web.Twitter.Types

Generic HashTagEntity 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep HashTagEntity :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" False) (C1 (MetaCons "HashTagEntity" PrefixI True) (S1 (MetaSel (Just "hashTagText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

UserEntity

data UserEntity Source #

Instances
Eq UserEntity 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserEntity Source #

toConstr :: UserEntity -> Constr Source #

dataTypeOf :: UserEntity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserEntity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserEntity) Source #

gmapT :: (forall b. Data b => b -> b) -> UserEntity -> UserEntity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserEntity -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserEntity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> UserEntity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserEntity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserEntity -> m UserEntity Source #

Show UserEntity 
Instance details

Defined in Web.Twitter.Types

Generic UserEntity 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep UserEntity :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
Eq URLEntity 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URLEntity Source #

toConstr :: URLEntity -> Constr Source #

dataTypeOf :: URLEntity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URLEntity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URLEntity) Source #

gmapT :: (forall b. Data b => b -> b) -> URLEntity -> URLEntity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URLEntity -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URLEntity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> URLEntity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> URLEntity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URLEntity -> m URLEntity Source #

Show URLEntity 
Instance details

Defined in Web.Twitter.Types

Generic URLEntity 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep URLEntity :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaEntity Source #

toConstr :: MediaEntity -> Constr Source #

dataTypeOf :: MediaEntity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaEntity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaEntity) Source #

gmapT :: (forall b. Data b => b -> b) -> MediaEntity -> MediaEntity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaEntity -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaEntity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> MediaEntity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaEntity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaEntity -> m MediaEntity Source #

Show MediaEntity 
Instance details

Defined in Web.Twitter.Types

Generic MediaEntity 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep MediaEntity :: Type -> Type Source #

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

MediaSize

data MediaSize Source #

Instances
Eq MediaSize 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaSize Source #

toConstr :: MediaSize -> Constr Source #

dataTypeOf :: MediaSize -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaSize) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaSize) Source #

gmapT :: (forall b. Data b => b -> b) -> MediaSize -> MediaSize Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaSize -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaSize -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> MediaSize -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaSize -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaSize -> m MediaSize Source #

Show MediaSize 
Instance details

Defined in Web.Twitter.Types

Generic MediaSize 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep MediaSize :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Coordinates Source #

toConstr :: Coordinates -> Constr Source #

dataTypeOf :: Coordinates -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Coordinates) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Coordinates) Source #

gmapT :: (forall b. Data b => b -> b) -> Coordinates -> Coordinates Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Coordinates -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Coordinates -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Coordinates -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Coordinates -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Coordinates -> m Coordinates Source #

Show Coordinates 
Instance details

Defined in Web.Twitter.Types

Generic Coordinates 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Coordinates :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
Eq Place 
Instance details

Defined in Web.Twitter.Types

Methods

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

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

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 Source #

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

toConstr :: Place -> Constr Source #

dataTypeOf :: Place -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Place) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Place) Source #

gmapT :: (forall b. Data b => b -> b) -> Place -> Place Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Place -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Place -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Place -> m Place Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place Source #

Show Place 
Instance details

Defined in Web.Twitter.Types

Generic Place 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Place :: Type -> Type Source #

Methods

from :: Place -> Rep Place x Source #

to :: Rep Place x -> Place Source #

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

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

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BoundingBox Source #

toConstr :: BoundingBox -> Constr Source #

dataTypeOf :: BoundingBox -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BoundingBox) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BoundingBox) Source #

gmapT :: (forall b. Data b => b -> b) -> BoundingBox -> BoundingBox Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BoundingBox -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BoundingBox -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> BoundingBox -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BoundingBox -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BoundingBox -> m BoundingBox Source #

Show BoundingBox 
Instance details

Defined in Web.Twitter.Types

Generic BoundingBox 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep BoundingBox :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
Eq Contributor 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Contributor Source #

toConstr :: Contributor -> Constr Source #

dataTypeOf :: Contributor -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Contributor) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Contributor) Source #

gmapT :: (forall b. Data b => b -> b) -> Contributor -> Contributor Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Contributor -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Contributor -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor Source #

Show Contributor 
Instance details

Defined in Web.Twitter.Types

Generic Contributor 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep Contributor :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UploadedMedia Source #

toConstr :: UploadedMedia -> Constr Source #

dataTypeOf :: UploadedMedia -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UploadedMedia) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UploadedMedia) Source #

gmapT :: (forall b. Data b => b -> b) -> UploadedMedia -> UploadedMedia Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UploadedMedia -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UploadedMedia -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> UploadedMedia -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UploadedMedia -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadedMedia -> m UploadedMedia Source #

Show UploadedMedia 
Instance details

Defined in Web.Twitter.Types

Generic UploadedMedia 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep UploadedMedia :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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
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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageSizeType Source #

toConstr :: ImageSizeType -> Constr Source #

dataTypeOf :: ImageSizeType -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImageSizeType) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageSizeType) Source #

gmapT :: (forall b. Data b => b -> b) -> ImageSizeType -> ImageSizeType Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageSizeType -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageSizeType -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ImageSizeType -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageSizeType -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageSizeType -> m ImageSizeType Source #

Show ImageSizeType 
Instance details

Defined in Web.Twitter.Types

Generic ImageSizeType 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep ImageSizeType :: Type -> Type Source #

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.7.2.2-664onuRQGaMCTRz26PamF5" 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))))

Type aliases and sum types

data StreamingAPI Source #

Instances
Eq StreamingAPI 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingAPI Source #

toConstr :: StreamingAPI -> Constr Source #

dataTypeOf :: StreamingAPI -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StreamingAPI) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingAPI) Source #

gmapT :: (forall b. Data b => b -> b) -> StreamingAPI -> StreamingAPI Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingAPI -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingAPI -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> StreamingAPI -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingAPI -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingAPI -> m StreamingAPI Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingAPI -> m StreamingAPI Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingAPI -> m StreamingAPI Source #

Show StreamingAPI 
Instance details

Defined in Web.Twitter.Types

Generic StreamingAPI 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep StreamingAPI :: Type -> Type Source #

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

data EventTarget Source #

Constructors

ETUser User 
ETStatus Status 
ETList List 
ETUnknown Value 
Instances
Eq EventTarget 
Instance details

Defined in Web.Twitter.Types

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventTarget Source #

toConstr :: EventTarget -> Constr Source #

dataTypeOf :: EventTarget -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EventTarget) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventTarget) Source #

gmapT :: (forall b. Data b => b -> b) -> EventTarget -> EventTarget Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventTarget -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventTarget -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> EventTarget -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EventTarget -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTarget -> m EventTarget Source #

Show EventTarget 
Instance details

Defined in Web.Twitter.Types

Generic EventTarget 
Instance details

Defined in Web.Twitter.Types

Associated Types

type Rep EventTarget :: Type -> Type Source #

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