api-tools-0.9.0.0: DSL for generating API boilerplate and docs
Safe HaskellNone
LanguageHaskell2010

Data.API.API.Gen

Description

This module contains datatypes generated from the DSL description of the api-tools API; they thus correspond to the types in Data.API.Types.

Documentation

newtype RegularExpression Source #

Constructors

RegularExpression 

Instances

Instances details
Eq RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

Ord RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

Show RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

IsString RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

NFData RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: RegularExpression -> () #

SafeCopy RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

Serialise RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

Example RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs RegularExpression Source # 
Instance details

Defined in Data.API.API.Gen

data IntRange Source #

Constructors

IntRange 

Fields

Instances

Instances details
Eq IntRange Source # 
Instance details

Defined in Data.API.API.Gen

Show IntRange Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary IntRange Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON IntRange Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON IntRange Source # 
Instance details

Defined in Data.API.API.Gen

NFData IntRange Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: IntRange -> () #

SafeCopy IntRange Source # 
Instance details

Defined in Data.API.API.Gen

Serialise IntRange Source # 
Instance details

Defined in Data.API.API.Gen

Example IntRange Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs IntRange Source # 
Instance details

Defined in Data.API.API.Gen

data UTCRange Source #

Constructors

UTCRange 

Fields

Instances

Instances details
Eq UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

Show UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

NFData UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: UTCRange -> () #

SafeCopy UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

Serialise UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

Example UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs UTCRange Source # 
Instance details

Defined in Data.API.API.Gen

data Filter Source #

Instances

Instances details
Eq Filter Source # 
Instance details

Defined in Data.API.API.Gen

Methods

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

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

Show Filter Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary Filter Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON Filter Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON Filter Source # 
Instance details

Defined in Data.API.API.Gen

NFData Filter Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: Filter -> () #

SafeCopy Filter Source # 
Instance details

Defined in Data.API.API.Gen

Serialise Filter Source # 
Instance details

Defined in Data.API.API.Gen

Example Filter Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs Filter Source # 
Instance details

Defined in Data.API.API.Gen

data Conversion Source #

Constructors

Conversion 

Instances

Instances details
Eq Conversion Source # 
Instance details

Defined in Data.API.API.Gen

Show Conversion Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary Conversion Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON Conversion Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON Conversion Source # 
Instance details

Defined in Data.API.API.Gen

NFData Conversion Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: Conversion -> () #

SafeCopy Conversion Source # 
Instance details

Defined in Data.API.API.Gen

Serialise Conversion Source # 
Instance details

Defined in Data.API.API.Gen

Example Conversion Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs Conversion Source # 
Instance details

Defined in Data.API.API.Gen

newtype TypeRef Source #

Constructors

TypeRef 

Fields

Instances

Instances details
Eq TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

Methods

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

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

Ord TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

Show TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

IsString TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

Methods

fromString :: String -> TypeRef #

Arbitrary TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

NFData TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: TypeRef -> () #

SafeCopy TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

Serialise TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

Example TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs TypeRef Source # 
Instance details

Defined in Data.API.API.Gen

data BasicType Source #

Instances

Instances details
Bounded BasicType Source # 
Instance details

Defined in Data.API.API.Gen

Enum BasicType Source # 
Instance details

Defined in Data.API.API.Gen

Eq BasicType Source # 
Instance details

Defined in Data.API.API.Gen

Ord BasicType Source # 
Instance details

Defined in Data.API.API.Gen

Show BasicType Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary BasicType Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON BasicType Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON BasicType Source # 
Instance details

Defined in Data.API.API.Gen

NFData BasicType Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: BasicType -> () #

SafeCopy BasicType Source # 
Instance details

Defined in Data.API.API.Gen

Serialise BasicType Source # 
Instance details

Defined in Data.API.API.Gen

Example BasicType Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs BasicType Source # 
Instance details

Defined in Data.API.API.Gen

