/
sm_request_participants.go
35 lines (31 loc) · 1.53 KB
/
sm_request_participants.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 models
type RequestParticipantPageScheme struct {
Size int `json:"size,omitempty"`
Start int `json:"start,omitempty"`
Limit int `json:"limit,omitempty"`
IsLastPage bool `json:"isLastPage,omitempty"`
Values []*RequestParticipantScheme `json:"values,omitempty"`
Expands []string `json:"_expands,omitempty"`
Links *RequestParticipantPageLinkScheme `json:"_links,omitempty"`
}
type RequestParticipantPageLinkScheme struct {
Self string `json:"self,omitempty"`
Base string `json:"base,omitempty"`
Context string `json:"context,omitempty"`
Next string `json:"next,omitempty"`
Prev string `json:"prev,omitempty"`
}
type RequestParticipantScheme struct {
AccountID string `json:"accountId,omitempty"`
Name string `json:"name,omitempty"`
Key string `json:"key,omitempty"`
EmailAddress string `json:"emailAddress,omitempty"`
DisplayName string `json:"displayName,omitempty"`
Active bool `json:"active,omitempty"`
TimeZone string `json:"timeZone,omitempty"`
Links *RequestParticipantLinkScheme `json:"_links,omitempty"`
}
type RequestParticipantLinkScheme struct {
Self string `json:"self,omitempty"`
JiraRest string `json:"jiraRest,omitempty"`
}