-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodel_get_task_status_response.go
30 lines (28 loc) · 1.31 KB
/
model_get_task_status_response.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
/*
* 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
type GetTaskStatusResponse struct {
// Unique ID of the Task
Id string `json:"id,omitempty"`
// UTC time of creation of the Task in RFC-3339 format
CreatedAt string `json:"created_at,omitempty"`
// UTC last time the Task was updated in RFC-3339 format
UpdatedAt string `json:"updated_at,omitempty"`
Result Result `json:"result,omitempty"`
State TaskState `json:"state,omitempty"`
// The Blockchain-generated hash of the Transaction; populated after the Blockchain Node accepted the Transaction
TxHash string `json:"tx_hash,omitempty"`
// The QEDIT-generated hash of the Transaction; generated after proof generation, but prior to Broadcast by the QEDIT Node
QeditTxHash string `json:"qedit_tx_hash,omitempty"`
Type TaskType `json:"type,omitempty"`
Data TaskData `json:"data,omitempty"`
// In case of failure this field reports the reason for the failure
Error string `json:"error,omitempty"`
}