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

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

GitHub.Data.Content

Description

 
Synopsis

Documentation

data Content Source #

Instances
Eq Content Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

Data Content Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: Content -> Constr #

dataTypeOf :: Content -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Content Source # 
Instance details

Defined in GitHub.Data.Content

Show Content Source # 
Instance details

Defined in GitHub.Data.Content

Generic Content Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep Content :: Type -> Type #

Methods

from :: Content -> Rep Content x #

to :: Rep Content x -> Content #

FromJSON Content Source # 
Instance details

Defined in GitHub.Data.Content

Binary Content Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: Content -> Put #

get :: Get Content #

putList :: [Content] -> Put #

NFData Content Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: Content -> () #

type Rep Content Source # 
Instance details

Defined in GitHub.Data.Content

type Rep Content = D1 (MetaData "Content" "GitHub.Data.Content" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "ContentFile" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentFileData)) :+: C1 (MetaCons "ContentDirectory" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Vector ContentItem))))

data ContentFileData Source #

Instances
Eq ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Data ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: ContentFileData -> Constr #

dataTypeOf :: ContentFileData -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Show ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Generic ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentFileData :: Type -> Type #

FromJSON ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Binary ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

NFData ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentFileData -> () #

type Rep ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentFileData = D1 (MetaData "ContentFileData" "GitHub.Data.Content" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "ContentFileData" PrefixI True) ((S1 (MetaSel (Just "contentFileInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentInfo) :*: S1 (MetaSel (Just "contentFileEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "contentFileSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "contentFileContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

data ContentItem Source #

An item in a directory listing.

Instances
Eq ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Data ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: ContentItem -> Constr #

dataTypeOf :: ContentItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Show ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Generic ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentItem :: Type -> Type #

FromJSON ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Binary ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

NFData ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentItem -> () #

type Rep ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentItem = D1 (MetaData "ContentItem" "GitHub.Data.Content" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "ContentItem" PrefixI True) (S1 (MetaSel (Just "contentItemType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentItemType) :*: S1 (MetaSel (Just "contentItemInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentInfo)))

data ContentItemType Source #

Constructors

ItemFile 
ItemDir 
Instances
Eq ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Data ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: ContentItemType -> Constr #

dataTypeOf :: ContentItemType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Show ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Generic ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentItemType :: Type -> Type #

FromJSON ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Binary ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

NFData ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentItemType -> () #

type Rep ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentItemType = D1 (MetaData "ContentItemType" "GitHub.Data.Content" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "ItemFile" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ItemDir" PrefixI False) (U1 :: Type -> Type))

data ContentInfo Source #

Information common to both kinds of Content: files and directories.

Instances
Eq ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Data ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: ContentInfo -> Constr #

dataTypeOf :: ContentInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Show ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Generic ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentInfo :: Type -> Type #

FromJSON ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Binary ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

NFData ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentInfo -> () #

type Rep ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

data ContentResultInfo Source #

Instances
Eq ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

Data ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: ContentResultInfo -> Constr #

dataTypeOf :: ContentResultInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

Show ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

Generic ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentResultInfo :: Type -> Type #

FromJSON ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

Binary ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

NFData ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentResultInfo -> () #

type Rep ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentResultInfo = D1 (MetaData "ContentResultInfo" "GitHub.Data.Content" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "ContentResultInfo" PrefixI True) (S1 (MetaSel (Just "contentResultInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentInfo) :*: S1 (MetaSel (Just "contentResultSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

data ContentResult Source #

Instances
Eq ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Data ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: ContentResult -> Constr #

dataTypeOf :: ContentResult -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Show ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Generic ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentResult :: Type -> Type #

FromJSON ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Binary ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

NFData ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentResult -> () #

type Rep ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentResult = D1 (MetaData "ContentResult" "GitHub.Data.Content" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "ContentResult" PrefixI True) (S1 (MetaSel (Just "contentResultContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentResultInfo) :*: S1 (MetaSel (Just "contentResultCommit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GitCommit)))

data Author Source #

Constructors

Author 

Fields

Instances
Eq Author Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

Data Author Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: Author -> Constr #

dataTypeOf :: Author -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Author Source # 
Instance details

Defined in GitHub.Data.Content

Show Author Source # 
Instance details

Defined in GitHub.Data.Content

Generic Author Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep Author :: Type -> Type #

Methods

from :: Author -> Rep Author x #

to :: Rep Author x -> Author #

ToJSON Author Source # 
Instance details

Defined in GitHub.Data.Content

Binary Author Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: Author -> Put #

get :: Get Author #

putList :: [Author] -> Put #

NFData Author Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: Author -> () #

type Rep Author Source # 
Instance details

Defined in GitHub.Data.Content

type Rep Author = D1 (MetaData "Author" "GitHub.Data.Content" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "Author" PrefixI True) (S1 (MetaSel (Just "authorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "authorEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

data CreateFile Source #

Instances
Eq CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Data CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: CreateFile -> Constr #

dataTypeOf :: CreateFile -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Show CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Generic CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep CreateFile :: Type -> Type #

ToJSON CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Binary CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

NFData CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: CreateFile -> () #

type Rep CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

type Rep CreateFile = D1 (MetaData "CreateFile" "GitHub.Data.Content" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "CreateFile" PrefixI True) ((S1 (MetaSel (Just "createFilePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "createFileMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "createFileContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "createFileBranch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "createFileAuthor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Author)) :*: S1 (MetaSel (Just "createFileCommitter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Author))))))

data UpdateFile Source #

Instances
Eq UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Data UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: UpdateFile -> Constr #

dataTypeOf :: UpdateFile -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Show UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Generic UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep UpdateFile :: Type -> Type #

ToJSON UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Binary UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

NFData UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: UpdateFile -> () #

type Rep UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

data DeleteFile Source #

Instances
Eq DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Data DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

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

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

toConstr :: DeleteFile -> Constr #

dataTypeOf :: DeleteFile -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Show DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Generic DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep DeleteFile :: Type -> Type #

ToJSON DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Binary DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

NFData DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: DeleteFile -> () #

type Rep DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

type Rep DeleteFile = D1 (MetaData "DeleteFile" "GitHub.Data.Content" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "DeleteFile" PrefixI True) ((S1 (MetaSel (Just "deleteFilePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "deleteFileMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "deleteFileSHA") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "deleteFileBranch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "deleteFileAuthor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Author)) :*: S1 (MetaSel (Just "deleteFileCommitter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Author))))))

(.=?) :: ToJSON v => Text -> Maybe v -> [Pair] Source #