openapi-petstore-0.0.4.0: Auto-generated openapi-petstore API Client

Safe HaskellNone
LanguageHaskell2010

OpenAPIPetstore.Model

Contents

Description

 
Synopsis

Parameter newtypes

AdditionalMetadata

newtype AdditionalMetadata Source #

Instances
Eq AdditionalMetadata Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show AdditionalMetadata Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam UploadFileWithRequiredFile AdditionalMetadata Source #

Optional Param "additionalMetadata" - Additional data to pass to server

Instance details

Defined in OpenAPIPetstore.API.Pet

HasOptionalParam UploadFile AdditionalMetadata Source #

Optional Param "additionalMetadata" - Additional data to pass to server

Instance details

Defined in OpenAPIPetstore.API.Pet

ApiKey

newtype ApiKey Source #

Constructors

ApiKey 

Fields

Instances
Eq ApiKey Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show ApiKey Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam DeletePet ApiKey Source # 
Instance details

Defined in OpenAPIPetstore.API.Pet

Methods

applyOptionalParam :: OpenAPIPetstoreRequest DeletePet contentType res accept -> ApiKey -> OpenAPIPetstoreRequest DeletePet contentType res accept Source #

(-&-) :: OpenAPIPetstoreRequest DeletePet contentType res accept -> ApiKey -> OpenAPIPetstoreRequest DeletePet contentType res accept Source #

Body

newtype Body Source #

Constructors

Body 

Fields

Instances
Eq Body Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Body Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Body -> ShowS #

show :: Body -> String #

showList :: [Body] -> ShowS #

ToJSON Body Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasBodyParam CreateUsersWithListInput Body Source #

Body Param "body" - List of user object

Instance details

Defined in OpenAPIPetstore.API.User

HasBodyParam CreateUsersWithArrayInput Body Source #

Body Param "body" - List of user object

Instance details

Defined in OpenAPIPetstore.API.User

BodyBool

newtype BodyBool Source #

Constructors

BodyBool 

Fields

Instances
Eq BodyBool Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show BodyBool Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON BodyBool Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasBodyParam FakeOuterBooleanSerialize BodyBool Source #

Body Param "body" - Input boolean as post body

Instance details

Defined in OpenAPIPetstore.API.Fake

BodyDouble

newtype BodyDouble Source #

Constructors

BodyDouble 

Fields

Instances
Eq BodyDouble Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show BodyDouble Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON BodyDouble Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasBodyParam FakeOuterNumberSerialize BodyDouble Source #

Body Param "body" - Input number as post body

Instance details

Defined in OpenAPIPetstore.API.Fake

BodyText

newtype BodyText Source #

Constructors

BodyText 

Fields

Instances
Eq BodyText Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show BodyText Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON BodyText Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasBodyParam FakeOuterStringSerialize BodyText Source #

Body Param "body" - Input string as post body

Instance details

Defined in OpenAPIPetstore.API.Fake

BooleanGroup

newtype BooleanGroup Source #

Constructors

BooleanGroup 

Fields

Instances
Eq BooleanGroup Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show BooleanGroup Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam TestGroupParameters BooleanGroup Source #

Optional Param "boolean_group" - Boolean in group parameters

Instance details

Defined in OpenAPIPetstore.API.Fake

Byte

newtype Byte Source #

Constructors

Byte 

Fields

Instances
Eq Byte Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Byte Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Byte -> ShowS #

show :: Byte -> String #

showList :: [Byte] -> ShowS #

Callback

newtype Callback Source #

Constructors

Callback 

Fields

Instances
Eq Callback Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show Callback Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam TestEndpointParameters Callback Source #

Optional Param "callback" - None

Instance details

Defined in OpenAPIPetstore.API.Fake

EnumFormString

newtype EnumFormString Source #

Instances
Eq EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam TestEnumParameters EnumFormString Source #

Optional Param "enum_form_string" - Form parameter enum test (string)

Instance details

Defined in OpenAPIPetstore.API.Fake

EnumFormStringArray

EnumHeaderString

EnumHeaderStringArray

EnumQueryDouble

