zz_generated.model.go 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // Licensed under the Apache License, Version 2.0 (the "License");
  2. // you may not use this file except in compliance with the License.
  3. // You may obtain a copy of the License at
  4. //
  5. // http://www.apache.org/licenses/LICENSE-2.0
  6. //
  7. // Unless required by applicable law or agreed to in writing, software
  8. // distributed under the License is distributed on an "AS IS" BASIS,
  9. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. // See the License for the specific language governing permissions and
  11. // limitations under the License.
  12. // Code generated by model-api-gen. DO NOT EDIT.
  13. package ansibleserver
  14. import (
  15. time "time"
  16. "yunion.io/x/onecloud/pkg/apis"
  17. ansible "yunion.io/x/onecloud/pkg/util/ansible"
  18. )
  19. // SAnsiblePlaybook is an autogenerated struct via yunion.io/x/onecloud/pkg/ansibleserver/models.SAnsiblePlaybook.
  20. type SAnsiblePlaybook struct {
  21. apis.SVirtualResourceBase
  22. Playbook *ansible.Playbook `json:"playbook"`
  23. Output string `json:"output"`
  24. StartTime time.Time `json:"start_time"`
  25. EndTime time.Time `json:"end_time"`
  26. }
  27. // SAnsiblePlaybookInstance is an autogenerated struct via yunion.io/x/onecloud/pkg/ansibleserver/models.SAnsiblePlaybookInstance.
  28. type SAnsiblePlaybookInstance struct {
  29. apis.SStatusStandaloneResourceBase
  30. ReferenceId string `json:"reference_id"`
  31. Inventory string `json:"inventory"`
  32. Output string `json:"output"`
  33. StartTime time.Time `json:"start_time"`
  34. EndTime time.Time `json:"end_time"`
  35. }
  36. // SAnsiblePlaybookReference is an autogenerated struct via yunion.io/x/onecloud/pkg/ansibleserver/models.SAnsiblePlaybookReference.
  37. type SAnsiblePlaybookReference struct {
  38. apis.SSharableVirtualResourceBase
  39. PlaybookPath string `json:"playbook_path"`
  40. Method string `json:"method"`
  41. }
  42. // SAnsiblePlaybookV2 is an autogenerated struct via yunion.io/x/onecloud/pkg/ansibleserver/models.SAnsiblePlaybookV2.
  43. type SAnsiblePlaybookV2 struct {
  44. apis.SVirtualResourceBase
  45. Playbook string `json:"playbook"`
  46. Inventory string `json:"inventory"`
  47. Requirements string `json:"requirements"`
  48. Files string `json:"files"`
  49. Output string `json:"output"`
  50. StartTime time.Time `json:"start_time"`
  51. EndTime time.Time `json:"end_time"`
  52. CreatorMark string `json:"creator_mark"`
  53. }