-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathmodel_static_rendition.go
31 lines (29 loc) · 2.17 KB
/
model_static_rendition.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
// Mux Go - Copyright 2019 Mux Inc.
// NOTE: This file is auto generated. Do not edit this file manually.
package muxgo
type StaticRendition struct {
// Name of the static rendition file
Name string `json:"name,omitempty"`
// Extension of the static rendition file
Ext string `json:"ext,omitempty"`
// The height of the static rendition's file in pixels
Height int32 `json:"height,omitempty"`
// The width of the static rendition's file in pixels
Width int32 `json:"width,omitempty"`
// The bitrate in bits per second
Bitrate int64 `json:"bitrate,omitempty"`
// The file size in bytes
Filesize string `json:"filesize,omitempty"`
// Indicates the static rendition type of this specific MP4 version of this asset. This field is only valid for `static_renditions`, not for `mp4_support`.
Type string `json:"type,omitempty"`
// Indicates the status of this specific MP4 version of this asset. This field is only valid for `static_renditions`, not for `mp4_support`. * `ready` indicates the MP4 has been generated and is ready for download * `preparing` indicates the asset has not been ingested or the static rendition is still being generated after an asset is ready * `skipped` indicates the static rendition will not be generated because the requested resolution conflicts with the asset attributes after the asset has been ingested * `errored` indicates the static rendition cannot be generated. For example, an asset could not be ingested
Status string `json:"status,omitempty"`
// Indicates the resolution tier of this specific MP4 version of this asset. This field is only valid for `static_renditions`, not for `mp4_support`.
ResolutionTier string `json:"resolution_tier,omitempty"`
// Indicates the resolution of this specific MP4 version of this asset. This field is only valid for `static_renditions`, not for `mp4_support`.
Resolution string `json:"resolution,omitempty"`
// The ID of this static rendition, used in managing this static rendition. This field is only valid for `static_renditions`, not for `mp4_support`.
Id string `json:"id,omitempty"`
// Arbitrary user-supplied metadata set for the static rendition. Max 255 characters.
Passthrough string `json:"passthrough,omitempty"`
}