powerdns-0.4.3: PowerDNS API bindings for api/v1
Safe HaskellSafe-Inferred
LanguageHaskell2010

PowerDNS.API.Servers

Description

This module implements the endpoints described at Servers API

Synopsis

API

data ServersAPI f Source #

Constructors

ServersAPI 

Fields

Instances

Instances details
Generic (ServersAPI f) Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep (ServersAPI f) :: Type -> Type #

Methods

from :: ServersAPI f -> Rep (ServersAPI f) x #

to :: Rep (ServersAPI f) x -> ServersAPI f #

type Rep (ServersAPI f) Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep (ServersAPI f)

Data types

data Server Source #

Instances

Instances details
FromJSON Server Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

parseJSON :: Value -> Parser Server

parseJSONList :: Value -> Parser [Server]

ToJSON Server Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

toJSON :: Server -> Value

toEncoding :: Server -> Encoding

toJSONList :: [Server] -> Value

toEncodingList :: [Server] -> Encoding

Data Server Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

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

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

toConstr :: Server -> Constr #

dataTypeOf :: Server -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Server Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep Server :: Type -> Type #

Methods

from :: Server -> Rep Server x #

to :: Rep Server x -> Server #

Show Server Source # 
Instance details

Defined in PowerDNS.API.Servers

NFData Server Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

rnf :: Server -> () #

Eq Server Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

(==) :: Server -> Server -> Bool #

(/=) :: Server -> Server -> Bool #

Ord Server Source # 
Instance details

Defined in PowerDNS.API.Servers

Empty Server Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

empty :: Server Source #

type Rep Server Source # 
Instance details

Defined in PowerDNS.API.Servers

data ObjectType Source #

Constructors

TyAll 
TyZone 
TyRecord 
TyComment 

Instances

Instances details
FromJSON ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

parseJSON :: Value -> Parser ObjectType

parseJSONList :: Value -> Parser [ObjectType]

ToJSON ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

toJSON :: ObjectType -> Value

toEncoding :: ObjectType -> Encoding

toJSONList :: [ObjectType] -> Value

toEncodingList :: [ObjectType] -> Encoding

Data ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

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

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

toConstr :: ObjectType -> Constr #

dataTypeOf :: ObjectType -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep ObjectType :: Type -> Type #

Show ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

NFData ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

rnf :: ObjectType -> () #

Eq ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

Ord ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

FromHttpApiData ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

