Skip to content

Commit

Permalink
Merge pull request #2 from roondar/extra_data
Browse files Browse the repository at this point in the history
fix: import schedule type with extra_data
  • Loading branch information
roondar authored Apr 14, 2023
2 parents 51bba77 + c82a275 commit f4a97b4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions client/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -860,13 +860,14 @@ type WorkflowJobTemplateNode struct {
}

type Schedule struct {
ID int `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Rrule string `json:"rrule"`
Enabled bool `json:"enabled"`
UnifiedJobTemplate int `json:"unified_job_template"`
Inventory int `json:"inventory"`
ID int `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Rrule string `json:"rrule"`
Enabled bool `json:"enabled"`
UnifiedJobTemplate int `json:"unified_job_template"`
Inventory int `json:"inventory"`
ExtraData map[string]interface{} `json:"extra_data"`
}

type NotificationTemplate struct {
Expand All @@ -893,4 +894,4 @@ type ExecutionEnvironment struct {
Managed bool `json:"managed"`
Credential int `json:"credential"`
Pull string `json:"pull"`
}
}

0 comments on commit f4a97b4

Please sign in to comment.