// TODO: Get appropriate copyright header package awx // WorkflowJobTemplate defines a workflow job template from AWX type WorkflowJobTemplate struct { ID int `json:"id"` Name string `json:"name"` Description string `json:"description"` } // WorkflowJobTemplateGetResponse defines the response from a workflow job template get request type WorkflowJobTemplateGetResponse struct { WorkflowJobTemplate } // WorkflowJobTemplateData defines a workflow job template data from AWX type WorkflowJobTemplateData struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } // WorkflowJobTemplateLaunchGetResponse defines the workflow job template launch get response from AWX type WorkflowJobTemplateLaunchGetResponse struct { variablesNeededToStart []string `json:"variables_needed_to_start"` WorkflowJobTemplateData `json:"workflow_job_template_data"` } // WorkflowJobTemplateLaunchPostResponse defines the response from AWX for the workflow job template post request type WorkflowJobTemplateLaunchPostResponse struct { ID int `json:"id"` }