File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -662,6 +662,8 @@ type Cron struct {
662662 //
663663 // Default value: unknown
664664 Status CronStatus `json:"status"`
665+
666+ Name string `json:"name"`
665667}
666668
667669// Domain: domain
@@ -1546,6 +1548,8 @@ type CreateCronRequest struct {
15461548 Schedule string `json:"schedule"`
15471549
15481550 Args * scw.JSONObject `json:"args"`
1551+
1552+ Name * string `json:"name"`
15491553}
15501554
15511555// CreateCron: create a new cron
@@ -1594,6 +1598,8 @@ type UpdateCronRequest struct {
15941598 Schedule * string `json:"schedule"`
15951599
15961600 Args * scw.JSONObject `json:"args"`
1601+
1602+ Name * string `json:"name"`
15971603}
15981604
15991605// UpdateCron: update an existing cron
Original file line number Diff line number Diff line change @@ -897,6 +897,8 @@ type Cron struct {
897897 //
898898 // Default value: unknown
899899 Status CronStatus `json:"status"`
900+
901+ Name string `json:"name"`
900902}
901903
902904// Domain: domain
@@ -2113,6 +2115,8 @@ type CreateCronRequest struct {
21132115 Schedule string `json:"schedule"`
21142116
21152117 Args * scw.JSONObject `json:"args"`
2118+
2119+ Name * string `json:"name"`
21162120}
21172121
21182122// CreateCron: create a new cron
@@ -2161,6 +2165,8 @@ type UpdateCronRequest struct {
21612165 Schedule * string `json:"schedule"`
21622166
21632167 Args * scw.JSONObject `json:"args"`
2168+
2169+ Name * string `json:"name"`
21642170}
21652171
21662172// UpdateCron: update an existing cron
You can’t perform that action at this time.
0 commit comments