@@ -123,11 +123,11 @@ func (r EnvironmentAutomationUpsertParamsAutomationsFile) MarshalJSON() (data []
123
123
}
124
124
125
125
type EnvironmentAutomationUpsertParamsAutomationsFileServices struct {
126
- Commands param.Field [EnvironmentAutomationUpsertParamsAutomationsFileServicesCommands ] `json:"commands"`
127
- Description param.Field [string ] `json:"description"`
128
- Name param.Field [string ] `json:"name"`
129
- RunsOn param.Field [EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOn ] `json:"runsOn"`
130
- TriggeredBy param.Field [[]string ] `json:"triggeredBy"`
126
+ Commands param.Field [EnvironmentAutomationUpsertParamsAutomationsFileServicesCommands ] `json:"commands"`
127
+ Description param.Field [string ] `json:"description"`
128
+ Name param.Field [string ] `json:"name"`
129
+ RunsOn param.Field [EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnUnion ] `json:"runsOn"`
130
+ TriggeredBy param.Field [[]string ] `json:"triggeredBy"`
131
131
}
132
132
133
133
func (r EnvironmentAutomationUpsertParamsAutomationsFileServices ) MarshalJSON () (data []byte , err error ) {
@@ -165,48 +165,92 @@ func (r EnvironmentAutomationUpsertParamsAutomationsFileServicesCommands) Marsha
165
165
}
166
166
167
167
type EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOn struct {
168
- Docker param.Field [EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDocker ] `json:"docker,required "`
168
+ Docker param.Field [interface {} ] `json:"docker"`
169
169
}
170
170
171
171
func (r EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOn ) MarshalJSON () (data []byte , err error ) {
172
172
return apijson .MarshalRoot (r )
173
173
}
174
174
175
+ func (r EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOn ) implementsEnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnUnion () {
176
+ }
177
+
178
+ // Satisfied by
179
+ // [EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDocker],
180
+ // [EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDocker],
181
+ // [EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOn].
182
+ type EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnUnion interface {
183
+ implementsEnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnUnion ()
184
+ }
185
+
175
186
type EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDocker struct {
187
+ Docker param.Field [EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDockerDocker ] `json:"docker,required"`
188
+ }
189
+
190
+ func (r EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDocker ) MarshalJSON () (data []byte , err error ) {
191
+ return apijson .MarshalRoot (r )
192
+ }
193
+
194
+ func (r EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDocker ) implementsEnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnUnion () {
195
+ }
196
+
197
+ type EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDockerDocker struct {
176
198
Environment param.Field [[]string ] `json:"environment"`
177
199
Image param.Field [string ] `json:"image"`
178
200
}
179
201
180
- func (r EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDocker ) MarshalJSON () (data []byte , err error ) {
202
+ func (r EnvironmentAutomationUpsertParamsAutomationsFileServicesRunsOnDockerDocker ) MarshalJSON () (data []byte , err error ) {
181
203
return apijson .MarshalRoot (r )
182
204
}
183
205
184
206
type EnvironmentAutomationUpsertParamsAutomationsFileTasks struct {
185
- Command param.Field [string ] `json:"command"`
186
- DependsOn param.Field [[]string ] `json:"dependsOn"`
187
- Description param.Field [string ] `json:"description"`
188
- Name param.Field [string ] `json:"name"`
189
- RunsOn param.Field [EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOn ] `json:"runsOn"`
190
- TriggeredBy param.Field [[]string ] `json:"triggeredBy"`
207
+ Command param.Field [string ] `json:"command"`
208
+ DependsOn param.Field [[]string ] `json:"dependsOn"`
209
+ Description param.Field [string ] `json:"description"`
210
+ Name param.Field [string ] `json:"name"`
211
+ RunsOn param.Field [EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnUnion ] `json:"runsOn"`
212
+ TriggeredBy param.Field [[]string ] `json:"triggeredBy"`
191
213
}
192
214
193
215
func (r EnvironmentAutomationUpsertParamsAutomationsFileTasks ) MarshalJSON () (data []byte , err error ) {
194
216
return apijson .MarshalRoot (r )
195
217
}
196
218
197
219
type EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOn struct {
198
- Docker param.Field [EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDocker ] `json:"docker,required "`
220
+ Docker param.Field [interface {} ] `json:"docker"`
199
221
}
200
222
201
223
func (r EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOn ) MarshalJSON () (data []byte , err error ) {
202
224
return apijson .MarshalRoot (r )
203
225
}
204
226
227
+ func (r EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOn ) implementsEnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnUnion () {
228
+ }
229
+
230
+ // Satisfied by
231
+ // [EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDocker],
232
+ // [EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDocker],
233
+ // [EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOn].
234
+ type EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnUnion interface {
235
+ implementsEnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnUnion ()
236
+ }
237
+
205
238
type EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDocker struct {
239
+ Docker param.Field [EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDockerDocker ] `json:"docker,required"`
240
+ }
241
+
242
+ func (r EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDocker ) MarshalJSON () (data []byte , err error ) {
243
+ return apijson .MarshalRoot (r )
244
+ }
245
+
246
+ func (r EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDocker ) implementsEnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnUnion () {
247
+ }
248
+
249
+ type EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDockerDocker struct {
206
250
Environment param.Field [[]string ] `json:"environment"`
207
251
Image param.Field [string ] `json:"image"`
208
252
}
209
253
210
- func (r EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDocker ) MarshalJSON () (data []byte , err error ) {
254
+ func (r EnvironmentAutomationUpsertParamsAutomationsFileTasksRunsOnDockerDocker ) MarshalJSON () (data []byte , err error ) {
211
255
return apijson .MarshalRoot (r )
212
256
}
0 commit comments