response

package
v0.0.0-...-2ae284d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FinalVideoDetail

type FinalVideoDetail struct {
	ID           int    `json:"id"`
	Filename     string `json:"filename"`
	FilePath     string `json:"filePath"`
	DownloadLink string `json:"downloadLink"`
}

type JobIDResponse

type JobIDResponse struct {
	JobID int `json:"jobID"`
}

type VideoDetailResponse

type VideoDetailResponse struct {
	ID               int               `json:"id"`
	Filename         string            `json:"filename"`
	FilePath         string            `json:"filePath"`
	Duration         int               `json:"duration"`
	Status           string            `json:"status"`
	CreatedAt        string            `json:"createdAt"`
	UpdatedAt        string            `json:"updatedAt"`
	TrimJobs         []VideoJobDetail  `json:"trimJobs,omitempty"`
	ConcatJobs       []VideoJobDetail  `json:"concatJobs,omitempty"`
	FinalVideoDetail *FinalVideoDetail `json:"finalVideoDetail,omitempty"`
}

type VideoDownloadResponse

type VideoDownloadResponse struct {
	ID           int    `json:"id"`
	Filename     string `json:"filename"`
	FilePath     string `json:"filePath"`
	DownloadLink string `json:"downloadLink"`
}

type VideoJobDetail

type VideoJobDetail struct {
	ID             int    `json:"id"`
	JobType        string `json:"jobType"`
	Parameters     string `json:"parameters"`
	Status         string `json:"status"`
	ResultFilePath string `json:"resultFilePath"`
}

type VideoResponse

type VideoResponse struct {
	ID        int       `json:"id"`
	Filename  string    `json:"filename"`
	FilePath  string    `json:"filePath"`
	Duration  int       `json:"duration"`
	Status    string    `json:"status"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL