@@ -115,10 +115,11 @@ func (r AutomationsFileUpsertParamsAutomationsFile) MarshalJSON() (data []byte,
115
115
}
116
116
117
117
type AutomationsFileUpsertParamsAutomationsFileServices struct {
118
- Commands param.Field [AutomationsFileUpsertParamsAutomationsFileServicesCommands ] `json:"commands"`
119
- Description param.Field [string ] `json:"description"`
120
- Name param.Field [string ] `json:"name"`
121
- TriggeredBy param.Field [[]string ] `json:"triggeredBy"`
118
+ Commands param.Field [AutomationsFileUpsertParamsAutomationsFileServicesCommands ] `json:"commands"`
119
+ Description param.Field [string ] `json:"description"`
120
+ Name param.Field [string ] `json:"name"`
121
+ RunsOn param.Field [AutomationsFileUpsertParamsAutomationsFileServicesRunsOnUnion ] `json:"runsOn"`
122
+ TriggeredBy param.Field [[]string ] `json:"triggeredBy"`
122
123
}
123
124
124
125
func (r AutomationsFileUpsertParamsAutomationsFileServices ) MarshalJSON () (data []byte , err error ) {
@@ -151,14 +152,27 @@ func (r AutomationsFileUpsertParamsAutomationsFileServicesCommands) MarshalJSON(
151
152
return apijson .MarshalRoot (r )
152
153
}
153
154
155
+ // Satisfied by [AutomationsFileUpsertParamsAutomationsFileServicesRunsOnUnknown],
156
+ // [AutomationsFileUpsertParamsAutomationsFileServicesRunsOnUnknown].
157
+ type AutomationsFileUpsertParamsAutomationsFileServicesRunsOnUnion interface {
158
+ implementsAutomationsFileUpsertParamsAutomationsFileServicesRunsOnUnion ()
159
+ }
160
+
154
161
type AutomationsFileUpsertParamsAutomationsFileTasks struct {
155
- Command param.Field [string ] `json:"command"`
156
- DependsOn param.Field [[]string ] `json:"dependsOn"`
157
- Description param.Field [string ] `json:"description"`
158
- Name param.Field [string ] `json:"name"`
159
- TriggeredBy param.Field [[]string ] `json:"triggeredBy"`
162
+ Command param.Field [string ] `json:"command"`
163
+ DependsOn param.Field [[]string ] `json:"dependsOn"`
164
+ Description param.Field [string ] `json:"description"`
165
+ Name param.Field [string ] `json:"name"`
166
+ RunsOn param.Field [AutomationsFileUpsertParamsAutomationsFileTasksRunsOnUnion ] `json:"runsOn"`
167
+ TriggeredBy param.Field [[]string ] `json:"triggeredBy"`
160
168
}
161
169
162
170
func (r AutomationsFileUpsertParamsAutomationsFileTasks ) MarshalJSON () (data []byte , err error ) {
163
171
return apijson .MarshalRoot (r )
164
172
}
173
+
174
+ // Satisfied by [AutomationsFileUpsertParamsAutomationsFileTasksRunsOnUnknown],
175
+ // [AutomationsFileUpsertParamsAutomationsFileTasksRunsOnUnknown].
176
+ type AutomationsFileUpsertParamsAutomationsFileTasksRunsOnUnion interface {
177
+ implementsAutomationsFileUpsertParamsAutomationsFileTasksRunsOnUnion ()
178
+ }
0 commit comments