19 lines
337 B
Go
19 lines
337 B
Go
package fields
|
|
|
|
type MediaAsset struct {
|
|
Type MediaAssetType `json:"type"`
|
|
Hash string `json:"hash"`
|
|
}
|
|
|
|
// swagger:enum MediaAssetType
|
|
// ENUM(
|
|
// Unknown = "unknown",
|
|
// Poster = "poster",
|
|
// Image = "image",
|
|
// Video = "video",
|
|
// Audio = "audio",
|
|
// Document = "document",
|
|
// Other = "other"
|
|
// )
|
|
type MediaAssetType string
|