/
vb_media.go
59 lines (42 loc) · 1.78 KB
/
vb_media.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
* Voicebase V3 API
*
* APIs for speech recognition and speech analytics, powering insights every business needs.
*
* API version: 3.0.1
* Contact: support@voicebase.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package voicebase
import (
"time"
)
type VbMedia struct {
// Media format version. E.g. 3.0.1
FormatVersion string `json:"formatVersion,omitempty"`
// Media unique identifier.
MediaId string `json:"mediaId,omitempty"`
// Processing state.
Status *VbStatusEnum `json:"status,omitempty"`
// Creation timestamp
DateCreated time.Time `json:"dateCreated,omitempty"`
// User defined data associated with this record.
Metadata *VbMetadata `json:"metadata,omitempty"`
// The MIME type of the media submitted for processing. E.g. audio/x-wav, audio/mpeg
MediaContentType string `json:"mediaContentType,omitempty"`
// Duration of the audio/video submitted for processing expressed in milliseconds
Length int64 `json:"length,omitempty"`
// Semantic knowledge discovery section. If knoweledge discovery was requested, this section contains the results.
Knowledge *VbKnowledge `json:"knowledge,omitempty"`
// If kewyword spotting was requested, this section contains the results.
Spotting *VbSpotting `json:"spotting,omitempty"`
// If any predictions (classifiers, detectors) were requested, this section contains the results.
Prediction *VbPrediction `json:"prediction,omitempty"`
// This section contains the transcript in a variety of formats
Transcript *VbTranscript `json:"transcript,omitempty"`
// This section contains warnings about the media
Warnings []VbMessage `json:"warnings,omitempty"`
// Theaudio/video streams available.
Streams []VbStream `json:"streams,omitempty"`
Job *VbJob `json:"_job,omitempty"`
}