| 1 | package threadscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/ |
| 2 | |
| 3 | import ( |
| 4 | "git.sr.ht/~rockorager/go-jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/" |
| 5 | "git.sr.ht/~rockorager/go-jmap/mailscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail`/" |
| 6 | ) |
| 7 | |
| 8 | // See RFC8621, Section 3.1. |
| 9 | type Getscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get# struct { |
| 10 | Accountscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get#Account. jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/.IDscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/ID# `json:"accountId,omitempty"` |
| 11 | |
| 12 | IDsscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get#IDs. []jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/.IDscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/ID# `json:"ids,omitempty"` |
| 13 | |
| 14 | Propertiesscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get#Properties. []string `json:"properties,omitempty"` |
| 15 | |
| 16 | ReferenceIDsscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get#ReferenceIDs. *jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/.ResultReferencescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/ResultReference# `json:"#ids,omitempty"` |
| 17 | |
| 18 | ReferencePropertiesscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get#ReferenceProperties. *jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/.ResultReferencescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/ResultReference# `json:"#properties,omitempty"` |
| 19 | } |
| 20 | |
| 21 | func (m *Getscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get#) Namescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get#Name().() string { return "Thread/get" } |
| 22 | |
| 23 | func (m *Getscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get#) Requiresscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Get#Requires().() []jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/.URIscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/URI# { return []jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/.URIscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/URI#{mailscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail`/.URIscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail`/URI.} } |
| 24 | |
| 25 | type GetResponsescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/GetResponse# struct { |
| 26 | Accountscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/GetResponse#Account. jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/.IDscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/ID# `json:"accountId,omitempty"` |
| 27 | |
| 28 | Statescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/GetResponse#State. string `json:"state,omitempty"` |
| 29 | |
| 30 | Listscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/GetResponse#List. []*Threadscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/Thread# `json:"list,omitempty"` |
| 31 | |
| 32 | NotFoundscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/GetResponse#NotFound. []jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/.IDscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/ID# `json:"notFound,omitempty"` |
| 33 | } |
| 34 | |
| 35 | func newGetResponsescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/newGetResponse().() jmapscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/.MethodResponsescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap`/MethodResponse# { return &GetResponsescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/mail/thread`/GetResponse#{} } |