GetPercentsRequest.go 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. package http_model
  2. type GetPercentsRequest struct {
  3. }
  4. type Percents struct {
  5. SketchOtherTimeOut int `json:"sketch_other_time_out"`
  6. SketchOtherNotUpload int `json:"sketch_other_not_upload"`
  7. SketchReplaceTimeOut int `json:"sketch_replace_time_out"`
  8. SketchReplaceNotUpload int `json:"sketch_replace_not_upload"`
  9. ScriptOtherTimeOut int `json:"script_other_time_out"`
  10. ScriptOtherNotUpload int `json:"script_other_not_upload"`
  11. ScriptReplaceTimeOut int `json:"script_replace_time_out"`
  12. ScriptReplaceNotUpload int `json:"script_replace_not_upload"`
  13. LinkOtherTimeOut int `json:"link_other_time_out"`
  14. LinkOtherNotUpload int `json:"link_other_not_upload"`
  15. LinkReplaceTimeOut int `json:"link_replace_time_out"`
  16. LinkReplaceNotUpload int `json:"link_replace_not_upload"`
  17. DataOtherNotUpload int `json:"data_other_not_upload"`
  18. DataOtherTimeOut int `json:"data_other_time_out"`
  19. DataReplaceTimeOut int `json:"data_replace_time_out"`
  20. DataReplaceNotUpload int `json:"data_replace_not_upload"`
  21. }
  22. func NewGetPercentsRequest() *GetPercentsRequest {
  23. return new(GetPercentsRequest)
  24. }
  25. func NewGetPercentsResponse() *CommonResponse {
  26. resp := new(CommonResponse)
  27. resp.Data = new(Percents)
  28. return resp
  29. }