28 lines
551 B
Go
28 lines
551 B
Go
package fields
|
|
|
|
type MediaAsset struct {
|
|
Type MediaAssetType `json:"type"`
|
|
Media int64 `json:"media"`
|
|
Mark *string `json:"mark,omitempty"`
|
|
}
|
|
|
|
// swagger:enum MediaAssetType
|
|
// ENUM(
|
|
// Unknown = "unknown",
|
|
// Poster = "poster",
|
|
// Image = "image",
|
|
// Video = "video",
|
|
// Audio = "audio",
|
|
// Document = "document",
|
|
// Other = "other"
|
|
// )
|
|
type MediaAssetType string
|
|
|
|
// swagger:enum PostStatus
|
|
// ENUM( draft, published )
|
|
type PostStatus int16
|
|
|
|
// swagger:enum PostType
|
|
// ENUM( Article, Picture, Video, Audio)
|
|
type PostType int16
|