newtype EnumQueryDouble Source #

Instances
Eq EnumQueryDouble Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show EnumQueryDouble Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam TestEnumParameters EnumQueryDouble Source #

Optional Param "enum_query_double" - Query parameter enum test (double)

Instance details

Defined in OpenAPIPetstore.API.Fake

EnumQueryInteger

EnumQueryString

EnumQueryStringArray

File2

newtype File2 Source #

Constructors

File2 

Fields

Instances
Eq File2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show File2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> File2 -> ShowS #

show :: File2 -> String #

showList :: [File2] -> ShowS #

HasOptionalParam UploadFile File2 Source #

Optional Param "file" - file to upload

Instance details

Defined in OpenAPIPetstore.API.Pet

Methods

applyOptionalParam :: OpenAPIPetstoreRequest UploadFile contentType res accept -> File2 -> OpenAPIPetstoreRequest UploadFile contentType res accept Source #

(-&-) :: OpenAPIPetstoreRequest UploadFile contentType res accept -> File2 -> OpenAPIPetstoreRequest UploadFile contentType res accept Source #

Int32

newtype Int32 Source #

Constructors

Int32 

Fields

Instances
Eq Int32 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Int32 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Int32 -> ShowS #

show :: Int32 -> String #

showList :: [Int32] -> ShowS #

HasOptionalParam TestEndpointParameters Int32 Source #

Optional Param "int32" - None

Instance details

Defined in OpenAPIPetstore.API.Fake

Int64

newtype Int64 Source #

Constructors

Int64 

Fields

Instances
Eq Int64 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Int64 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Int64 -> ShowS #

show :: Int64 -> String #

showList :: [Int64] -> ShowS #

HasOptionalParam TestEndpointParameters Int64 Source #

Optional Param "int64" - None

Instance details

Defined in OpenAPIPetstore.API.Fake

Int64Group

newtype Int64Group Source #

Constructors

Int64Group 
Instances
Eq Int64Group Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show Int64Group Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam TestGroupParameters Int64Group Source #

Optional Param "int64_group" - Integer in group parameters

Instance details

Defined in OpenAPIPetstore.API.Fake

Name2

newtype Name2 Source #

Constructors

Name2 

Fields

Instances
Eq Name2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Name2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Name2 -> ShowS #

show :: Name2 -> String #

showList :: [Name2] -> ShowS #

HasOptionalParam UpdatePetWithForm Name2 Source #

Optional Param "name" - Updated name of the pet

Instance details

Defined in OpenAPIPetstore.API.Pet

Number

newtype Number Source #

Constructors

Number 

Fields

Instances
Eq Number Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Number Source # 
Instance details

Defined in OpenAPIPetstore.Model

OrderId

newtype OrderId Source #

Constructors

OrderId 

Fields

Instances
Eq OrderId Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show OrderId Source # 
Instance details

Defined in OpenAPIPetstore.Model

OrderIdText

newtype OrderIdText Source #

Constructors

OrderIdText 

Fields

Instances
Eq OrderIdText Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show OrderIdText Source # 
Instance details

Defined in OpenAPIPetstore.Model

Param

newtype Param Source #

Constructors

Param 

Fields

Instances
Eq Param Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Param Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Param -> ShowS #

show :: Param -> String #

showList :: [Param] -> ShowS #

Param2

newtype Param2 Source #

Constructors

Param2 

Fields

Instances
Eq Param2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Param2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

ParamBinary

ParamDate

newtype ParamDate Source #

Constructors

ParamDate 

Fields

Instances
Eq ParamDate Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show ParamDate Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam TestEndpointParameters ParamDate Source #

Optional Param "date" - None

Instance details

Defined in OpenAPIPetstore.API.Fake

ParamDateTime

ParamDouble

newtype ParamDouble Source #

Constructors

ParamDouble 
Instances
Eq ParamDouble Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show ParamDouble Source # 
Instance details

Defined in OpenAPIPetstore.Model

ParamFloat

ParamInteger

ParamMapMapStringText

ParamString

Password

newtype Password Source #

Constructors

Password 

