You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
849 B

// Code generated by goctl. DO NOT EDIT.
// goctl 1.9.2
package types
type DownloadRequest struct {
Title string `json:"title"`
Imgs map[string]string `json:"imgs"`
}
type DownloadResponse struct {
Success bool `json:"success"`
Message string `json:"message"`
Title string `json:"title"`
Folder string `json:"folder"`
JsonPath string `json:"json_path"`
Total int `json:"total"`
Saved int `json:"saved"`
Skipped int `json:"skipped"`
Failed int `json:"failed"`
Details []ProgressDetail `json:"details"`
}
type ProgressDetail struct {
Key string `json:"key"`
URL string `json:"url"`
Status string `json:"status"`
Message string `json:"message"`
SavedAs string `json:"saved_as,optional"`
}