ToHttpApiData ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep ObjectType Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep ObjectType = D1 ('MetaData "ObjectType" "PowerDNS.API.Servers" "powerdns-0.4.3-inplace" 'False) ((C1 ('MetaCons "TyAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TyZone" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TyRecord" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TyComment" 'PrefixI 'False) (U1 :: Type -> Type)))

data SearchResult Source #

Instances

Instances details
FromJSON SearchResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

parseJSON :: Value -> Parser SearchResult

parseJSONList :: Value -> Parser [SearchResult]

ToJSON SearchResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

toJSON :: SearchResult -> Value

toEncoding :: SearchResult -> Encoding

toJSONList :: [SearchResult] -> Value

toEncodingList :: [SearchResult] -> Encoding

Data SearchResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

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

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

toConstr :: SearchResult -> Constr #

dataTypeOf :: SearchResult -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic SearchResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep SearchResult :: Type -> Type #

Show SearchResult Source # 
Instance details

Defined in PowerDNS.API.Servers

NFData SearchResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

rnf :: SearchResult -> () #

Eq SearchResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Ord SearchResult Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep SearchResult Source # 
Instance details

Defined in PowerDNS.API.Servers

data CacheFlushResult Source #

Constructors

CacheFlushResult 

Instances

Instances details
FromJSON CacheFlushResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

parseJSON :: Value -> Parser CacheFlushResult

parseJSONList :: Value -> Parser [CacheFlushResult]

ToJSON CacheFlushResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Data CacheFlushResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

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

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

toConstr :: CacheFlushResult -> Constr #

dataTypeOf :: CacheFlushResult -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic CacheFlushResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep CacheFlushResult :: Type -> Type #

Show CacheFlushResult Source # 
Instance details

Defined in PowerDNS.API.Servers

NFData CacheFlushResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

rnf :: CacheFlushResult -> () #

Eq CacheFlushResult Source # 
Instance details

Defined in PowerDNS.API.Servers

Ord CacheFlushResult Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep CacheFlushResult Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep CacheFlushResult = D1 ('MetaData "CacheFlushResult" "PowerDNS.API.Servers" "powerdns-0.4.3-inplace" 'False) (C1 ('MetaCons "CacheFlushResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "cfr_count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "cfr_result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data AnyStatisticItem Source #

Instances

Instances details
FromJSON AnyStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

parseJSON :: Value -> Parser AnyStatisticItem

parseJSONList :: Value -> Parser [AnyStatisticItem]

ToJSON AnyStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Data AnyStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

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

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

toConstr :: AnyStatisticItem -> Constr #

dataTypeOf :: AnyStatisticItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic AnyStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep AnyStatisticItem :: Type -> Type #

Show AnyStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

NFData AnyStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

rnf :: AnyStatisticItem -> () #

Eq AnyStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Ord AnyStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep AnyStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

data StatisticItem Source #

Constructors

StatisticItem 

Fields

Instances

Instances details
Data StatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

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

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

toConstr :: StatisticItem -> Constr #

dataTypeOf :: StatisticItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic StatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep StatisticItem :: Type -> Type #

Show StatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

NFData StatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

rnf :: StatisticItem -> () #

Eq StatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Ord StatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep StatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep StatisticItem = D1 ('MetaData "StatisticItem" "PowerDNS.API.Servers" "powerdns-0.4.3-inplace" 'False) (C1 ('MetaCons "StatisticItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "si_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "si_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data MapStatisticItem Source #

Instances

Instances details
Data MapStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

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

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

toConstr :: MapStatisticItem -> Constr #

dataTypeOf :: MapStatisticItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic MapStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep MapStatisticItem :: Type -> Type #

Show MapStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

NFData MapStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

rnf :: MapStatisticItem -> () #

Eq MapStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Ord MapStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep MapStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep MapStatisticItem = D1 ('MetaData "MapStatisticItem" "PowerDNS.API.Servers" "powerdns-0.4.3-inplace" 'False) (C1 ('MetaCons "MapStatisticItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "msi_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "msi_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SimpleStatisticItem])))

data RingStatisticItem Source #

Instances

Instances details
Data RingStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

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

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

toConstr :: RingStatisticItem -> Constr #

dataTypeOf :: RingStatisticItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic RingStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep RingStatisticItem :: Type -> Type #

Show RingStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

NFData RingStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

rnf :: RingStatisticItem -> () #

Eq RingStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Ord RingStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep RingStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep RingStatisticItem = D1 ('MetaData "RingStatisticItem" "PowerDNS.API.Servers" "powerdns-0.4.3-inplace" 'False) (C1 ('MetaCons "RingStatisticItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "rsi_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "rsi_size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "rsi_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SimpleStatisticItem]))))

data SimpleStatisticItem Source #

Constructors

SimpleStatisticItem 

Fields

Instances

Instances details
FromJSON SimpleStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

parseJSON :: Value -> Parser SimpleStatisticItem

parseJSONList :: Value -> Parser [SimpleStatisticItem]

ToJSON SimpleStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Data SimpleStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

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

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

toConstr :: SimpleStatisticItem -> Constr #

dataTypeOf :: SimpleStatisticItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic SimpleStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Associated Types

type Rep SimpleStatisticItem :: Type -> Type #

Show SimpleStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

NFData SimpleStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Methods

rnf :: SimpleStatisticItem -> () #

Eq SimpleStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

Ord SimpleStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep SimpleStatisticItem Source # 
Instance details

Defined in PowerDNS.API.Servers

type Rep SimpleStatisticItem = D1 ('MetaData "SimpleStatisticItem" "PowerDNS.API.Servers" "powerdns-0.4.3-inplace" 'False) (C1 ('MetaCons "SimpleStatisticItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "ssi_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "ssi_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))