Fields

Instances
Eq Password Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show Password Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam TestEndpointParameters Password Source #

Optional Param "password" - None

Instance details

Defined in OpenAPIPetstore.API.Fake

PatternWithoutDelimiter

PetId

newtype PetId Source #

Constructors

PetId 

Fields

Instances
Eq PetId Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show PetId Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> PetId -> ShowS #

show :: PetId -> String #

showList :: [PetId] -> ShowS #

Query

newtype Query Source #

Constructors

Query 

Fields

Instances
Eq Query Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Query Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Query -> ShowS #

show :: Query -> String #

showList :: [Query] -> ShowS #

RequiredBooleanGroup

RequiredFile

RequiredInt64Group

RequiredStringGroup

Status

newtype Status Source #

Constructors

Status 

Fields

Instances
Eq Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

StatusText

newtype StatusText Source #

Constructors

StatusText 

Fields

Instances
Eq StatusText Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show StatusText Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam UpdatePetWithForm StatusText Source #

Optional Param "status" - Updated status of the pet

Instance details

Defined in OpenAPIPetstore.API.Pet

StringGroup

newtype StringGroup Source #

Constructors

StringGroup 

Fields

Instances
Eq StringGroup Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show StringGroup Source # 
Instance details

Defined in OpenAPIPetstore.Model

HasOptionalParam TestGroupParameters StringGroup Source #

Optional Param "string_group" - String in group parameters

Instance details

Defined in OpenAPIPetstore.API.Fake

Tags

newtype Tags Source #

Constructors

Tags 

Fields

Instances
Eq Tags Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Tags Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Tags -> ShowS #

show :: Tags -> String #

showList :: [Tags] -> ShowS #

Username

newtype Username Source #

Constructors

Username 

Fields

Instances
Eq Username Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show Username Source # 
Instance details

Defined in OpenAPIPetstore.Model

Models

AdditionalPropertiesClass

mkAdditionalPropertiesClass :: AdditionalPropertiesClass Source #

