123456789101112131415161718192021222324252627282930313233343536 |
- package model
- type Response struct {
- RequestID string `json:"request_id"`
- Output Output `json:"output"`
- Usage Usage `json:"usage"`
- }
- type Output struct {
- TaskID string `json:"task_id"`
- TaskStatus string `json:"task_status"`
-
-
-
- Results []Result `json:"results"`
- TaskMetrics TaskMetrics `json:"task_metrics"`
- }
- type Result struct {
- URL string `json:"url"`
- }
- type TaskMetrics struct {
- TOTAL int `json:"TOTAL"`
- SUCCEEDED int `json:"SUCCEEDED"`
- FAILED int `json:"FAILED"`
- }
- type Usage struct {
- ImageCount int `json:"image_count"`
- }
|