-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodel_notification.go
25 lines (23 loc) · 1.17 KB
/
model_notification.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
/*
* QEDIT - Asset Transfers
*
* This SDK provides a programmatic way for interacting with QEDIT's _Asset Transfer_ API. The specification definition file is publicly available [in this repository](https://github.com/QED-it/asset_transfers_dev_guide/).
*
* API version: 1.7.2
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package goqedit
// A notification including some metadata and a content field whose type depends on the type of notification.
type Notification struct {
// The unique identifier of the notification. Can be used for pagination purposes.
Id int32 `json:"id"`
// Timestamp the notification was created at, in RFC-3339 format.
CreatedAt string `json:"created_at"`
// The ID of the wallet the notification relates to. May be null in cases there is no such specific wallet.
WalletId string `json:"wallet_id,omitempty"`
// The ID of the task the notification relates to. May be empty in cases there is no such specific task.
TaskId string `json:"task_id"`
NotificationType NotificationType `json:"notification_type"`
Content map[string]interface{} `json:"content,omitempty"`
}