24 lines
351 B
Go
24 lines
351 B
Go
package entity
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type TranscribeJob struct {
|
|
Id string
|
|
State string
|
|
FileID *string
|
|
IsError bool
|
|
ErrorText *string
|
|
Worker *string
|
|
AcquiredAt *time.Time
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
const (
|
|
StateCreated = "created"
|
|
StateConverted = "converted"
|
|
StateUploaded = "uploaded"
|
|
StatusFailed = "failed"
|
|
)
|