@@ -289,7 +289,7 @@ type Credential struct {
289289 OrganizationID int `json:"organization"`
290290 CredentialTypeID int `json:"credential_type"`
291291 Inputs map [string ]interface {} `json:"inputs"`
292- SummaryFields map [ string ] interface {} `json:"summary_fields"`
292+ SummaryFields * Summary `json:"summary_fields"`
293293}
294294
295295type CredentialType struct {
@@ -361,52 +361,60 @@ type Ping struct {
361361
362362// JobTemplate represents the awx api job template.
363363type JobTemplate struct {
364- ID int `json:"id"`
365- Type string `json:"type"`
366- URL string `json:"url"`
367- Related * Related `json:"related"`
368- SummaryFields * Summary `json:"summary_fields"`
369- Created time.Time `json:"created"`
370- Modified time.Time `json:"modified"`
371- Name string `json:"name"`
372- Description string `json:"description"`
373- JobType string `json:"job_type"`
374- Inventory int `json:"inventory"`
375- Project int `json:"project"`
376- Playbook string `json:"playbook"`
377- Forks int `json:"forks"`
378- JobSliceCount int `json:"job_slice_count"`
379- Limit string `json:"limit"`
380- Verbosity int `json:"verbosity"`
381- ExtraVars string `json:"extra_vars"`
382- JobTags string `json:"job_tags"`
383- ForceHandlers bool `json:"force_handlers"`
384- SkipTags string `json:"skip_tags"`
385- StartAtTask string `json:"start_at_task"`
386- Timeout int `json:"timeout"`
387- UseFactCache bool `json:"use_fact_cache"`
388- LastJobRun interface {} `json:"last_job_run"`
389- LastJobFailed bool `json:"last_job_failed"`
390- NextJobRun interface {} `json:"next_job_run"`
391- Status string `json:"status"`
392- HostConfigKey string `json:"host_config_key"`
393- AskDiffModeOnLaunch bool `json:"ask_diff_mode_on_launch"`
394- AskVariablesOnLaunch bool `json:"ask_variables_on_launch"`
395- AskLimitOnLaunch bool `json:"ask_limit_on_launch"`
396- AskTagsOnLaunch bool `json:"ask_tags_on_launch"`
397- AskSkipTagsOnLaunch bool `json:"ask_skip_tags_on_launch"`
398- AskJobTypeOnLaunch bool `json:"ask_job_type_on_launch"`
399- AskVerbosityOnLaunch bool `json:"ask_verbosity_on_launch"`
400- AskInventoryOnLaunch bool `json:"ask_inventory_on_launch"`
401- AskCredentialOnLaunch bool `json:"ask_credential_on_launch"`
402- SurveyEnabled bool `json:"survey_enabled"`
403- BecomeEnabled bool `json:"become_enabled"`
404- DiffMode bool `json:"diff_mode"`
405- AllowSimultaneous bool `json:"allow_simultaneous"`
406- CustomVirtualenv interface {} `json:"custom_virtualenv"`
407- Credential int `json:"credential"`
408- VaultCredential interface {} `json:"vault_credential"`
409- ExecutionEnvironment int `json:"execution_environment"`
364+ ID int `json:"id"`
365+ Type string `json:"type"`
366+ URL string `json:"url"`
367+ Related * Related `json:"related"`
368+ SummaryFields * Summary `json:"summary_fields"`
369+ Created time.Time `json:"created"`
370+ Modified time.Time `json:"modified"`
371+ Name string `json:"name"`
372+ Description string `json:"description"`
373+ JobType string `json:"job_type"`
374+ Inventory int `json:"inventory"`
375+ Project int `json:"project"`
376+ Playbook string `json:"playbook"`
377+ ScmBranch string `json:"scm_branch"`
378+ Forks int `json:"forks"`
379+ Limit string `json:"limit"`
380+ Verbosity int `json:"verbosity"`
381+ ExtraVars string `json:"extra_vars"`
382+ JobTags string `json:"job_tags"`
383+ ForceHandlers bool `json:"force_handlers"`
384+ SkipTags string `json:"skip_tags"`
385+ StartAtTask string `json:"start_at_task"`
386+ Timeout int `json:"timeout"`
387+ UseFactCache bool `json:"use_fact_cache"`
388+ LastJobRun interface {} `json:"last_job_run"`
389+ LastJobFailed bool `json:"last_job_failed"`
390+ NextJobRun interface {} `json:"next_job_run"`
391+ Status string `json:"status"`
392+ ExecutionEnvironment string `json:"execution_environment"`
393+ HostConfigKey string `json:"host_config_key"`
394+ AskScmBranchOnLaunch bool `json:"ask_scm_branch_on_launch"`
395+ AskDiffModeOnLaunch bool `json:"ask_diff_mode_on_launch"`
396+ AskVariablesOnLaunch bool `json:"ask_variables_on_launch"`
397+ AskLimitOnLaunch bool `json:"ask_limit_on_launch"`
398+ AskTagsOnLaunch bool `json:"ask_tags_on_launch"`
399+ AskSkipTagsOnLaunch bool `json:"ask_skip_tags_on_launch"`
400+ AskJobTypeOnLaunch bool `json:"ask_job_type_on_launch"`
401+ AskVerbosityOnLaunch bool `json:"ask_verbosity_on_launch"`
402+ AskInventoryOnLaunch bool `json:"ask_inventory_on_launch"`
403+ AskCredentialOnLaunch bool `json:"ask_credential_on_launch"`
404+ AskExecutionEnvironmentOnLaunch bool `json:"ask_execution_environment_on_launch"`
405+ AskLabelsOnLaunch bool `json:"ask_labels_on_launch"`
406+ AskForksOnLaunch bool `json:"ask_forks_on_launch"`
407+ AskJobSliceCountOnLaunch bool `json:"ask_job_slice_count_on_launch"`
408+ AskTimeoutOnLaunch bool `json:"ask_timeout_on_launch"`
409+ AskInstanceGroupsOnLaunch bool `json:"ask_instance_groups_on_launch"`
410+ SurveyEnabled bool `json:"survey_enabled"`
411+ BecomeEnabled bool `json:"become_enabled"`
412+ DiffMode bool `json:"diff_mode"`
413+ AllowSimultaneous bool `json:"allow_simultaneous"`
414+ CustomVirtualenv interface {} `json:"custom_virtualenv"`
415+ JobSliceCount int `json:"job_slice_count"`
416+ Credential int `json:"credential"`
417+ VaultCredential interface {} `json:"vault_credential"`
410418}
411419
412420// JobLaunch represents the awx api job launch.
0 commit comments