Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains the gerrit data type
Synopsis
- newtype GerritVersion = GerritVersion Text
- data GerritQuery
- data GerritChangeStatus
- data GerritChange = GerritChange {}
- data GerritRevision = GerritRevision {}
- newtype GerritLabel = GerritLabel (Map GerritLabelVote GerritAccount)
- newtype GerritAccount = GerritAccount {}
- data GerritLabelVote
- data GerritDetailedLabelVote = GerritDetailedLabelVote {
- value :: Maybe Int
- account_id :: Int
- data GerritDetailedLabel = GerritDetailedLabel {}
- data ReviewResult = ReviewResult {}
- data ReviewInput = ReviewInput {}
- queryText :: GerritQuery -> Text
Main data types
newtype GerritVersion Source #
Instances
Show GerritVersion Source # | |
Defined in Gerrit.Data showsPrec :: Int -> GerritVersion -> ShowS # show :: GerritVersion -> String # showList :: [GerritVersion] -> ShowS # | |
Generic GerritVersion Source # | |
Defined in Gerrit.Data type Rep GerritVersion :: Type -> Type # from :: GerritVersion -> Rep GerritVersion x # to :: Rep GerritVersion x -> GerritVersion # | |
FromJSON GerritVersion Source # | |
Defined in Gerrit.Data parseJSON :: Value -> Parser GerritVersion # parseJSONList :: Value -> Parser [GerritVersion] # | |
type Rep GerritVersion Source # | |
Defined in Gerrit.Data type Rep GerritVersion = D1 ('MetaData "GerritVersion" "Gerrit.Data" "gerrit-0.0.0.0-HeaHw1VGRFr3asNCEgawPp" 'True) (C1 ('MetaCons "GerritVersion" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
data GerritQuery Source #
data GerritChangeStatus Source #
Instances
data GerritChange Source #
Instances
data GerritRevision Source #
Instances
Show GerritRevision Source # | |
Defined in Gerrit.Data showsPrec :: Int -> GerritRevision -> ShowS # show :: GerritRevision -> String # showList :: [GerritRevision] -> ShowS # | |
Generic GerritRevision Source # | |
Defined in Gerrit.Data type Rep GerritRevision :: Type -> Type # from :: GerritRevision -> Rep GerritRevision x # to :: Rep GerritRevision x -> GerritRevision # | |
FromJSON GerritRevision Source # | |
Defined in Gerrit.Data parseJSON :: Value -> Parser GerritRevision # parseJSONList :: Value -> Parser [GerritRevision] # | |
type Rep GerritRevision Source # | |
Defined in Gerrit.Data |
newtype GerritLabel Source #
Instances
Show GerritLabel Source # | |
Defined in Gerrit.Data showsPrec :: Int -> GerritLabel -> ShowS # show :: GerritLabel -> String # showList :: [GerritLabel] -> ShowS # | |
Generic GerritLabel Source # | |
Defined in Gerrit.Data type Rep GerritLabel :: Type -> Type # from :: GerritLabel -> Rep GerritLabel x # to :: Rep GerritLabel x -> GerritLabel # | |
FromJSON GerritLabel Source # | |
Defined in Gerrit.Data parseJSON :: Value -> Parser GerritLabel # parseJSONList :: Value -> Parser [GerritLabel] # | |
type Rep GerritLabel Source # | |
Defined in Gerrit.Data type Rep GerritLabel = D1 ('MetaData "GerritLabel" "Gerrit.Data" "gerrit-0.0.0.0-HeaHw1VGRFr3asNCEgawPp" 'True) (C1 ('MetaCons "GerritLabel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map GerritLabelVote GerritAccount)))) |
newtype GerritAccount Source #
Instances
Show GerritAccount Source # | |
Defined in Gerrit.Data showsPrec :: Int -> GerritAccount -> ShowS # show :: GerritAccount -> String # showList :: [GerritAccount] -> ShowS # | |
Generic GerritAccount Source # | |
Defined in Gerrit.Data type Rep GerritAccount :: Type -> Type # from :: GerritAccount -> Rep GerritAccount x # to :: Rep GerritAccount x -> GerritAccount # | |
FromJSON GerritAccount Source # | |
Defined in Gerrit.Data parseJSON :: Value -> Parser GerritAccount # parseJSONList :: Value -> Parser [GerritAccount] # | |
type Rep GerritAccount Source # | |
Defined in Gerrit.Data type Rep GerritAccount = D1 ('MetaData "GerritAccount" "Gerrit.Data" "gerrit-0.0.0.0-HeaHw1VGRFr3asNCEgawPp" 'True) (C1 ('MetaCons "GerritAccount" 'PrefixI 'True) (S1 ('MetaSel ('Just "unused_account_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
data GerritLabelVote Source #
Instances
data GerritDetailedLabelVote Source #
Instances
Show GerritDetailedLabelVote Source # | |
Defined in Gerrit.Data showsPrec :: Int -> GerritDetailedLabelVote -> ShowS # show :: GerritDetailedLabelVote -> String # showList :: [GerritDetailedLabelVote] -> ShowS # | |
Generic GerritDetailedLabelVote Source # | |
Defined in Gerrit.Data type Rep GerritDetailedLabelVote :: Type -> Type # | |
FromJSON GerritDetailedLabelVote Source # | |
Defined in Gerrit.Data | |
type Rep GerritDetailedLabelVote Source # | |
Defined in Gerrit.Data type Rep GerritDetailedLabelVote = D1 ('MetaData "GerritDetailedLabelVote" "Gerrit.Data" "gerrit-0.0.0.0-HeaHw1VGRFr3asNCEgawPp" 'False) (C1 ('MetaCons "GerritDetailedLabelVote" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "account_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
data GerritDetailedLabel Source #
Instances
data ReviewResult Source #
Instances
data ReviewInput Source #
Instances
Convenient functions
queryText :: GerritQuery -> Text Source #
Convert a GerritQuery object to the search terms