forked from contentful-labs/contentful-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.go
20 lines (19 loc) · 960 Bytes
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package contentful
// Sys model
type Sys struct {
ID string `json:"id,omitempty"`
Type string `json:"type,omitempty"`
LinkType string `json:"linkType,omitempty"`
CreatedAt string `json:"createdAt,omitempty"`
UpdatedAt string `json:"updatedAt,omitempty"`
UpdatedBy *Sys `json:"updatedBy,omitempty"`
Version int `json:"version,omitempty"`
Revision int `json:"revision,omitempty"`
ContentType *ContentType `json:"contentType,omitempty"`
Space *Space `json:"space,omitempty"`
FirstPublishedAt string `json:"firstPublishedAt,omitempty"`
PublishedCounter int `json:"publishedCounter,omitempty"`
PublishedAt string `json:"publishedAt,omitempty"`
PublishedBy *Sys `json:"publishedBy,omitempty"`
PublishedVersion int `json:"publishedVersion,omitempty"`
}