speechmatics-0.1.1.0: Speechmatics api client

Safe HaskellNone
LanguageHaskell2010

Speechmatics.JSON.PeekJob

Description

Generated from json response, now it's type safe, see the tests

Synopsis

Documentation

data Job Source #

Instances

Eq Job Source # 

Methods

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

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

Show Job Source # 

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job Source # 

Associated Types

type Rep Job :: * -> * #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

FromJSON Job Source # 
type Rep Job Source # 
type Rep Job = D1 * (MetaData "Job" "Speechmatics.JSON.PeekJob" "speechmatics-0.1.1.0-AzRKLulEwtKCIh0q677Cmw" False) (C1 * (MetaCons "Job" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "jobCheckWait") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Integer))) ((:*:) * (S1 * (MetaSel (Just Symbol "jobNotification") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "jobJobType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "jobUrl") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "jobNextCheck") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "jobLang") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "jobJobStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "jobName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "jobCreatedAt") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "jobId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "jobMeta") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Value))) (S1 * (MetaSel (Just Symbol "jobUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "jobDuration") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "jobTranscription") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text))))))))

data TopLevel Source #

Constructors

TopLevel 

Fields

Instances

Eq TopLevel Source # 
Show TopLevel Source # 
Generic TopLevel Source # 

Associated Types

type Rep TopLevel :: * -> * #

Methods

from :: TopLevel -> Rep TopLevel x #

to :: Rep TopLevel x -> TopLevel #

FromJSON TopLevel Source # 
type Rep TopLevel Source # 
type Rep TopLevel = D1 * (MetaData "TopLevel" "Speechmatics.JSON.PeekJob" "speechmatics-0.1.1.0-AzRKLulEwtKCIh0q677Cmw" False) (C1 * (MetaCons "TopLevel" PrefixI True) (S1 * (MetaSel (Just Symbol "topLevelJob") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Job)))