forked from Virtomize/confluence-go-api
/
version-dtos.go
35 lines (34 loc) · 949 Bytes
/
version-dtos.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
34
35
package goconfluence
type ContentVersionResult struct {
Links struct {
Base string `json:"base"`
Context string `json:"context"`
Self string `json:"self"`
} `json:"_links"`
Limit int64 `json:"limit"`
Results []struct {
Expandable struct {
Content string `json:"content"`
} `json:"_expandable"`
Links struct {
Self string `json:"self"`
} `json:"_links"`
By struct {
DisplayName string `json:"displayName"`
ProfilePicture struct {
Height int64 `json:"height"`
IsDefault bool `json:"isDefault"`
Path string `json:"path"`
Width int64 `json:"width"`
} `json:"profilePicture"`
Type string `json:"type"`
} `json:"by"`
Hidden bool `json:"hidden"`
Message string `json:"message"`
MinorEdit bool `json:"minorEdit"`
Number int64 `json:"number"`
When string `json:"when"`
} `json:"results"`
Size int64 `json:"size"`
Start int64 `json:"start"`
}