forked from ohookins/contentful-go
-
Notifications
You must be signed in to change notification settings - Fork 3
/
types.go
24 lines (23 loc) · 1.18 KB
/
types.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
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"`
ArchivedAt string `json:"archivedAt,omitempty"`
ArchivedBy *Sys `json:"archivedBy,omitempty"`
ArchivedVersion int `json:"archivedVersion,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"`
Locale string `json:"locale,omitempty"`
}