2023-07-09 19:03:07 +03:00
|
|
|
package v1
|
|
|
|
|
|
|
|
type DataDumpViewModel struct {
|
|
|
|
Data []*DataDumpData `json:"data"`
|
|
|
|
Total int `json:"total"`
|
|
|
|
TotalPages int `json:"total_pages"`
|
|
|
|
}
|
|
|
|
|
2023-07-13 18:54:48 +03:00
|
|
|
type DataDumpResultErrorModel struct {
|
|
|
|
Error string `json:"error"`
|
|
|
|
}
|
|
|
|
|
2023-07-09 19:03:07 +03:00
|
|
|
type DataDumpResultViewModel struct {
|
|
|
|
Data *DataDumpData `json:"data"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type DataDumpData struct {
|
|
|
|
Id string `json:"id"`
|
|
|
|
Type string `json:"type"`
|
|
|
|
DownloadUrl string `json:"download_url"`
|
|
|
|
Status string `json:"status"`
|
|
|
|
PercentComplete float32 `json:"percent_complete"`
|
|
|
|
Expires string `json:"expires"`
|
|
|
|
CreatedAt string `json:"created_at"`
|
|
|
|
HasFailed bool `json:"has_failed"`
|
|
|
|
IsStuck bool `json:"is_stuck"`
|
|
|
|
IsProcessing bool `json:"is_processing"`
|
|
|
|
}
|