We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c6b5ac commit 7f053c5Copy full SHA for 7f053c5
1 file changed
entitiy.go
@@ -8,17 +8,17 @@ type ContentsAPIResponse struct {
8
}
9
10
type ManagementAPIMediaResponse struct {
11
- Media []Media
12
- TotalCount int
13
- Limit int
14
- Offset int
+ Media []Media `json:"media"`
+ TotalCount int `json:"totalCount"`
+ Limit int `json:"limit"`
+ Offset int `json:"offset"`
15
16
17
type Media struct {
18
- Id string
19
- Url string
20
- Width int
21
- Height int
+ Id string `json:"id"`
+ Url string `json:"url"`
+ Width int `json:"width"`
+ Height int `json:"height"`
22
23
24
type Config struct {
0 commit comments