/
video_upload_body.go
65 lines (45 loc) · 2.86 KB
/
video_upload_body.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
60
61
62
63
64
65
/*
* Flip API
*
* Description
*
* API version: 2.0.1
* Contact: cloudsupport@telestream.net
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package flip
type VideoUploadBody struct {
// Size of the file that will be uploaded in `bytes`.
FileSize int64 `json:"file_size"`
// Name of the file that will be uploaded.
FileName string `json:"file_name"`
// A list of names of additional files that will be uploaded.
ExtraFiles []ExtraFile `json:"extra_files,omitempty"`
// A comma-separated list of profile names or IDs to be used during encoding. Alternatively, specify none so no encodings will created right away.
Profiles string `json:"profiles,omitempty"`
PathFormat string `json:"path_format,omitempty"`
// Payload is an arbitrary text of length 256 or shorter that you can store along the Video. It is typically used to retain an association with one of your own DB record ID.
Payload string `json:"payload,omitempty"`
ExtraVariables map[string]string `json:"extra_variables,omitempty"`
// URL pointing to an image that will be used asa watermark.
WatermarkUrl string `json:"watermark_url,omitempty"`
// Determines distance between the left edge of a video and the left edge of a watermark image. Can be specified in pixels or percents. This parameter can be set only if watermark_right is not.
WatermarkLeft string `json:"watermark_left,omitempty"`
// Determines distance between the top edge of a video and the top edge of a watermark image. Can be specified in pixels or percents. This parameter can be set only if watermark_bottom is not.
WatermarkTop string `json:"watermark_top,omitempty"`
// Determines distance between the right edge of a video and the right edge of a watermark image. Can be specified in pixels or percents. This parameter can be set only if watermark_left is not.
WatermarkRight string `json:"watermark_right,omitempty"`
// Determines distance between the bottom edge of a video and the bottom edge of a watermark image. Can be specified in pixels or percents. This parameter can be set only if watermark_top is not.
WatermarkBottom string `json:"watermark_bottom,omitempty"`
// Determines width of the watermark image. Should be specified in pixels.
WatermarkWidth string `json:"watermark_width,omitempty"`
// Determines width of the watermark image. Should be specified in pixels.
WatermarkHeight string `json:"watermark_height,omitempty"`
// Length of the uploaded video. Should be formatted as follows: HH:MM:SS
ClipLength string `json:"clip_length,omitempty"`
// Clip starts at a specific offset.
ClipOffset string `json:"clip_offset,omitempty"`
MultiChunk bool `json:"multi_chunk,omitempty"`
// An individual store_id for this video processing. If provided will replace store_id from cloud factory but must match underlying cloud provider and region.
StoreId string `json:"store_id,omitempty"`
}