github-0.30: Access to the GitHub API, v3.
Safe HaskellNone
LanguageHaskell2010

GitHub.Data.Reactions

Synopsis

Documentation

data Reaction Source #

Instances

Instances details
FromJSON Reaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Binary Reaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Methods

put :: Reaction -> Put #

get :: Get Reaction #

putList :: [Reaction] -> Put #

NFData Reaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Methods

rnf :: Reaction -> () #

Data Reaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Methods

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

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

toConstr :: Reaction -> Constr #

dataTypeOf :: Reaction -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Reaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Associated Types

type Rep Reaction 
Instance details

Defined in GitHub.Data.Reactions

type Rep Reaction = D1 ('MetaData "Reaction" "GitHub.Data.Reactions" "github-0.30-HBqv5f1w8iaAIPbrBrZnp2" 'False) (C1 ('MetaCons "Reaction" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Id Reaction)) :*: S1 ('MetaSel ('Just "reactionUser") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe SimpleUser))) :*: (S1 ('MetaSel ('Just "reactionContent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ReactionContent) :*: S1 ('MetaSel ('Just "reactionCreatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime))))

Methods

from :: Reaction -> Rep Reaction x #

to :: Rep Reaction x -> Reaction #

Show Reaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Eq Reaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Ord Reaction Source # 
Instance details

Defined in GitHub.Data.Reactions

type Rep Reaction Source # 
Instance details

Defined in GitHub.Data.Reactions

type Rep Reaction = D1 ('MetaData "Reaction" "GitHub.Data.Reactions" "github-0.30-HBqv5f1w8iaAIPbrBrZnp2" 'False) (C1 ('MetaCons "Reaction" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Id Reaction)) :*: S1 ('MetaSel ('Just "reactionUser") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe SimpleUser))) :*: (S1 ('MetaSel ('Just "reactionContent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ReactionContent) :*: S1 ('MetaSel ('Just "reactionCreatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime))))

data NewReaction Source #

Instances

Instances details
ToJSON NewReaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Binary NewReaction Source # 
Instance details

Defined in GitHub.Data.Reactions

NFData NewReaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Methods

rnf :: NewReaction -> () #

Data NewReaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Methods

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

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

toConstr :: NewReaction -> Constr #

dataTypeOf :: NewReaction -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic NewReaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Associated Types

type Rep NewReaction 
Instance details

Defined in GitHub.Data.Reactions

type Rep NewReaction = D1 ('MetaData "NewReaction" "GitHub.Data.Reactions" "github-0.30-HBqv5f1w8iaAIPbrBrZnp2" 'False) (C1 ('MetaCons "NewReaction" 'PrefixI 'True) (S1 ('MetaSel ('Just "newReactionContent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ReactionContent)))
Show NewReaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Eq NewReaction Source # 
Instance details

Defined in GitHub.Data.Reactions

Ord NewReaction Source # 
Instance details

Defined in GitHub.Data.Reactions

type Rep NewReaction Source # 
Instance details

Defined in GitHub.Data.Reactions

type Rep NewReaction = D1 ('MetaData "NewReaction" "GitHub.Data.Reactions" "github-0.30-HBqv5f1w8iaAIPbrBrZnp2" 'False) (C1 ('MetaCons "NewReaction" 'PrefixI 'True) (S1 ('MetaSel ('Just "newReactionContent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ReactionContent)))

data ReactionContent Source #

Instances

Instances details
FromJSON ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

ToJSON ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

Binary ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

NFData ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

Methods

rnf :: ReactionContent -> () #

Data ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

Methods

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

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

toConstr :: ReactionContent -> Constr #

dataTypeOf :: ReactionContent -> DataType #

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

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

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

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

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

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

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

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

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

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

Bounded ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

Enum ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

Generic ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

Associated Types

type Rep ReactionContent 
Instance details

Defined in GitHub.Data.Reactions

type Rep ReactionContent = D1 ('MetaData "ReactionContent" "GitHub.Data.Reactions" "github-0.30-HBqv5f1w8iaAIPbrBrZnp2" 'False) (((C1 ('MetaCons "PlusOne" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MinusOne" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Laugh" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Confused" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Heart" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Hooray" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Rocket" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Eyes" 'PrefixI 'False) (U1 :: Type -> Type))))
Show ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

Eq ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

Ord ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

type Rep ReactionContent Source # 
Instance details

Defined in GitHub.Data.Reactions

type Rep ReactionContent = D1 ('MetaData "ReactionContent" "GitHub.Data.Reactions" "github-0.30-HBqv5f1w8iaAIPbrBrZnp2" 'False) (((C1 ('MetaCons "PlusOne" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MinusOne" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Laugh" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Confused" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Heart" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Hooray" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Rocket" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Eyes" 'PrefixI 'False) (U1 :: Type -> Type))))