github-0.29: Access to the GitHub API, v3.
Safe HaskellSafe-Inferred
LanguageHaskell2010

GitHub.Data.Actions.Common

Synopsis

Documentation

data WithTotalCount a Source #

A page of a paginated response.

Constructors

WithTotalCount 

Fields

Instances

Instances details
Foldable WithTotalCount Source # 
Instance details

Defined in GitHub.Data.Actions.Common

Methods

fold :: Monoid m => WithTotalCount m -> m #

foldMap :: Monoid m => (a -> m) -> WithTotalCount a -> m #

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

foldr :: (a -> b -> b) -> b -> WithTotalCount a -> b #

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

foldl :: (b -> a -> b) -> b -> WithTotalCount a -> b #

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

foldr1 :: (a -> a -> a) -> WithTotalCount a -> a #

foldl1 :: (a -> a -> a) -> WithTotalCount a -> a #

toList :: WithTotalCount a -> [a] #

null :: WithTotalCount a -> Bool #

length :: WithTotalCount a -> Int #

elem :: Eq a => a -> WithTotalCount a -> Bool #

maximum :: Ord a => WithTotalCount a -> a #

minimum :: Ord a => WithTotalCount a -> a #

sum :: Num a => WithTotalCount a -> a #

product :: Num a => WithTotalCount a -> a #

FromJSON (WithTotalCount Artifact) Source # 
Instance details

Defined in GitHub.Data.Actions.Artifacts

FromJSON (WithTotalCount Cache) Source # 
Instance details

Defined in GitHub.Data.Actions.Cache

FromJSON (WithTotalCount RepositoryCacheUsage) Source # 
Instance details

Defined in GitHub.Data.Actions.Cache

FromJSON (WithTotalCount OrganizationSecret) Source # 
Instance details

Defined in GitHub.Data.Actions.Secrets

FromJSON (WithTotalCount RepoSecret) Source # 
Instance details

Defined in GitHub.Data.Actions.Secrets

FromJSON (WithTotalCount SelectedRepo) Source # 
Instance details

Defined in GitHub.Data.Actions.Secrets

FromJSON (WithTotalCount Job) Source # 
Instance details

Defined in GitHub.Data.Actions.WorkflowJobs

FromJSON (WithTotalCount WorkflowRun) Source # 
Instance details

Defined in GitHub.Data.Actions.WorkflowRuns

FromJSON (WithTotalCount Workflow) Source # 
Instance details

Defined in GitHub.Data.Actions.Workflows

Data a => Data (WithTotalCount a) Source # 
Instance details

Defined in GitHub.Data.Actions.Common

Methods

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

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

toConstr :: WithTotalCount a -> Constr #

dataTypeOf :: WithTotalCount a -> DataType #

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

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

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

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

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

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

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

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

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

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

Semigroup (WithTotalCount a) Source #

Joining two pages of a paginated response. The withTotalCountTotalCount is assumed to be the same in both pages, but this is not checked.

Instance details

Defined in GitHub.Data.Actions.Common

Generic (WithTotalCount a) Source # 
Instance details

Defined in GitHub.Data.Actions.Common

Associated Types

type Rep (WithTotalCount a) :: Type -> Type #

Show a => Show (WithTotalCount a) Source # 
Instance details

Defined in GitHub.Data.Actions.Common

Eq a => Eq (WithTotalCount a) Source # 
Instance details

Defined in GitHub.Data.Actions.Common

Ord a => Ord (WithTotalCount a) Source # 
Instance details

Defined in GitHub.Data.Actions.Common

type Rep (WithTotalCount a) Source # 
Instance details

Defined in GitHub.Data.Actions.Common

type Rep (WithTotalCount a) = D1 ('MetaData "WithTotalCount" "GitHub.Data.Actions.Common" "github-0.29-8pCAynMhaqD8pNGAeWnyh4" 'False) (C1 ('MetaCons "WithTotalCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "withTotalCountItems") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Vector a)) :*: S1 ('MetaSel ('Just "withTotalCountTotalCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)))