github-0.23: Access to the GitHub API, v3.
LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Data.Comments

Description

 

Documentation

data Comment Source #

Constructors

Comment 

Fields

Instances

Instances details
Eq Comment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

(==) :: Comment -> Comment -> Bool

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

Data Comment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

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

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

toConstr :: Comment -> Constr

dataTypeOf :: Comment -> DataType

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

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

gmapT :: (forall b. Data b => b -> b) -> Comment -> Comment

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

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

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

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

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

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

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

Ord Comment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

compare :: Comment -> Comment -> Ordering

(<) :: Comment -> Comment -> Bool

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

(>) :: Comment -> Comment -> Bool

(>=) :: Comment -> Comment -> Bool

max :: Comment -> Comment -> Comment

min :: Comment -> Comment -> Comment

Show Comment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

showsPrec :: Int -> Comment -> ShowS

show :: Comment -> String

showList :: [Comment] -> ShowS

Generic Comment Source # 
Instance details

Defined in GitHub.Data.Comments

Associated Types

type Rep Comment :: Type -> Type

Methods

from :: Comment -> Rep Comment x

to :: Rep Comment x -> Comment

NFData Comment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

rnf :: Comment -> () #

FromJSON Comment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

parseJSON :: Value -> Parser Comment #

parseJSONList :: Value -> Parser [Comment] #

Binary Comment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

put :: Comment -> Put

get :: Get Comment

putList :: [Comment] -> Put

type Rep Comment Source # 
Instance details

Defined in GitHub.Data.Comments

type Rep Comment = D1 ('MetaData "Comment" "GitHub.Data.Comments" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "Comment" 'PrefixI 'True) (((S1 ('MetaSel ('Just "commentPosition") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "commentLine") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "commentBody") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "commentCommitId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "commentUpdatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime)))) :*: ((S1 ('MetaSel ('Just "commentHtmlUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe URL)) :*: (S1 ('MetaSel ('Just "commentUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: S1 ('MetaSel ('Just "commentCreatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe UTCTime)))) :*: (S1 ('MetaSel ('Just "commentPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "commentUser") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SimpleUser) :*: S1 ('MetaSel ('Just "commentId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Id Comment)))))))

data NewComment Source #

Constructors

NewComment 

Fields

Instances

Instances details
Eq NewComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

(==) :: NewComment -> NewComment -> Bool

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

Data NewComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

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

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

toConstr :: NewComment -> Constr

dataTypeOf :: NewComment -> DataType

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

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

gmapT :: (forall b. Data b => b -> b) -> NewComment -> NewComment

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

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

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

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

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

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

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

Ord NewComment Source # 
Instance details

Defined in GitHub.Data.Comments

Show NewComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

showsPrec :: Int -> NewComment -> ShowS

show :: NewComment -> String

showList :: [NewComment] -> ShowS

Generic NewComment Source # 
Instance details

Defined in GitHub.Data.Comments

Associated Types

type Rep NewComment :: Type -> Type

Methods

from :: NewComment -> Rep NewComment x

to :: Rep NewComment x -> NewComment

NFData NewComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

rnf :: NewComment -> () #

ToJSON NewComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

toJSON :: NewComment -> Value #

toEncoding :: NewComment -> Encoding #

toJSONList :: [NewComment] -> Value #

toEncodingList :: [NewComment] -> Encoding #

Binary NewComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

put :: NewComment -> Put

get :: Get NewComment

putList :: [NewComment] -> Put

type Rep NewComment Source # 
Instance details

Defined in GitHub.Data.Comments

type Rep NewComment = D1 ('MetaData "NewComment" "GitHub.Data.Comments" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "NewComment" 'PrefixI 'True) (S1 ('MetaSel ('Just "newCommentBody") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))

data EditComment Source #

Constructors

EditComment 

Fields

Instances

Instances details
Eq EditComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

(==) :: EditComment -> EditComment -> Bool

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

Data EditComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

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

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

toConstr :: EditComment -> Constr

dataTypeOf :: EditComment -> DataType

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

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

gmapT :: (forall b. Data b => b -> b) -> EditComment -> EditComment

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

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

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

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

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

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

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

Ord EditComment Source # 
Instance details

Defined in GitHub.Data.Comments

Show EditComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

showsPrec :: Int -> EditComment -> ShowS

show :: EditComment -> String

showList :: [EditComment] -> ShowS

Generic EditComment Source # 
Instance details

Defined in GitHub.Data.Comments

Associated Types

type Rep EditComment :: Type -> Type

Methods

from :: EditComment -> Rep EditComment x

to :: Rep EditComment x -> EditComment

NFData EditComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

rnf :: EditComment -> () #

ToJSON EditComment Source # 
Instance details

Defined in GitHub.Data.Comments

Binary EditComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

put :: EditComment -> Put

get :: Get EditComment

putList :: [EditComment] -> Put

type Rep EditComment Source # 
Instance details

Defined in GitHub.Data.Comments

type Rep EditComment = D1 ('MetaData "EditComment" "GitHub.Data.Comments" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "EditComment" 'PrefixI 'True) (S1 ('MetaSel ('Just "editCommentBody") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))

data NewPullComment Source #

Instances

Instances details
Eq NewPullComment Source # 
Instance details

Defined in GitHub.Data.Comments

Data NewPullComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

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

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

toConstr :: NewPullComment -> Constr

dataTypeOf :: NewPullComment -> DataType

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

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

gmapT :: (forall b. Data b => b -> b) -> NewPullComment -> NewPullComment

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

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

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

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

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

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

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

Ord NewPullComment Source # 
Instance details

Defined in GitHub.Data.Comments

Show NewPullComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

showsPrec :: Int -> NewPullComment -> ShowS

show :: NewPullComment -> String

showList :: [NewPullComment] -> ShowS

Generic NewPullComment Source # 
Instance details

Defined in GitHub.Data.Comments

Associated Types

type Rep NewPullComment :: Type -> Type

NFData NewPullComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

rnf :: NewPullComment -> () #

ToJSON NewPullComment Source # 
Instance details

Defined in GitHub.Data.Comments

Binary NewPullComment Source # 
Instance details

Defined in GitHub.Data.Comments

Methods

put :: NewPullComment -> Put

get :: Get NewPullComment

putList :: [NewPullComment] -> Put

type Rep NewPullComment Source # 
Instance details

Defined in GitHub.Data.Comments

type Rep NewPullComment = D1 ('MetaData "NewPullComment" "GitHub.Data.Comments" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "NewPullComment" 'PrefixI 'True) ((S1 ('MetaSel ('Just "newPullCommentCommit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "newPullCommentPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "newPullCommentPosition") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "newPullCommentBody") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))