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

Instances details
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 :: forall r r'. (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

Methods

compare :: Content -> Content -> Ordering

(<) :: Content -> Content -> Bool

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

(>) :: Content -> Content -> Bool

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

max :: Content -> Content -> Content

min :: Content -> Content -> Content

Show Content Source # 
Instance details

Defined in GitHub.Data.Content

Methods

showsPrec :: Int -> Content -> ShowS

show :: Content -> String

showList :: [Content] -> ShowS

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

NFData Content Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: Content -> () #

FromJSON Content Source # 
Instance details

Defined in GitHub.Data.Content

Methods

parseJSON :: Value -> Parser Content #

parseJSONList :: Value -> Parser [Content] #

Binary Content Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: Content -> Put

get :: Get Content

putList :: [Content] -> Put

type Rep Content Source # 
Instance details

Defined in GitHub.Data.Content

type Rep Content = D1 ('MetaData "Content" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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

Instances details
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 :: forall r r'. (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

Methods

showsPrec :: Int -> ContentFileData -> ShowS

show :: ContentFileData -> String

showList :: [ContentFileData] -> ShowS

Generic ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentFileData :: Type -> Type

NFData ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentFileData -> () #

FromJSON ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Binary ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: ContentFileData -> Put

get :: Get ContentFileData

putList :: [ContentFileData] -> Put

type Rep ContentFileData Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentFileData = D1 ('MetaData "ContentFileData" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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

Instances details
Eq ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Methods

(==) :: ContentItem -> ContentItem -> Bool

(/=) :: ContentItem -> ContentItem -> Bool

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 :: forall r r'. (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

Methods

showsPrec :: Int -> ContentItem -> ShowS

show :: ContentItem -> String

showList :: [ContentItem] -> ShowS

Generic ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentItem :: Type -> Type

Methods

from :: ContentItem -> Rep ContentItem x

to :: Rep ContentItem x -> ContentItem

NFData ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentItem -> () #

FromJSON ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Methods

parseJSON :: Value -> Parser ContentItem #

parseJSONList :: Value -> Parser [ContentItem] #

Binary ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: ContentItem -> Put

get :: Get ContentItem

putList :: [ContentItem] -> Put

type Rep ContentItem Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentItem = D1 ('MetaData "ContentItem" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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

Instances details
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 :: forall r r'. (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

Methods

showsPrec :: Int -> ContentItemType -> ShowS

show :: ContentItemType -> String

showList :: [ContentItemType] -> ShowS

Generic ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentItemType :: Type -> Type

NFData ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentItemType -> () #

FromJSON ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Binary ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: ContentItemType -> Put

get :: Get ContentItemType

putList :: [ContentItemType] -> Put

type Rep ContentItemType Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentItemType = D1 ('MetaData "ContentItemType" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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

Instances details
Eq ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Methods

(==) :: ContentInfo -> ContentInfo -> Bool

(/=) :: ContentInfo -> ContentInfo -> Bool

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 :: forall r r'. (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

Methods

showsPrec :: Int -> ContentInfo -> ShowS

show :: ContentInfo -> String

showList :: [ContentInfo] -> ShowS

Generic ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentInfo :: Type -> Type

Methods

from :: ContentInfo -> Rep ContentInfo x

to :: Rep ContentInfo x -> ContentInfo

NFData ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentInfo -> () #

FromJSON ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Methods

parseJSON :: Value -> Parser ContentInfo #

parseJSONList :: Value -> Parser [ContentInfo] #

Binary ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: ContentInfo -> Put

get :: Get ContentInfo

putList :: [ContentInfo] -> Put

type Rep ContentInfo Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentInfo = D1 ('MetaData "ContentInfo" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "ContentInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contentName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "contentPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contentSha") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "contentUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: (S1 ('MetaSel ('Just "contentGitUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: S1 ('MetaSel ('Just "contentHtmlUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL)))))

data ContentResultInfo Source #

Instances

Instances details
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 :: forall r r'. (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

NFData ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentResultInfo -> () #

FromJSON ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

Binary ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentResultInfo Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentResultInfo = D1 ('MetaData "ContentResultInfo" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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

Instances details
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 :: forall r r'. (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

Methods

showsPrec :: Int -> ContentResult -> ShowS

show :: ContentResult -> String

showList :: [ContentResult] -> ShowS

Generic ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep ContentResult :: Type -> Type

NFData ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: ContentResult -> () #

FromJSON ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Methods

parseJSON :: Value -> Parser ContentResult #

parseJSONList :: Value -> Parser [ContentResult] #

Binary ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: ContentResult -> Put

get :: Get ContentResult

putList :: [ContentResult] -> Put

type Rep ContentResult Source # 
Instance details

Defined in GitHub.Data.Content

type Rep ContentResult = D1 ('MetaData "ContentResult" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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

Instances details
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 :: forall r r'. (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

Methods

compare :: Author -> Author -> Ordering

(<) :: Author -> Author -> Bool

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

(>) :: Author -> Author -> Bool

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

max :: Author -> Author -> Author

min :: Author -> Author -> Author

Show Author Source # 
Instance details

Defined in GitHub.Data.Content

Methods

showsPrec :: Int -> Author -> ShowS

show :: Author -> String

showList :: [Author] -> ShowS

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

NFData Author Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: Author -> () #

ToJSON Author Source # 
Instance details

Defined in GitHub.Data.Content

Methods

toJSON :: Author -> Value #

toEncoding :: Author -> Encoding #

toJSONList :: [Author] -> Value #

toEncodingList :: [Author] -> Encoding #

Binary Author Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: Author -> Put

get :: Get Author

putList :: [Author] -> Put

type Rep Author Source # 
Instance details

Defined in GitHub.Data.Content

type Rep Author = D1 ('MetaData "Author" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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

Instances details
Eq CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

(==) :: CreateFile -> CreateFile -> Bool

(/=) :: CreateFile -> CreateFile -> Bool

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 :: forall r r'. (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

Methods

showsPrec :: Int -> CreateFile -> ShowS

show :: CreateFile -> String

showList :: [CreateFile] -> ShowS

Generic CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep CreateFile :: Type -> Type

Methods

from :: CreateFile -> Rep CreateFile x

to :: Rep CreateFile x -> CreateFile

NFData CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: CreateFile -> () #

ToJSON CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

toJSON :: CreateFile -> Value #

toEncoding :: CreateFile -> Encoding #

toJSONList :: [CreateFile] -> Value #

toEncodingList :: [CreateFile] -> Encoding #

Binary CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: CreateFile -> Put

get :: Get CreateFile

putList :: [CreateFile] -> Put

type Rep CreateFile Source # 
Instance details

Defined in GitHub.Data.Content

type Rep CreateFile = D1 ('MetaData "CreateFile" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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

Instances details
Eq UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

(==) :: UpdateFile -> UpdateFile -> Bool

(/=) :: UpdateFile -> UpdateFile -> Bool

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 :: forall r r'. (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

Methods

showsPrec :: Int -> UpdateFile -> ShowS

show :: UpdateFile -> String

showList :: [UpdateFile] -> ShowS

Generic UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep UpdateFile :: Type -> Type

Methods

from :: UpdateFile -> Rep UpdateFile x

to :: Rep UpdateFile x -> UpdateFile

NFData UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: UpdateFile -> () #

ToJSON UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

toJSON :: UpdateFile -> Value #

toEncoding :: UpdateFile -> Encoding #

toJSONList :: [UpdateFile] -> Value #

toEncodingList :: [UpdateFile] -> Encoding #

Binary UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: UpdateFile -> Put

get :: Get UpdateFile

putList :: [UpdateFile] -> Put

type Rep UpdateFile Source # 
Instance details

Defined in GitHub.Data.Content

type Rep UpdateFile = D1 ('MetaData "UpdateFile" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "UpdateFile" 'PrefixI 'True) ((S1 ('MetaSel ('Just "updateFilePath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "updateFileMessage") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateFileContent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "updateFileSHA") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateFileBranch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "updateFileAuthor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Author)) :*: S1 ('MetaSel ('Just "updateFileCommitter") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Author))))))

data DeleteFile Source #

Instances

Instances details
Eq DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

(==) :: DeleteFile -> DeleteFile -> Bool

(/=) :: DeleteFile -> DeleteFile -> Bool

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 :: forall r r'. (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

Methods

showsPrec :: Int -> DeleteFile -> ShowS

show :: DeleteFile -> String

showList :: [DeleteFile] -> ShowS

Generic DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Associated Types

type Rep DeleteFile :: Type -> Type

Methods

from :: DeleteFile -> Rep DeleteFile x

to :: Rep DeleteFile x -> DeleteFile

NFData DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

rnf :: DeleteFile -> () #

ToJSON DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

toJSON :: DeleteFile -> Value #

toEncoding :: DeleteFile -> Encoding #

toJSONList :: [DeleteFile] -> Value #

toEncodingList :: [DeleteFile] -> Encoding #

Binary DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

Methods

put :: DeleteFile -> Put

get :: Get DeleteFile

putList :: [DeleteFile] -> Put

type Rep DeleteFile Source # 
Instance details

Defined in GitHub.Data.Content

type Rep DeleteFile = D1 ('MetaData "DeleteFile" "GitHub.Data.Content" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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 #