diff --git a/client/types.go b/client/types.go index 6659c83..018ee52 100644 --- a/client/types.go +++ b/client/types.go @@ -360,51 +360,53 @@ type Ping struct { // JobTemplate represents the awx api job template. type JobTemplate struct { - ID int `json:"id"` - Type string `json:"type"` - URL string `json:"url"` - Related *Related `json:"related"` - SummaryFields *Summary `json:"summary_fields"` - Created time.Time `json:"created"` - Modified time.Time `json:"modified"` - Name string `json:"name"` - Description string `json:"description"` - JobType string `json:"job_type"` - Inventory int `json:"inventory"` - Project int `json:"project"` - Playbook string `json:"playbook"` - Forks int `json:"forks"` - Limit string `json:"limit"` - Verbosity int `json:"verbosity"` - ExtraVars string `json:"extra_vars"` - JobTags string `json:"job_tags"` - ForceHandlers bool `json:"force_handlers"` - SkipTags string `json:"skip_tags"` - StartAtTask string `json:"start_at_task"` - Timeout int `json:"timeout"` - UseFactCache bool `json:"use_fact_cache"` - LastJobRun interface{} `json:"last_job_run"` - LastJobFailed bool `json:"last_job_failed"` - NextJobRun interface{} `json:"next_job_run"` - Status string `json:"status"` - HostConfigKey string `json:"host_config_key"` - AskDiffModeOnLaunch bool `json:"ask_diff_mode_on_launch"` - AskVariablesOnLaunch bool `json:"ask_variables_on_launch"` - AskLimitOnLaunch bool `json:"ask_limit_on_launch"` - AskTagsOnLaunch bool `json:"ask_tags_on_launch"` - AskSkipTagsOnLaunch bool `json:"ask_skip_tags_on_launch"` - AskJobTypeOnLaunch bool `json:"ask_job_type_on_launch"` - AskVerbosityOnLaunch bool `json:"ask_verbosity_on_launch"` - AskInventoryOnLaunch bool `json:"ask_inventory_on_launch"` - AskCredentialOnLaunch bool `json:"ask_credential_on_launch"` - SurveyEnabled bool `json:"survey_enabled"` - BecomeEnabled bool `json:"become_enabled"` - DiffMode bool `json:"diff_mode"` - AllowSimultaneous bool `json:"allow_simultaneous"` - CustomVirtualenv interface{} `json:"custom_virtualenv"` - Credential int `json:"credential"` - VaultCredential interface{} `json:"vault_credential"` - ExecutionEnvironment int `json:"execution_environment"` + ID int `json:"id"` + Type string `json:"type"` + URL string `json:"url"` + Related *Related `json:"related"` + SummaryFields *Summary `json:"summary_fields"` + Created time.Time `json:"created"` + Modified time.Time `json:"modified"` + Name string `json:"name"` + Description string `json:"description"` + JobType string `json:"job_type"` + Inventory int `json:"inventory"` + Project int `json:"project"` + Playbook string `json:"playbook"` + Forks int `json:"forks"` + JobSliceCount int `json:"job_slice_count"` + Limit string `json:"limit"` + Verbosity int `json:"verbosity"` + ExtraVars string `json:"extra_vars"` + JobTags string `json:"job_tags"` + ForceHandlers bool `json:"force_handlers"` + SkipTags string `json:"skip_tags"` + StartAtTask string `json:"start_at_task"` + Timeout int `json:"timeout"` + UseFactCache bool `json:"use_fact_cache"` + LastJobRun interface{} `json:"last_job_run"` + LastJobFailed bool `json:"last_job_failed"` + NextJobRun interface{} `json:"next_job_run"` + Status string `json:"status"` + HostConfigKey string `json:"host_config_key"` + AskDiffModeOnLaunch bool `json:"ask_diff_mode_on_launch"` + AskVariablesOnLaunch bool `json:"ask_variables_on_launch"` + AskJobSliceCountOnLaunch bool `json:"ask_job_slice_count_on_launch"` + AskLimitOnLaunch bool `json:"ask_limit_on_launch"` + AskTagsOnLaunch bool `json:"ask_tags_on_launch"` + AskSkipTagsOnLaunch bool `json:"ask_skip_tags_on_launch"` + AskJobTypeOnLaunch bool `json:"ask_job_type_on_launch"` + AskVerbosityOnLaunch bool `json:"ask_verbosity_on_launch"` + AskInventoryOnLaunch bool `json:"ask_inventory_on_launch"` + AskCredentialOnLaunch bool `json:"ask_credential_on_launch"` + SurveyEnabled bool `json:"survey_enabled"` + BecomeEnabled bool `json:"become_enabled"` + DiffMode bool `json:"diff_mode"` + AllowSimultaneous bool `json:"allow_simultaneous"` + CustomVirtualenv interface{} `json:"custom_virtualenv"` + Credential int `json:"credential"` + VaultCredential interface{} `json:"vault_credential"` + ExecutionEnvironment int `json:"execution_environment"` } // JobLaunch represents the awx api job launch.