Safe Haskell | None |
---|---|
Language | Haskell2010 |
Json.TranscriptTypes
Description
Auto generated module by json-autotype
Synopsis
- (.:??) :: FromJSON a => Object -> Text -> Parser (Maybe a)
- data LatestTopics = LatestTopics {}
- data Topics = Topics {}
- data Tasks = Tasks {
- data Progress = Progress {}
- data Job = Job {}
- data T = T {}
- data WordsKeyElt = WordsKeyElt {}
- data LatestKeywords = LatestKeywords {}
- data Keywords = Keywords {}
- data Length = Length {}
- data Metadata = Metadata {}
- data WordsTranscriptsElt = WordsTranscriptsElt {}
- data LatestTranscripts = LatestTranscripts {}
- data Transcripts = Transcripts {}
- data Media = Media {}
- data Self = Self {}
- data Links = Links {}
- data Transcript = Transcript {}
- parse :: ByteString -> Either String Transcript
Documentation
(.:??) :: FromJSON a => Object -> Text -> Parser (Maybe a) Source #
Workaround for https://github.com/bos/aeson/issues/287.
data LatestTopics Source #
Constructors
LatestTopics | |
Fields |
Instances
Eq LatestTopics Source # | |
Defined in Json.TranscriptTypes | |
Show LatestTopics Source # | |
Defined in Json.TranscriptTypes Methods showsPrec :: Int -> LatestTopics -> ShowS # show :: LatestTopics -> String # showList :: [LatestTopics] -> ShowS # | |
Generic LatestTopics Source # | |
Defined in Json.TranscriptTypes Associated Types type Rep LatestTopics :: * -> * # | |
FromJSON LatestTopics Source # | |
Defined in Json.TranscriptTypes | |
type Rep LatestTopics Source # | |
Defined in Json.TranscriptTypes type Rep LatestTopics = D1 (MetaData "LatestTopics" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "LatestTopics" PrefixI True) (S1 (MetaSel (Just "latestTopicsTopics") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Maybe Value]) :*: S1 (MetaSel (Just "latestTopicsRevision") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) |
Constructors
Topics | |
Fields |
Instances
Eq Topics Source # | |
Show Topics Source # | |
Generic Topics Source # | |
FromJSON Topics Source # | |
type Rep Topics Source # | |
Defined in Json.TranscriptTypes type Rep Topics = D1 (MetaData "Topics" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Topics" PrefixI True) (S1 (MetaSel (Just "topicsLatestTopics") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 LatestTopics))) |
Constructors
Tasks | |
Constructors
Progress | |
Fields
|
Instances
Eq Progress Source # | |
Show Progress Source # | |
Generic Progress Source # | |
FromJSON Progress Source # | |
type Rep Progress Source # | |
Defined in Json.TranscriptTypes type Rep Progress = D1 (MetaData "Progress" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Progress" PrefixI True) (S1 (MetaSel (Just "progressStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "progressJobId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "progressTasks") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Tasks)))) |
Constructors
Job | |
Fields |
data WordsKeyElt Source #
Constructors
WordsKeyElt | |
Fields
|
Instances
Eq WordsKeyElt Source # | |
Defined in Json.TranscriptTypes | |
Show WordsKeyElt Source # | |
Defined in Json.TranscriptTypes Methods showsPrec :: Int -> WordsKeyElt -> ShowS # show :: WordsKeyElt -> String # showList :: [WordsKeyElt] -> ShowS # | |
Generic WordsKeyElt Source # | |
Defined in Json.TranscriptTypes Associated Types type Rep WordsKeyElt :: * -> * # | |
FromJSON WordsKeyElt Source # | |
Defined in Json.TranscriptTypes | |
type Rep WordsKeyElt Source # | |
Defined in Json.TranscriptTypes type Rep WordsKeyElt = D1 (MetaData "WordsKeyElt" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "WordsKeyElt" PrefixI True) (S1 (MetaSel (Just "wordsKeyEltRelevance") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "wordsKeyEltT") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 T) :*: S1 (MetaSel (Just "wordsKeyEltName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))) |
data LatestKeywords Source #
Constructors
LatestKeywords | |
Fields |
Instances
Constructors
Keywords | |
Fields |
Instances
Eq Keywords Source # | |
Show Keywords Source # | |
Generic Keywords Source # | |
FromJSON Keywords Source # | |
type Rep Keywords Source # | |
Defined in Json.TranscriptTypes type Rep Keywords = D1 (MetaData "Keywords" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Keywords" PrefixI True) (S1 (MetaSel (Just "keywordsLatestKeywords") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 LatestKeywords))) |
Constructors
Length | |
Fields |
Instances
Eq Length Source # | |
Show Length Source # | |
Generic Length Source # | |
FromJSON Length Source # | |
type Rep Length Source # | |
Defined in Json.TranscriptTypes type Rep Length = D1 (MetaData "Length" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Length" PrefixI True) (S1 (MetaSel (Just "lengthDescriptive") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "lengthMilliseconds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double))) |
Constructors
Metadata | |
Fields |
Instances
Eq Metadata Source # | |
Show Metadata Source # | |
Generic Metadata Source # | |
FromJSON Metadata Source # | |
type Rep Metadata Source # | |
Defined in Json.TranscriptTypes type Rep Metadata = D1 (MetaData "Metadata" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Metadata" PrefixI True) (S1 (MetaSel (Just "metadataLength") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Length) :*: S1 (MetaSel (Just "metadataContentType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) |
data WordsTranscriptsElt Source #
Constructors
WordsTranscriptsElt | |
Fields |
Instances
data LatestTranscripts Source #
Constructors
LatestTranscripts | |
Instances
data Transcripts Source #
Constructors
Transcripts | |
Instances
Eq Transcripts Source # | |
Defined in Json.TranscriptTypes | |
Show Transcripts Source # | |
Defined in Json.TranscriptTypes Methods showsPrec :: Int -> Transcripts -> ShowS # show :: Transcripts -> String # showList :: [Transcripts] -> ShowS # | |
Generic Transcripts Source # | |
Defined in Json.TranscriptTypes Associated Types type Rep Transcripts :: * -> * # | |
FromJSON Transcripts Source # | |
Defined in Json.TranscriptTypes | |
type Rep Transcripts Source # | |
Defined in Json.TranscriptTypes type Rep Transcripts = D1 (MetaData "Transcripts" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Transcripts" PrefixI True) (S1 (MetaSel (Just "transcriptsLatestTranscripts") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 LatestTranscripts))) |
Constructors
Media | |
Fields
|
Instances
data Transcript Source #
Constructors
Transcript | |
Fields
|
Instances
Eq Transcript Source # | |
Defined in Json.TranscriptTypes | |
Show Transcript Source # | |
Defined in Json.TranscriptTypes Methods showsPrec :: Int -> Transcript -> ShowS # show :: Transcript -> String # showList :: [Transcript] -> ShowS # | |
Generic Transcript Source # | |
Defined in Json.TranscriptTypes Associated Types type Rep Transcript :: * -> * # | |
FromJSON Transcript Source # | |
Defined in Json.TranscriptTypes | |
type Rep Transcript Source # | |
Defined in Json.TranscriptTypes type Rep Transcript = D1 (MetaData "Transcript" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Transcript" PrefixI True) (S1 (MetaSel (Just "topLevelMedia") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Media) :*: S1 (MetaSel (Just "topLevelLinks") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Links))) |
parse :: ByteString -> Either String Transcript Source #