struct_task.go 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. Label string `json:"Label" xml:"Label"`
  20. Id int64 `json:"Id" xml:"Id"`
  21. TargetId int64 `json:"TargetId" xml:"TargetId"`
  22. ParentJobId string `json:"ParentJobId" xml:"ParentJobId"`
  23. TaskStatus int `json:"TaskStatus" xml:"TaskStatus"`
  24. ShowProgress bool `json:"ShowProgress" xml:"ShowProgress"`
  25. GmtCreate int64 `json:"GmtCreate" xml:"GmtCreate"`
  26. TaskPhase string `json:"TaskPhase" xml:"TaskPhase"`
  27. ErrMsg string `json:"ErrMsg" xml:"ErrMsg"`
  28. ExpandType string `json:"ExpandType" xml:"ExpandType"`
  29. State string `json:"State" xml:"State"`
  30. Content string `json:"Content" xml:"Content"`
  31. AllowCancel bool `json:"AllowCancel" xml:"AllowCancel"`
  32. TaskName string `json:"TaskName" xml:"TaskName"`
  33. Progress int `json:"Progress" xml:"Progress"`
  34. ProgressDescription string `json:"ProgressDescription" xml:"ProgressDescription"`
  35. TaskDetail string `json:"TaskDetail" xml:"TaskDetail"`
  36. }