powerdns-0.2.0: PowerDNS API bindings for api/v1
Safe HaskellNone
LanguageHaskell2010

PowerDNS.API.Metadata

Description

This module implements the endpoints described at Metadata API

Synopsis

API

data MetadataAPI f Source #

Constructors

MetadataAPI 

Fields

Instances

Instances details
Generic (MetadataAPI f) Source # 
Instance details

Defined in PowerDNS.API.Metadata

Associated Types

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

Methods

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

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

type Rep (MetadataAPI f) Source # 
Instance details

Defined in PowerDNS.API.Metadata

type Rep (MetadataAPI f) = D1 ('MetaData "MetadataAPI" "PowerDNS.API.Metadata" "powerdns-0.2.0-KVEAOheVEexEs5OVtLI9gW" 'False) (C1 ('MetaCons "MetadataAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiListMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("metadata" :> Get '[JSON] [Metadata]))))))) :*: S1 ('MetaSel ('Just "apiCreateMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("metadata" :> (ReqBody '[JSON] Metadata :> PostNoContent))))))))) :*: (S1 ('MetaSel ('Just "apiGetMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("metadata" :> (Capture "kind" Text :> Get '[JSON] Metadata)))))))) :*: (S1 ('MetaSel ('Just "apiUpdateMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("metadata" :> (Capture "kind" Text :> (ReqBody '[JSON] Metadata :> Put '[JSON] Metadata))))))))) :*: S1 ('MetaSel ('Just "apiDeleteMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("metadata" :> (Capture "kind" Text :> DeleteNoContent))))))))))))

Data types

data Metadata Source #

Constructors

Metadata 

Fields

Instances

Instances details
Eq Metadata Source # 
Instance details

Defined in PowerDNS.API.Metadata

Data Metadata Source # 
Instance details

Defined in PowerDNS.API.Metadata

Methods

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

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

toConstr :: Metadata -> Constr #

dataTypeOf :: Metadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Metadata Source # 
Instance details

Defined in PowerDNS.API.Metadata

Show Metadata Source # 
Instance details

Defined in PowerDNS.API.Metadata

Generic Metadata Source # 
Instance details

Defined in PowerDNS.API.Metadata

Associated Types

type Rep Metadata :: Type -> Type #

Methods

from :: Metadata -> Rep Metadata x #

to :: Rep Metadata x -> Metadata #

ToJSON Metadata Source # 
Instance details

Defined in PowerDNS.API.Metadata

FromJSON Metadata Source # 
Instance details

Defined in PowerDNS.API.Metadata

NFData Metadata Source # 
Instance details

Defined in PowerDNS.API.Metadata

Methods

rnf :: Metadata -> () #

type Rep Metadata Source # 
Instance details

Defined in PowerDNS.API.Metadata

type Rep Metadata = D1 ('MetaData "Metadata" "PowerDNS.API.Metadata" "powerdns-0.2.0-KVEAOheVEexEs5OVtLI9gW" 'False) (C1 ('MetaCons "Metadata" 'PrefixI 'True) (S1 ('MetaSel ('Just "md_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "md_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))