License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data Content
- data ContentFileData = ContentFileData {}
- data ContentItem = ContentItem {}
- data ContentItemType
- data ContentInfo = ContentInfo {
- contentName :: !Text
- contentPath :: !Text
- contentSha :: !Text
- contentUrl :: !URL
- contentGitUrl :: !URL
- contentHtmlUrl :: !URL
- data ContentResultInfo = ContentResultInfo {}
- data ContentResult = ContentResult {}
- data Author = Author {
- authorName :: !Text
- authorEmail :: !Text
- data CreateFile = CreateFile {
- createFilePath :: !Text
- createFileMessage :: !Text
- createFileContent :: !Text
- createFileBranch :: !(Maybe Text)
- createFileAuthor :: !(Maybe Author)
- createFileCommitter :: !(Maybe Author)
- data UpdateFile = UpdateFile {
- updateFilePath :: !Text
- updateFileMessage :: !Text
- updateFileContent :: !Text
- updateFileSHA :: !Text
- updateFileBranch :: !(Maybe Text)
- updateFileAuthor :: !(Maybe Author)
- updateFileCommitter :: !(Maybe Author)
- data DeleteFile = DeleteFile {
- deleteFilePath :: !Text
- deleteFileMessage :: !Text
- deleteFileSHA :: !Text
- deleteFileBranch :: !(Maybe Text)
- deleteFileAuthor :: !(Maybe Author)
- deleteFileCommitter :: !(Maybe Author)
- (.=?) :: ToJSON v => Text -> Maybe v -> [Pair]
Documentation
Instances
Eq Content Source # | |
Data Content Source # | |
Defined in GitHub.Data.Content 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 # | |
Show Content Source # | |
Generic Content Source # | |
FromJSON Content Source # | |
Binary Content Source # | |
NFData Content Source # | |
Defined in GitHub.Data.Content | |
type Rep Content Source # | |
Defined in GitHub.Data.Content type Rep Content = D1 (MetaData "Content" "GitHub.Data.Content" "github-0.26-NGv9yMkIfb3ssAFkCPufN" 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 #
ContentFileData | |
|
Instances
data ContentItem Source #
An item in a directory listing.
Instances
data ContentItemType Source #
Instances
data ContentInfo Source #
Information common to both kinds of Content: files and directories.
ContentInfo | |
|
Instances
data ContentResultInfo Source #
Instances
data ContentResult Source #
Instances
Author | |
|
Instances
Eq Author Source # | |
Data Author Source # | |
Defined in GitHub.Data.Content 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 # | |
Show Author Source # | |
Generic Author Source # | |
ToJSON Author Source # | |
Defined in GitHub.Data.Content | |
Binary Author Source # | |
NFData Author Source # | |
Defined in GitHub.Data.Content | |
type Rep Author Source # | |
Defined in GitHub.Data.Content type Rep Author = D1 (MetaData "Author" "GitHub.Data.Content" "github-0.26-NGv9yMkIfb3ssAFkCPufN" 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 #
CreateFile | |
|
Instances
data UpdateFile Source #
UpdateFile | |
|
Instances
data DeleteFile Source #
DeleteFile | |
|