mirror of
https://gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
synced 2024-11-24 16:46:25 +00:00
22 lines
907 B
Go
22 lines
907 B
Go
|
package types
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
type Notification struct {
|
||
|
NotificationID int `json:"notification_id"`
|
||
|
App string `json:"app"`
|
||
|
User string `json:"user"`
|
||
|
Datetime time.Time `json:"datetime"`
|
||
|
ObjectType string `json:"object_type"`
|
||
|
ObjectID string `json:"object_id"`
|
||
|
Subject string `json:"subject"`
|
||
|
Message string `json:"message"`
|
||
|
Link string `json:"link"`
|
||
|
SubjectRich string `json:"subjectRich"`
|
||
|
SubjectRichParameters []interface{} `json:"subjectRichParameters"`
|
||
|
MessageRich string `json:"messageRich"`
|
||
|
MessageRichParameters []interface{} `json:"messageRichParameters"`
|
||
|
Icon string `json:"icon"`
|
||
|
Actions []interface{} `json:"actions"`
|
||
|
}
|