github-0.28.0.1: Access to the GitHub API, v3.
LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Data.Search

Description

 

Documentation

data SearchResult' entities Source #

Constructors

SearchResult 

Instances

Instances details
Foldable SearchResult' Source # 
Instance details

Defined in GitHub.Data.Search

Methods

fold :: Monoid m => SearchResult' m -> m #

foldMap :: Monoid m => (a -> m) -> SearchResult' a -> m #

foldMap' :: Monoid m => (a -> m) -> SearchResult' a -> m #

foldr :: (a -> b -> b) -> b -> SearchResult' a -> b #

foldr' :: (a -> b -> b) -> b -> SearchResult' a -> b #

foldl :: (b -> a -> b) -> b -> SearchResult' a -> b #

foldl' :: (b -> a -> b) -> b -> SearchResult' a -> b #

foldr1 :: (a -> a -> a) -> SearchResult' a -> a #

foldl1 :: (a -> a -> a) -> SearchResult' a -> a #

toList :: SearchResult' a -> [a] #

null :: SearchResult' a -> Bool #

length :: SearchResult' a -> Int #

elem :: Eq a => a -> SearchResult' a -> Bool #

maximum :: Ord a => SearchResult' a -> a #

minimum :: Ord a => SearchResult' a -> a #

sum :: Num a => SearchResult' a -> a #

product :: Num a => SearchResult' a -> a #

Eq entities => Eq (SearchResult' entities) Source # 
Instance details

Defined in GitHub.Data.Search

Methods

(==) :: SearchResult' entities -> SearchResult' entities -> Bool #

(/=) :: SearchResult' entities -> SearchResult' entities -> Bool #

Data entities => Data (SearchResult' entities) Source # 
Instance details

Defined in GitHub.Data.Search

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchResult' entities -> c (SearchResult' entities) #

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

toConstr :: SearchResult' entities -> Constr #

dataTypeOf :: SearchResult' entities -> DataType #

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

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

gmapT :: (forall b. Data b => b -> b) -> SearchResult' entities -> SearchResult' entities #

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

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

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

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchResult' entities -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchResult' entities -> m (SearchResult' entities) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult' entities -> m (SearchResult' entities) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult' entities -> m (SearchResult' entities) #

Ord entities => Ord (SearchResult' entities) Source # 
Instance details

Defined in GitHub.Data.Search

Methods

compare :: SearchResult' entities -> SearchResult' entities -> Ordering #

(<) :: SearchResult' entities -> SearchResult' entities -> Bool #

(<=) :: SearchResult' entities -> SearchResult' entities -> Bool #

(>) :: SearchResult' entities -> SearchResult' entities -> Bool #

(>=) :: SearchResult' entities -> SearchResult' entities -> Bool #

max :: SearchResult' entities -> SearchResult' entities -> SearchResult' entities #

min :: SearchResult' entities -> SearchResult' entities -> SearchResult' entities #

Show entities => Show (SearchResult' entities) Source # 
Instance details

Defined in GitHub.Data.Search

Methods

showsPrec :: Int -> SearchResult' entities -> ShowS #

show :: SearchResult' entities -> String #

showList :: [SearchResult' entities] -> ShowS #

Generic (SearchResult' entities) Source # 
Instance details

Defined in GitHub.Data.Search

Associated Types

type Rep (SearchResult' entities) :: Type -> Type #

Methods

from :: SearchResult' entities -> Rep (SearchResult' entities) x #

to :: Rep (SearchResult' entities) x -> SearchResult' entities #

Semigroup res => Semigroup (SearchResult' res) Source # 
Instance details

Defined in GitHub.Data.Search

(Monoid entities, FromJSON entities) => FromJSON (SearchResult' entities) Source # 
Instance details

Defined in GitHub.Data.Search

Methods

parseJSON :: Value -> Parser (SearchResult' entities) #

parseJSONList :: Value -> Parser [SearchResult' entities] #

Binary entities => Binary (SearchResult' entities) Source # 
Instance details

Defined in GitHub.Data.Search

Methods

put :: SearchResult' entities -> Put #

get :: Get (SearchResult' entities) #

putList :: [SearchResult' entities] -> Put #

NFData entities => NFData (SearchResult' entities) Source # 
Instance details

Defined in GitHub.Data.Search

Methods

rnf :: SearchResult' entities -> () #

type Rep (SearchResult' entities) Source # 
Instance details

Defined in GitHub.Data.Search

type Rep (SearchResult' entities) = D1 ('MetaData "SearchResult'" "GitHub.Data.Search" "github-0.28.0.1-Ane44df1Z4EB2fvYeVzY0Q" 'False) (C1 ('MetaCons "SearchResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "searchResultTotalCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "searchResultResults") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 entities)))

type SearchResult entity = SearchResult' (Vector entity) Source #

data Code Source #

Constructors

Code 

Instances

Instances details
Eq Code Source # 
Instance details

Defined in GitHub.Data.Search

Methods

(==) :: Code -> Code -> Bool #

(/=) :: Code -> Code -> Bool #

Data Code Source # 
Instance details

Defined in GitHub.Data.Search

Methods

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

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

toConstr :: Code -> Constr #

dataTypeOf :: Code -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Code Source # 
Instance details

Defined in GitHub.Data.Search

Methods

compare :: Code -> Code -> Ordering #

(<) :: Code -> Code -> Bool #

(<=) :: Code -> Code -> Bool #

(>) :: Code -> Code -> Bool #

(>=) :: Code -> Code -> Bool #

max :: Code -> Code -> Code #

min :: Code -> Code -> Code #

Show Code Source # 
Instance details

Defined in GitHub.Data.Search

Methods

showsPrec :: Int -> Code -> ShowS #

show :: Code -> String #

showList :: [Code] -> ShowS #

Generic Code Source # 
Instance details

Defined in GitHub.Data.Search

Associated Types

type Rep Code :: Type -> Type #

Methods

from :: Code -> Rep Code x #

to :: Rep Code x -> Code #

FromJSON Code Source # 
Instance details

Defined in GitHub.Data.Search

Binary Code Source # 
Instance details

Defined in GitHub.Data.Search

Methods

put :: Code -> Put #

get :: Get Code #

putList :: [Code] -> Put #

NFData Code Source # 
Instance details

Defined in GitHub.Data.Search

Methods

rnf :: Code -> () #

type Rep Code Source # 
Instance details

Defined in GitHub.Data.Search