-
Notifications
You must be signed in to change notification settings - Fork 0
/
media_asset_v1.go
33 lines (31 loc) · 1.1 KB
/
media_asset_v1.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
package kickcom
import "time"
// MediaAssetV1 is a representation of a media asset in API v1.
type MediaAssetV1 struct {
ID uint64 `json:"id"`
ModelType string `json:"model_type"`
ModelID uint64 `json:"model_id"`
CollectionName string `json:"collection_name"`
Name string `json:"name"`
FileName string `json:"file_name"`
MimeType string `json:"mime_type"`
Disk string `json:"disk"`
Size uint64 `json:"size"`
Manipulations []any `json:"manipulations"`
CustomProperties struct {
GeneratedConversions struct {
Fullsize bool `json:"fullsize"`
} `json:"generated_conversions"`
} `json:"custom_properties"`
/*ResponsiveImages struct {
Fullsize struct {
Urls []string `json:"urls"`
Base64Svg string `json:"base64svg"`
} `json:"fullsize"`
} `json:"responsive_images"`*/
OrderColumn uint64 `json:"order_column"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
UUID string `json:"uuid"`
ConversionsDisk string `json:"conversions_disk"`
}