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

Safe HaskellNone
LanguageHaskell2010

GitHub.Data.Reviews

Documentation

data ReviewState Source #

Instances

Bounded ReviewState Source # 
Enum ReviewState Source # 
Eq ReviewState Source # 
Ord ReviewState Source # 
Show ReviewState Source # 
Generic ReviewState Source # 

Associated Types

type Rep ReviewState :: * -> * #

FromJSON ReviewState Source # 
Binary ReviewState Source # 
NFData ReviewState Source # 

Methods

rnf :: ReviewState -> () #

type Rep ReviewState Source # 
type Rep ReviewState = D1 (MetaData "ReviewState" "GitHub.Data.Reviews" "github-0.17.0-fZe2tmQJtNGH9i4ZUoXPX" False) ((:+:) ((:+:) (C1 (MetaCons "ReviewStatePending" PrefixI False) U1) (C1 (MetaCons "ReviewStateApproved" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ReviewStateDismissed" PrefixI False) U1) ((:+:) (C1 (MetaCons "ReviewStateCommented" PrefixI False) U1) (C1 (MetaCons "ReviewStateChangesRequested" PrefixI False) U1))))

data Review Source #

Instances

Show Review Source # 
Generic Review Source # 

Associated Types

type Rep Review :: * -> * #

Methods

from :: Review -> Rep Review x #

to :: Rep Review x -> Review #

FromJSON Review Source # 
Binary Review Source # 

Methods

put :: Review -> Put #

get :: Get Review #

putList :: [Review] -> Put #

NFData Review Source # 

Methods

rnf :: Review -> () #

type Rep Review Source # 

data ReviewComment Source #

Instances

Show ReviewComment Source # 
Generic ReviewComment Source # 

Associated Types

type Rep ReviewComment :: * -> * #

FromJSON ReviewComment Source # 
Binary ReviewComment Source # 
NFData ReviewComment Source # 

Methods

rnf :: ReviewComment -> () #

type Rep ReviewComment Source # 
type Rep ReviewComment = D1 (MetaData "ReviewComment" "GitHub.Data.Reviews" "github-0.17.0-fZe2tmQJtNGH9i4ZUoXPX" False) (C1 (MetaCons "ReviewComment" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "reviewCommentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Id ReviewComment))) ((:*:) (S1 (MetaSel (Just Symbol "reviewCommentUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SimpleUser)) (S1 (MetaSel (Just Symbol "reviewCommentBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "reviewCommentUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL)) (S1 (MetaSel (Just Symbol "reviewCommentPullRequestReviewId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Id Review)))) ((:*:) (S1 (MetaSel (Just Symbol "reviewCommentDiffHunk") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "reviewCommentPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "reviewCommentPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "reviewCommentOriginalPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))) ((:*:) (S1 (MetaSel (Just Symbol "reviewCommentCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "reviewCommentOriginalCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "reviewCommentCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UTCTime)) (S1 (MetaSel (Just Symbol "reviewCommentUpdatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UTCTime))) ((:*:) (S1 (MetaSel (Just Symbol "reviewCommentHtmlUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL)) (S1 (MetaSel (Just Symbol "reviewCommentPullRequestUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL)))))))