data APIType Source #

Instances

Instances details
Eq APIType Source # 
Instance details

Defined in Data.API.API.Gen

Methods

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

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

Show APIType Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary APIType Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON APIType Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON APIType Source # 
Instance details

Defined in Data.API.API.Gen

NFData APIType Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: APIType -> () #

SafeCopy APIType Source # 
Instance details

Defined in Data.API.API.Gen

Serialise APIType Source # 
Instance details

Defined in Data.API.API.Gen

Example APIType Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs APIType Source # 
Instance details

Defined in Data.API.API.Gen

data SpecNewtype Source #

Constructors

SpecNewtype 

Instances

Instances details
Eq SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

Show SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

NFData SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: SpecNewtype -> () #

SafeCopy SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

Serialise SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

Example SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs SpecNewtype Source # 
Instance details

Defined in Data.API.API.Gen

data DefaultValue Source #

Instances

Instances details
Eq DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

Show DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

NFData DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: DefaultValue -> () #

SafeCopy DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

Serialise DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

Example DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs DefaultValue Source # 
Instance details

Defined in Data.API.API.Gen

data Field Source #

Instances

Instances details
Eq Field Source # 
Instance details

Defined in Data.API.API.Gen

Methods

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

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

Show Field Source # 
Instance details

Defined in Data.API.API.Gen

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Arbitrary Field Source # 
Instance details

Defined in Data.API.API.Gen

Methods

arbitrary :: Gen Field #

shrink :: Field -> [Field] #

ToJSON Field Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON Field Source # 
Instance details

Defined in Data.API.API.Gen

NFData Field Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: Field -> () #

SafeCopy Field Source # 
Instance details

Defined in Data.API.API.Gen

Serialise Field Source # 
Instance details

Defined in Data.API.API.Gen

Example Field Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs Field Source # 
Instance details

Defined in Data.API.API.Gen

data Spec Source #

Instances

Instances details
Eq Spec Source # 
Instance details

Defined in Data.API.API.Gen

Methods

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

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

Show Spec Source # 
Instance details

Defined in Data.API.API.Gen

Methods

showsPrec :: Int -> Spec -> ShowS #

show :: Spec -> String #

showList :: [Spec] -> ShowS #

Arbitrary Spec Source # 
Instance details

Defined in Data.API.API.Gen

Methods

arbitrary :: Gen Spec #

shrink :: Spec -> [Spec] #

ToJSON Spec Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON Spec Source # 
Instance details

Defined in Data.API.API.Gen

NFData Spec Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: Spec -> () #

SafeCopy Spec Source # 
Instance details

Defined in Data.API.API.Gen

Serialise Spec Source # 
Instance details

Defined in Data.API.API.Gen

Example Spec Source # 
Instance details

Defined in Data.API.API.Gen

Methods

example :: Gen Spec Source #

FromJSONWithErrs Spec Source # 
Instance details

Defined in Data.API.API.Gen

data APINode Source #

Constructors

APINode 

Instances

Instances details
Eq APINode Source # 
Instance details

Defined in Data.API.API.Gen

Methods

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

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

Show APINode Source # 
Instance details

Defined in Data.API.API.Gen

Arbitrary APINode Source # 
Instance details

Defined in Data.API.API.Gen

ToJSON APINode Source # 
Instance details

Defined in Data.API.API.Gen

FromJSON APINode Source # 
Instance details

Defined in Data.API.API.Gen

NFData APINode Source # 
Instance details

Defined in Data.API.API.Gen

Methods

rnf :: APINode -> () #

SafeCopy APINode Source # 
Instance details

Defined in Data.API.API.Gen

Serialise APINode Source # 
Instance details

Defined in Data.API.API.Gen

Example APINode Source # 
Instance details

Defined in Data.API.API.Gen

FromJSONWithErrs APINode Source # 
Instance details

Defined in Data.API.API.Gen