struct_task.go 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package drds
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // Task is a nested struct in drds response
  17. type Task struct {
  18. TaskType int `json:"TaskType" xml:"TaskType"`
  19. TbComputeLength int `json:"TbComputeLength" xml:"TbComputeLength"`
  20. Label string `json:"Label" xml:"Label"`
  21. Id int64 `json:"Id" xml:"Id"`
  22. TargetId int64 `json:"TargetId" xml:"TargetId"`
  23. ParentJobId string `json:"ParentJobId" xml:"ParentJobId"`
  24. TaskStatus int `json:"TaskStatus" xml:"TaskStatus"`
  25. ShowProgress bool `json:"ShowProgress" xml:"ShowProgress"`
  26. GmtCreate int64 `json:"GmtCreate" xml:"GmtCreate"`
  27. TaskPhase string `json:"TaskPhase" xml:"TaskPhase"`
  28. ErrMsg string `json:"ErrMsg" xml:"ErrMsg"`
  29. ExpandType string `json:"ExpandType" xml:"ExpandType"`
  30. DbComputeLength int `json:"DbComputeLength" xml:"DbComputeLength"`
  31. State string `json:"State" xml:"State"`
  32. AllowCancel bool `json:"AllowCancel" xml:"AllowCancel"`
  33. DetailTaskId string `json:"DetailTaskId" xml:"DetailTaskId"`
  34. Content string `json:"Content" xml:"Content"`
  35. TaskName string `json:"TaskName" xml:"TaskName"`
  36. Progress int `json:"Progress" xml:"Progress"`
  37. ProgressDescription string `json:"ProgressDescription" xml:"ProgressDescription"`
  38. TaskDetail string `json:"TaskDetail" xml:"TaskDetail"`
  39. }