Construct a value of type AdditionalPropertiesClass (by applying it's required fields, if any)

Animal

data Animal Source #

Animal

Constructors

Animal 

Fields

Instances
Eq Animal Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Animal Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON Animal Source #

ToJSON Animal

Instance details

Defined in OpenAPIPetstore.Model

FromJSON Animal Source #

FromJSON Animal

Instance details

Defined in OpenAPIPetstore.Model

mkAnimal Source #

Arguments

:: Text

animalClassName

-> Animal 

Construct a value of type Animal (by applying it's required fields, if any)

ApiResponse

data ApiResponse Source #

ApiResponse

Constructors

ApiResponse 

Fields

mkApiResponse :: ApiResponse Source #

Construct a value of type ApiResponse (by applying it's required fields, if any)

ArrayOfArrayOfNumberOnly

mkArrayOfArrayOfNumberOnly :: ArrayOfArrayOfNumberOnly Source #

Construct a value of type ArrayOfArrayOfNumberOnly (by applying it's required fields, if any)

ArrayOfNumberOnly

mkArrayOfNumberOnly :: ArrayOfNumberOnly Source #

Construct a value of type ArrayOfNumberOnly (by applying it's required fields, if any)

ArrayTest

data ArrayTest Source #

ArrayTest

Constructors

ArrayTest 

Fields

Instances
Eq ArrayTest Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show ArrayTest Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON ArrayTest Source #

ToJSON ArrayTest

Instance details

Defined in OpenAPIPetstore.Model

FromJSON ArrayTest Source #

FromJSON ArrayTest

Instance details

Defined in OpenAPIPetstore.Model

mkArrayTest :: ArrayTest Source #

Construct a value of type ArrayTest (by applying it's required fields, if any)

Capitalization

mkCapitalization :: Capitalization Source #

Construct a value of type Capitalization (by applying it's required fields, if any)

Cat

data Cat Source #

Cat

Constructors

Cat 

Fields

Instances
Eq Cat Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Cat Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Cat -> ShowS #

show :: Cat -> String #

showList :: [Cat] -> ShowS #

ToJSON Cat Source #

ToJSON Cat

Instance details

Defined in OpenAPIPetstore.Model

FromJSON Cat Source #

FromJSON Cat

Instance details

Defined in OpenAPIPetstore.Model

mkCat Source #

Arguments

:: Text

catClassName

-> Cat 

Construct a value of type Cat (by applying it's required fields, if any)

Category

data Category Source #

Category

Constructors

Category 

Fields

Instances
Eq Category Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show Category Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON Category Source #

ToJSON Category

Instance details

Defined in OpenAPIPetstore.Model

FromJSON Category Source #

FromJSON Category

Instance details

Defined in OpenAPIPetstore.Model

mkCategory Source #

Arguments

:: Text

categoryName

-> Category 

Construct a value of type Category (by applying it's required fields, if any)

ClassModel

data ClassModel Source #

ClassModel Model for testing model with "_class" property

Constructors

ClassModel 

Fields

Instances
Eq ClassModel Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show ClassModel Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON ClassModel Source #

ToJSON ClassModel

Instance details

Defined in OpenAPIPetstore.Model

FromJSON ClassModel Source #

FromJSON ClassModel

Instance details

Defined in OpenAPIPetstore.Model

mkClassModel :: ClassModel Source #

Construct a value of type ClassModel (by applying it's required fields, if any)

Client

data Client Source #

Client

Constructors

Client 

Fields

Instances
Eq Client Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Client Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON Client Source #

ToJSON Client

Instance details

Defined in OpenAPIPetstore.Model

FromJSON Client Source #

FromJSON Client

Instance details

Defined in OpenAPIPetstore.Model

HasBodyParam TestClassname Client Source #

Body Param "body" - client model

Instance details

Defined in OpenAPIPetstore.API.FakeClassnameTags123

Methods

setBodyParam :: (Consumes TestClassname contentType, MimeRender contentType Client) => OpenAPIPetstoreRequest TestClassname contentType res accept -> Client -> OpenAPIPetstoreRequest TestClassname contentType res accept Source #

HasBodyParam TestClientModel Client Source #

Body Param "body" - client model

Instance details

Defined in OpenAPIPetstore.API.Fake

Methods

setBodyParam :: (Consumes TestClientModel contentType, MimeRender contentType Client) => OpenAPIPetstoreRequest TestClientModel contentType res accept -> Client -> OpenAPIPetstoreRequest TestClientModel contentType res accept Source #

HasBodyParam Op123testSpecialTags Client Source #

Body Param "body" - client model

Instance details

Defined in OpenAPIPetstore.API.AnotherFake

Methods

setBodyParam :: (Consumes Op123testSpecialTags contentType, MimeRender contentType Client) => OpenAPIPetstoreRequest Op123testSpecialTags contentType res accept -> Client -> OpenAPIPetstoreRequest Op123testSpecialTags contentType res accept Source #

mkClient :: Client Source #

Construct a value of type Client (by applying it's required fields, if any)

Dog

data Dog Source #

Dog

Constructors

Dog 

Fields

Instances
Eq Dog Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Dog Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Dog -> ShowS #

show :: Dog -> String #

showList :: [Dog] -> ShowS #

ToJSON Dog Source #

ToJSON Dog

Instance details

Defined in OpenAPIPetstore.Model

FromJSON Dog Source #

FromJSON Dog

Instance details

Defined in OpenAPIPetstore.Model

mkDog Source #

Arguments

:: Text

dogClassName

-> Dog 

Construct a value of type Dog (by applying it's required fields, if any)

EnumArrays

data EnumArrays Source #

EnumArrays

Constructors

EnumArrays 

Fields

Instances
Eq EnumArrays Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show EnumArrays Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON EnumArrays Source #

ToJSON EnumArrays

Instance details

Defined in OpenAPIPetstore.Model

FromJSON EnumArrays Source #

FromJSON EnumArrays

Instance details

Defined in OpenAPIPetstore.Model

mkEnumArrays :: EnumArrays Source #

Construct a value of type EnumArrays (by applying it's required fields, if any)

EnumTest

data EnumTest Source #

EnumTest

Constructors

EnumTest 

Fields

Instances
Eq EnumTest Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show EnumTest Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON EnumTest Source #

ToJSON EnumTest

Instance details

Defined in OpenAPIPetstore.Model

FromJSON EnumTest Source #

FromJSON EnumTest

Instance details

Defined in OpenAPIPetstore.Model

mkEnumTest Source #

Construct a value of type EnumTest (by applying it's required fields, if any)

File

data File Source #

File Must be named File for test.

Constructors

File 

Fields

Instances
Eq File Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show File Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> File -> ShowS #

show :: File -> String #

showList :: [File] -> ShowS #

ToJSON File Source #

ToJSON File

Instance details

Defined in OpenAPIPetstore.Model

FromJSON File Source #

FromJSON File

Instance details

Defined in OpenAPIPetstore.Model

mkFile :: File Source #

Construct a value of type File (by applying it's required fields, if any)

FileSchemaTestClass

data FileSchemaTestClass Source #

FileSchemaTestClass

mkFileSchemaTestClass :: FileSchemaTestClass Source #

Construct a value of type FileSchemaTestClass (by applying it's required fields, if any)

FormatTest

data FormatTest Source #

FormatTest

Constructors

FormatTest 

Fields

Instances
Eq FormatTest Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show FormatTest Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON FormatTest Source #

ToJSON FormatTest

Instance details

Defined in OpenAPIPetstore.Model

FromJSON FormatTest Source #

FromJSON FormatTest

Instance details

Defined in OpenAPIPetstore.Model

mkFormatTest Source #

Construct a value of type FormatTest (by applying it's required fields, if any)

HasOnlyReadOnly

mkHasOnlyReadOnly :: HasOnlyReadOnly Source #

Construct a value of type HasOnlyReadOnly (by applying it's required fields, if any)

MapTest

data MapTest Source #

MapTest

Constructors

MapTest 

Fields

Instances
Eq MapTest Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show MapTest Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON MapTest Source #

ToJSON MapTest

Instance details

Defined in OpenAPIPetstore.Model

FromJSON MapTest Source #

FromJSON MapTest

Instance details

Defined in OpenAPIPetstore.Model

mkMapTest :: MapTest Source #

Construct a value of type MapTest (by applying it's required fields, if any)

MixedPropertiesAndAdditionalPropertiesClass

data MixedPropertiesAndAdditionalPropertiesClass Source #

MixedPropertiesAndAdditionalPropertiesClass

Model200Response

data Model200Response Source #

Model200Response Model for testing model name starting with number

mkModel200Response :: Model200Response Source #

Construct a value of type Model200Response (by applying it's required fields, if any)

ModelList

data ModelList Source #

ModelList

Constructors

ModelList 

Fields

Instances
Eq ModelList Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show ModelList Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON ModelList Source #

ToJSON ModelList

Instance details

Defined in OpenAPIPetstore.Model

FromJSON ModelList Source #

FromJSON ModelList

Instance details

Defined in OpenAPIPetstore.Model

mkModelList :: ModelList Source #

Construct a value of type ModelList (by applying it's required fields, if any)

ModelReturn

data ModelReturn Source #

ModelReturn Model for testing reserved words

Constructors

ModelReturn 

Fields

mkModelReturn :: ModelReturn Source #

Construct a value of type ModelReturn (by applying it's required fields, if any)

Name

data Name Source #

Name Model for testing model name same as property name

Constructors

Name 

Fields

Instances
Eq Name Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Name Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

ToJSON Name Source #

ToJSON Name

Instance details

Defined in OpenAPIPetstore.Model

FromJSON Name Source #

FromJSON Name

Instance details

Defined in OpenAPIPetstore.Model

mkName Source #

Arguments

:: Int

nameName

-> Name 

Construct a value of type Name (by applying it's required fields, if any)

NumberOnly

data NumberOnly Source #

NumberOnly

Instances
Eq NumberOnly Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show NumberOnly Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON NumberOnly Source #

ToJSON NumberOnly

Instance details

Defined in OpenAPIPetstore.Model

FromJSON NumberOnly Source #

FromJSON NumberOnly

Instance details

Defined in OpenAPIPetstore.Model

mkNumberOnly :: NumberOnly Source #

Construct a value of type NumberOnly (by applying it's required fields, if any)

Order

data Order Source #

Order

Constructors

Order 

Fields

Instances
Eq Order Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Order Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Order -> ShowS #

show :: Order -> String #

showList :: [Order] -> ShowS #

ToJSON Order Source #

ToJSON Order

Instance details

Defined in OpenAPIPetstore.Model

FromJSON Order Source #

FromJSON Order

Instance details

Defined in OpenAPIPetstore.Model

HasBodyParam PlaceOrder Order Source #

Body Param "body" - order placed for purchasing the pet

Instance details

Defined in OpenAPIPetstore.API.Store

Methods

setBodyParam :: (Consumes PlaceOrder contentType, MimeRender contentType Order) => OpenAPIPetstoreRequest PlaceOrder contentType res accept -> Order -> OpenAPIPetstoreRequest PlaceOrder contentType res accept Source #

mkOrder :: Order Source #

Construct a value of type Order (by applying it's required fields, if any)

OuterComposite

data OuterComposite Source #

OuterComposite

Constructors

OuterComposite 

Fields

mkOuterComposite :: OuterComposite Source #

Construct a value of type OuterComposite (by applying it's required fields, if any)

Pet

data Pet Source #

Pet

Constructors

Pet 

Fields

Instances
Eq Pet Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Pet Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Pet -> ShowS #

show :: Pet -> String #

showList :: [Pet] -> ShowS #

ToJSON Pet Source #

ToJSON Pet

Instance details

Defined in OpenAPIPetstore.Model

FromJSON Pet Source #

FromJSON Pet

Instance details

Defined in OpenAPIPetstore.Model

HasBodyParam UpdatePet Pet Source #

Body Param "body" - Pet object that needs to be added to the store

Instance details

Defined in OpenAPIPetstore.API.Pet

Methods

setBodyParam :: (Consumes UpdatePet contentType, MimeRender contentType Pet) => OpenAPIPetstoreRequest UpdatePet contentType res accept -> Pet -> OpenAPIPetstoreRequest UpdatePet contentType res accept Source #

HasBodyParam AddPet Pet Source #

Body Param "body" - Pet object that needs to be added to the store

Instance details

Defined in OpenAPIPetstore.API.Pet

Methods

setBodyParam :: (Consumes AddPet contentType, MimeRender contentType Pet) => OpenAPIPetstoreRequest AddPet contentType res accept -> Pet -> OpenAPIPetstoreRequest AddPet contentType res accept Source #

mkPet Source #

Arguments

:: Text

petName

-> [Text]

petPhotoUrls

-> Pet 

Construct a value of type Pet (by applying it's required fields, if any)

ReadOnlyFirst

mkReadOnlyFirst :: ReadOnlyFirst Source #

Construct a value of type ReadOnlyFirst (by applying it's required fields, if any)

SpecialModelName

mkSpecialModelName :: SpecialModelName Source #

Construct a value of type SpecialModelName (by applying it's required fields, if any)

Tag

data Tag Source #

Tag

Constructors

Tag 

Fields

Instances
Eq Tag Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show Tag Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

ToJSON Tag Source #

ToJSON Tag

Instance details

Defined in OpenAPIPetstore.Model

FromJSON Tag Source #

FromJSON Tag

Instance details

Defined in OpenAPIPetstore.Model

mkTag :: Tag Source #

Construct a value of type Tag (by applying it's required fields, if any)

TypeHolderDefault

TypeHolderExample

User

data User Source #

User

Constructors

User 

Fields

Instances
Eq User Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show User Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

ToJSON User Source #

ToJSON User

Instance details

Defined in OpenAPIPetstore.Model

FromJSON User Source #

FromJSON User

Instance details

Defined in OpenAPIPetstore.Model

HasBodyParam UpdateUser User Source #

Body Param "body" - Updated user object

Instance details

Defined in OpenAPIPetstore.API.User

Methods

setBodyParam :: (Consumes UpdateUser contentType, MimeRender contentType User) => OpenAPIPetstoreRequest UpdateUser contentType res accept -> User -> OpenAPIPetstoreRequest UpdateUser contentType res accept Source #

HasBodyParam CreateUser User Source #

Body Param "body" - Created user object

Instance details

Defined in OpenAPIPetstore.API.User

Methods

setBodyParam :: (Consumes CreateUser contentType, MimeRender contentType User) => OpenAPIPetstoreRequest CreateUser contentType res accept -> User -> OpenAPIPetstoreRequest CreateUser contentType res accept Source #

HasBodyParam TestBodyWithQueryParams User Source # 
Instance details

Defined in OpenAPIPetstore.API.Fake

mkUser :: User Source #

Construct a value of type User (by applying it's required fields, if any)

XmlItem

data XmlItem Source #

XmlItem

Constructors

XmlItem 

Fields

Instances
Eq XmlItem Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

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

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

Show XmlItem Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON XmlItem Source #

ToJSON XmlItem

Instance details

Defined in OpenAPIPetstore.Model

FromJSON XmlItem Source #

FromJSON XmlItem

Instance details

Defined in OpenAPIPetstore.Model

HasBodyParam CreateXmlItem XmlItem Source #

Body Param XmlItem - XmlItem Body

Instance details

Defined in OpenAPIPetstore.API.Fake

Methods

setBodyParam :: (Consumes CreateXmlItem contentType, MimeRender contentType XmlItem) => OpenAPIPetstoreRequest CreateXmlItem contentType res accept -> XmlItem -> OpenAPIPetstoreRequest CreateXmlItem contentType res accept Source #

mkXmlItem :: XmlItem Source #

Construct a value of type XmlItem (by applying it's required fields, if any)

Enums

E'ArrayEnum

data E'ArrayEnum Source #

Enum of Text

Constructors

E'ArrayEnum'Fish
"fish"
E'ArrayEnum'Crab
"crab"
Instances
Bounded E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'ArrayEnum Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'EnumFormString

data E'EnumFormString Source #

Enum of Text . Form parameter enum test (string)

Instances
Bounded E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'EnumFormString Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'EnumFormStringArray

data E'EnumFormStringArray Source #

Enum of Text

Instances
Bounded E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'EnumFormStringArray Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'EnumInteger

data E'EnumInteger Source #

Enum of Int

Instances
Bounded E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'EnumInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'EnumNumber

data E'EnumNumber Source #

Enum of Double

Instances
Bounded E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'EnumNumber Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'EnumQueryInteger

data E'EnumQueryInteger Source #

Enum of Int

Instances
Bounded E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'EnumQueryInteger Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'EnumString

data E'EnumString Source #

Enum of Text

Instances
Bounded E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'EnumString Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'Inner

data E'Inner Source #

Enum of Text

Instances
Bounded E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

Methods

(==) :: E'Inner -> E'Inner -> Bool #

(/=) :: E'Inner -> E'Inner -> Bool #

Ord E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'Inner Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'JustSymbol

data E'JustSymbol Source #

Enum of Text

Instances
Bounded E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'JustSymbol Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'Status

data E'Status Source #

Enum of Text . Order Status

Constructors

E'Status'Placed
"placed"
E'Status'Approved
"approved"
E'Status'Delivered
"delivered"
Instances
Bounded E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'Status Source # 
Instance details

Defined in OpenAPIPetstore.Model

E'Status2

data E'Status2 Source #

Enum of Text . pet status in the store

Constructors

E'Status2'Available
"available"
E'Status2'Pending
"pending"
E'Status2'Sold
"sold"
Instances
Bounded E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Enum E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Eq E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Ord E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

Show E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToJSON E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromJSON E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

ToHttpApiData E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

FromHttpApiData E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

MimeRender MimeMultipartFormData E'Status2 Source # 
Instance details

Defined in OpenAPIPetstore.Model

EnumClass