cachix-api-1.7.3: Servant HTTP API specification for https://cachix.org
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cachix.Types.PinCreate

Documentation

data Keep Source #

Constructors

Days Int 
Revisions Int 
Forever 

Instances

Instances details
FromJSON Keep Source # 
Instance details

Defined in Cachix.Types.PinCreate

ToJSON Keep Source # 
Instance details

Defined in Cachix.Types.PinCreate

Generic Keep Source # 
Instance details

Defined in Cachix.Types.PinCreate

Associated Types

type Rep Keep :: Type -> Type #

Methods

from :: Keep -> Rep Keep x #

to :: Rep Keep x -> Keep #

Show Keep Source # 
Instance details

Defined in Cachix.Types.PinCreate

Methods

showsPrec :: Int -> Keep -> ShowS #

show :: Keep -> String #

showList :: [Keep] -> ShowS #

Eq Keep Source # 
Instance details

Defined in Cachix.Types.PinCreate

Methods

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

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

ToSchema Keep Source # 
Instance details

Defined in Cachix.Types.PinCreate

type Rep Keep Source # 
Instance details

Defined in Cachix.Types.PinCreate

type Rep Keep = D1 ('MetaData "Keep" "Cachix.Types.PinCreate" "cachix-api-1.7.3-5QelKZioQAb5fZAnL6kOxB" 'False) (C1 ('MetaCons "Days" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: (C1 ('MetaCons "Revisions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: C1 ('MetaCons "Forever" 'PrefixI 'False) (U1 :: Type -> Type)))

data PinCreate Source #

Constructors

PinCreate 

Fields

Instances

Instances details
FromJSON PinCreate Source # 
Instance details

Defined in Cachix.Types.PinCreate

ToJSON PinCreate Source # 
Instance details

Defined in Cachix.Types.PinCreate

Generic PinCreate Source # 
Instance details

Defined in Cachix.Types.PinCreate

Associated Types

type Rep PinCreate :: Type -> Type #

Show PinCreate Source # 
Instance details

Defined in Cachix.Types.PinCreate

Eq PinCreate Source # 
Instance details

Defined in Cachix.Types.PinCreate

ToSchema PinCreate Source # 
Instance details

Defined in Cachix.Types.PinCreate

type Rep PinCreate Source # 
Instance details

Defined in Cachix.Types.PinCreate

type Rep PinCreate = D1 ('MetaData "PinCreate" "Cachix.Types.PinCreate" "cachix-api-1.7.3-5QelKZioQAb5fZAnL6kOxB" 'False) (C1 ('MetaCons "PinCreate" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "storePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "artifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "keep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Keep)))))