github-0.20: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Data.Options

Contents

Description

Module with modifiers for pull requests' and issues' listings.

Synopsis

Common modifiers

stateOpen :: HasState mod => mod Source #

stateAll :: HasState mod => mod Source #

Pull Requests

Issues

Repo issues

optionsIrrelevantMilestone :: IssueRepoMod Source #

Don't care about milestones.

optionsAnyMilestone means there should be some milestone, but it can be any.

See https://developer.github.com/v3/issues/#list-issues-for-a-repository

Data

data IssueState Source #

Constructors

StateOpen 
StateClosed 
Instances
Bounded IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Enum IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Eq IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Data IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

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

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

toConstr :: IssueState -> Constr Source #

dataTypeOf :: IssueState -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Ord IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Show IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Generic IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Associated Types

type Rep IssueState :: Type -> Type Source #

ToJSON IssueState Source # 
Instance details

Defined in GitHub.Data.Options

FromJSON IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Binary IssueState Source # 
Instance details

Defined in GitHub.Data.Options

NFData IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

rnf :: IssueState -> () Source #

type Rep IssueState Source # 
Instance details

Defined in GitHub.Data.Options

type Rep IssueState = D1 (MetaData "IssueState" "GitHub.Data.Options" "github-0.20-EqsirKiH6Hk89stA2S25YD" False) (C1 (MetaCons "StateOpen" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "StateClosed" PrefixI False) (U1 :: Type -> Type))

data MergeableState Source #

PullRequest mergeable_state

Instances
Bounded MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Enum MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Eq MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Data MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

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

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

toConstr :: MergeableState -> Constr Source #

dataTypeOf :: MergeableState -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Ord MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Show MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Generic MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Associated Types

type Rep MergeableState :: Type -> Type Source #

ToJSON MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

FromJSON MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Binary MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

NFData MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

rnf :: MergeableState -> () Source #

type Rep MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

type Rep MergeableState = D1 (MetaData "MergeableState" "GitHub.Data.Options" "github-0.20-EqsirKiH6Hk89stA2S25YD" False) ((C1 (MetaCons "StateUnknown" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "StateClean" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "StateDirty" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "StateUnstable" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "StateBlocked" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "StateBehind" PrefixI False) (U1 :: Type -> Type))))

Internal

class HasState mod Source #

Minimal complete definition

state

Instances
HasState IssueRepoMod Source # 
Instance details

Defined in GitHub.Data.Options

HasState IssueMod Source # 
Instance details

Defined in GitHub.Data.Options

HasState PullRequestMod Source # 
Instance details

Defined in GitHub.Data.Options

class HasDirection mod Source #

Minimal complete definition

sortDir

Instances
HasDirection IssueRepoMod Source # 
Instance details

Defined in GitHub.Data.Options

Methods

sortDir :: SortDirection -> IssueRepoMod

HasDirection IssueMod Source # 
Instance details

Defined in GitHub.Data.Options

Methods

sortDir :: SortDirection -> IssueMod

HasDirection PullRequestMod Source # 
Instance details

Defined in GitHub.Data.Options

Methods

sortDir :: SortDirection -> PullRequestMod

class HasComments mod Source #

Minimal complete definition

sortByComments

class HasLabels mod Source #

Minimal complete definition

optionsLabels

Instances
HasLabels IssueRepoMod Source # 
Instance details

Defined in GitHub.Data.Options

HasLabels IssueMod Source # 
Instance details

Defined in GitHub.Data.Options