mirror of
https://github.com/foomo/contentful.git
synced 2025-10-16 12:25:37 +00:00
27 lines
588 B
Go
27 lines
588 B
Go
package contentful
|
|
|
|
/* // Include model
|
|
type Include struct {
|
|
Entry []*Entry
|
|
Asset []*Asset
|
|
} */
|
|
|
|
//IncludeEntry model
|
|
type IncludeEntry struct {
|
|
Fields map[string]interface{} `json:"fields,omitempty"`
|
|
Sys *Sys `json:"sys"`
|
|
}
|
|
|
|
// IncludeFileFields model
|
|
type IncludeFileFields struct {
|
|
Title string `json:"title,omitempty"`
|
|
Description string `json:"description,omitempty"`
|
|
File *File `json:"file,omitempty"`
|
|
}
|
|
|
|
// IncludeAsset model
|
|
type IncludeAsset struct {
|
|
Fields *IncludeFileFields `json:"fields"`
|
|
Sys *Sys `json:"sys"`
|
|
}
|