forked from mitsuse/pushbullet-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pushes.go
44 lines (37 loc) · 945 Bytes
/
pushes.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
36
37
38
39
40
41
42
43
44
package responses
import (
"github.com/Cruiser79/pushbullet-go/requests"
)
type Push struct {
Iden string `json:"iden"`
Created float64 `json:"created"`
Modified float64 `json:"modified"`
Active bool `json:"active"`
Dismissed bool `json:"dismissed"`
SenderIden string `json:"sender_iden"`
SenderEmail string `json:"sender_email"`
SenderEmailNormalized string `json:"sender_email_normalized"`
RecieverIden string `json:"reciever_iden"`
RecieverEmail string `json:"reciever_email"`
RecieverEmailNormalized string `json:"reciever_email_normalized"`
}
type Note struct {
*Push
*requests.Note
}
type Link struct {
*Push
*requests.Link
}
type Address struct {
*Push
*requests.Address
}
type Checklist struct {
*Push
*requests.Checklist
}
type File struct {
*Push
*requests.File
}