cloudreactor_api_client 0.1.2 → 0.3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +20 -13
- data/cloudreactor_api_client.md +11 -14
- data/lib/cloudreactor_api_client/api/alert_methods_api.rb +5 -5
- data/lib/cloudreactor_api_client/api/email_notification_profiles_api.rb +5 -5
- data/lib/cloudreactor_api_client/api/pagerduty_profiles_api.rb +5 -5
- data/lib/cloudreactor_api_client/api/run_environments_api.rb +5 -5
- data/lib/cloudreactor_api_client/api/task_executions_api.rb +4 -4
- data/lib/cloudreactor_api_client/api/tasks_api.rb +4 -4
- data/lib/cloudreactor_api_client/api/workflow_executions_api.rb +6 -6
- data/lib/cloudreactor_api_client/api/workflow_task_instances_api.rb +4 -4
- data/lib/cloudreactor_api_client/api/workflow_transitions_api.rb +4 -4
- data/lib/cloudreactor_api_client/api/workflows_api.rb +5 -5
- data/lib/cloudreactor_api_client/api_client.rb +1 -1
- data/lib/cloudreactor_api_client/api_error.rb +1 -1
- data/lib/cloudreactor_api_client/configuration.rb +3 -3
- data/lib/cloudreactor_api_client/models/alert_method.rb +1 -36
- data/lib/cloudreactor_api_client/models/aws_ecs_execution_method.rb +1 -26
- data/lib/cloudreactor_api_client/models/aws_ecs_execution_method_capability.rb +1 -41
- data/lib/cloudreactor_api_client/models/aws_ecs_launch_type.rb +1 -1
- data/lib/cloudreactor_api_client/models/aws_ecs_run_environment_execution_method_capability.rb +1 -36
- data/lib/cloudreactor_api_client/models/aws_ecs_service_load_balancer_details.rb +1 -1
- data/lib/cloudreactor_api_client/models/aws_ecs_service_options.rb +1 -6
- data/lib/cloudreactor_api_client/models/current_service_info.rb +2 -11
- data/lib/cloudreactor_api_client/models/email_notification_profile.rb +1 -31
- data/lib/cloudreactor_api_client/models/execution_method_capability.rb +1 -1
- data/lib/cloudreactor_api_client/models/failure_behavior_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/group.rb +1 -11
- data/lib/cloudreactor_api_client/models/link.rb +1 -6
- data/lib/cloudreactor_api_client/models/name_and_uuid.rb +1 -1
- data/lib/cloudreactor_api_client/models/notification_severity.rb +1 -1
- data/lib/cloudreactor_api_client/models/pager_duty_profile.rb +1 -31
- data/lib/cloudreactor_api_client/models/paginated_alert_method_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_email_notification_profile_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_pager_duty_profile_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_run_environment_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_task_execution_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_task_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_workflow_execution_summary_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_workflow_summary_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_workflow_task_instance_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_workflow_transition_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_alert_method.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_email_notification_profile.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_pager_duty_profile.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_run_environment.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_task.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_task_execution.rb +4 -1
- data/lib/cloudreactor_api_client/models/patched_workflow.rb +2 -1
- data/lib/cloudreactor_api_client/models/patched_workflow_execution.rb +7 -52
- data/lib/cloudreactor_api_client/models/patched_workflow_task_instance.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_workflow_transition.rb +1 -1
- data/lib/cloudreactor_api_client/models/propagate_tags_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/rule_type_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/run_environment.rb +1 -36
- data/lib/cloudreactor_api_client/models/start_transition_condition_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/stop_reason_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/task.rb +1 -36
- data/lib/cloudreactor_api_client/models/task_execution.rb +4 -46
- data/lib/cloudreactor_api_client/models/task_execution_status.rb +1 -1
- data/lib/cloudreactor_api_client/models/threshold_property_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/timeout_behavior_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/unknown_execution_method_capability.rb +1 -11
- data/lib/cloudreactor_api_client/models/workflow.rb +2 -41
- data/lib/cloudreactor_api_client/models/workflow_execution.rb +7 -112
- data/lib/cloudreactor_api_client/models/workflow_execution_run_reason.rb +38 -0
- data/lib/cloudreactor_api_client/models/workflow_execution_status.rb +1 -1
- data/lib/cloudreactor_api_client/models/workflow_execution_stop_reason.rb +37 -0
- data/lib/cloudreactor_api_client/models/workflow_execution_summary.rb +4 -83
- data/lib/cloudreactor_api_client/models/workflow_summary.rb +2 -31
- data/lib/cloudreactor_api_client/models/workflow_task_instance.rb +1 -21
- data/lib/cloudreactor_api_client/models/workflow_task_instance_execution.rb +1 -16
- data/lib/cloudreactor_api_client/models/workflow_task_instance_execution_base.rb +1 -16
- data/lib/cloudreactor_api_client/models/workflow_transition.rb +1 -21
- data/lib/cloudreactor_api_client/models/workflow_transition_evaluation.rb +1 -16
- data/lib/cloudreactor_api_client/version.rb +2 -2
- data/lib/cloudreactor_api_client.rb +3 -16
- data/lib/cloudreactor_wrapper_io/status_updater.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/integration/task_execution_integration_spec.rb +2 -2
- data/spec/models/workflow_execution_run_reason_spec.rb +28 -0
- data/spec/models/workflow_execution_stop_reason_spec.rb +28 -0
- data/spec/spec_helper.rb +1 -1
- metadata +8 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -208,14 +208,6 @@ module CloudReactorAPIClient
|
|
208
208
|
# @return Array for valid properties with the reasons
|
209
209
|
def list_invalid_properties
|
210
210
|
invalid_properties = Array.new
|
211
|
-
if @url.nil?
|
212
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
213
|
-
end
|
214
|
-
|
215
|
-
if @uuid.nil?
|
216
|
-
invalid_properties.push('invalid value for "uuid", uuid cannot be nil.')
|
217
|
-
end
|
218
|
-
|
219
211
|
if @name.nil?
|
220
212
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
221
213
|
end
|
@@ -228,42 +220,15 @@ module CloudReactorAPIClient
|
|
228
220
|
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 5000.')
|
229
221
|
end
|
230
222
|
|
231
|
-
if @dashboard_url.nil?
|
232
|
-
invalid_properties.push('invalid value for "dashboard_url", dashboard_url cannot be nil.')
|
233
|
-
end
|
234
|
-
|
235
|
-
if @method_details.nil?
|
236
|
-
invalid_properties.push('invalid value for "method_details", method_details cannot be nil.')
|
237
|
-
end
|
238
|
-
|
239
|
-
if @created_by_user.nil?
|
240
|
-
invalid_properties.push('invalid value for "created_by_user", created_by_user cannot be nil.')
|
241
|
-
end
|
242
|
-
|
243
|
-
if @created_at.nil?
|
244
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
245
|
-
end
|
246
|
-
|
247
|
-
if @updated_at.nil?
|
248
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
249
|
-
end
|
250
|
-
|
251
223
|
invalid_properties
|
252
224
|
end
|
253
225
|
|
254
226
|
# Check to see if the all the properties in the model are valid
|
255
227
|
# @return true if the model is valid
|
256
228
|
def valid?
|
257
|
-
return false if @url.nil?
|
258
|
-
return false if @uuid.nil?
|
259
229
|
return false if @name.nil?
|
260
230
|
return false if @name.to_s.length > 200
|
261
231
|
return false if !@description.nil? && @description.to_s.length > 5000
|
262
|
-
return false if @dashboard_url.nil?
|
263
|
-
return false if @method_details.nil?
|
264
|
-
return false if @created_by_user.nil?
|
265
|
-
return false if @created_at.nil?
|
266
|
-
return false if @updated_at.nil?
|
267
232
|
true
|
268
233
|
end
|
269
234
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -233,18 +233,10 @@ module CloudReactorAPIClient
|
|
233
233
|
# @return Array for valid properties with the reasons
|
234
234
|
def list_invalid_properties
|
235
235
|
invalid_properties = Array.new
|
236
|
-
if @type.nil?
|
237
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
238
|
-
end
|
239
|
-
|
240
236
|
if !@task_definition_arn.nil? && @task_definition_arn.to_s.length > 1000
|
241
237
|
invalid_properties.push('invalid value for "task_definition_arn", the character length must be smaller than or equal to 1000.')
|
242
238
|
end
|
243
239
|
|
244
|
-
if @task_definition_infrastructure_website_url.nil?
|
245
|
-
invalid_properties.push('invalid value for "task_definition_infrastructure_website_url", task_definition_infrastructure_website_url cannot be nil.')
|
246
|
-
end
|
247
|
-
|
248
240
|
if !@task_arn.nil? && @task_arn.to_s.length > 1000
|
249
241
|
invalid_properties.push('invalid value for "task_arn", the character length must be smaller than or equal to 1000.')
|
250
242
|
end
|
@@ -253,26 +245,14 @@ module CloudReactorAPIClient
|
|
253
245
|
invalid_properties.push('invalid value for "cluster_arn", the character length must be smaller than or equal to 1000.')
|
254
246
|
end
|
255
247
|
|
256
|
-
if @cluster_infrastructure_website_url.nil?
|
257
|
-
invalid_properties.push('invalid value for "cluster_infrastructure_website_url", cluster_infrastructure_website_url cannot be nil.')
|
258
|
-
end
|
259
|
-
|
260
248
|
if !@execution_role.nil? && @execution_role.to_s.length > 1000
|
261
249
|
invalid_properties.push('invalid value for "execution_role", the character length must be smaller than or equal to 1000.')
|
262
250
|
end
|
263
251
|
|
264
|
-
if @execution_role_infrastructure_website_url.nil?
|
265
|
-
invalid_properties.push('invalid value for "execution_role_infrastructure_website_url", execution_role_infrastructure_website_url cannot be nil.')
|
266
|
-
end
|
267
|
-
|
268
252
|
if !@task_role.nil? && @task_role.to_s.length > 1000
|
269
253
|
invalid_properties.push('invalid value for "task_role", the character length must be smaller than or equal to 1000.')
|
270
254
|
end
|
271
255
|
|
272
|
-
if @task_role_infrastructure_website_url.nil?
|
273
|
-
invalid_properties.push('invalid value for "task_role_infrastructure_website_url", task_role_infrastructure_website_url cannot be nil.')
|
274
|
-
end
|
275
|
-
|
276
256
|
if !@platform_version.nil? && @platform_version.to_s.length > 10
|
277
257
|
invalid_properties.push('invalid value for "platform_version", the character length must be smaller than or equal to 10.')
|
278
258
|
end
|
@@ -283,16 +263,11 @@ module CloudReactorAPIClient
|
|
283
263
|
# Check to see if the all the properties in the model are valid
|
284
264
|
# @return true if the model is valid
|
285
265
|
def valid?
|
286
|
-
return false if @type.nil?
|
287
266
|
return false if !@task_definition_arn.nil? && @task_definition_arn.to_s.length > 1000
|
288
|
-
return false if @task_definition_infrastructure_website_url.nil?
|
289
267
|
return false if !@task_arn.nil? && @task_arn.to_s.length > 1000
|
290
268
|
return false if !@cluster_arn.nil? && @cluster_arn.to_s.length > 1000
|
291
|
-
return false if @cluster_infrastructure_website_url.nil?
|
292
269
|
return false if !@execution_role.nil? && @execution_role.to_s.length > 1000
|
293
|
-
return false if @execution_role_infrastructure_website_url.nil?
|
294
270
|
return false if !@task_role.nil? && @task_role.to_s.length > 1000
|
295
|
-
return false if @task_role_infrastructure_website_url.nil?
|
296
271
|
return false if !@platform_version.nil? && @platform_version.to_s.length > 10
|
297
272
|
true
|
298
273
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -267,50 +267,18 @@ module CloudReactorAPIClient
|
|
267
267
|
invalid_properties.push('invalid value for "task_definition_arn", the character length must be smaller than or equal to 1000.')
|
268
268
|
end
|
269
269
|
|
270
|
-
if @task_definition_infrastructure_website_url.nil?
|
271
|
-
invalid_properties.push('invalid value for "task_definition_infrastructure_website_url", task_definition_infrastructure_website_url cannot be nil.')
|
272
|
-
end
|
273
|
-
|
274
|
-
if @type.nil?
|
275
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
276
|
-
end
|
277
|
-
|
278
|
-
if @capabilities.nil?
|
279
|
-
invalid_properties.push('invalid value for "capabilities", capabilities cannot be nil.')
|
280
|
-
end
|
281
|
-
|
282
|
-
if @default_subnet_infrastructure_website_urls.nil?
|
283
|
-
invalid_properties.push('invalid value for "default_subnet_infrastructure_website_urls", default_subnet_infrastructure_website_urls cannot be nil.')
|
284
|
-
end
|
285
|
-
|
286
270
|
if !@default_cluster_arn.nil? && @default_cluster_arn.to_s.length > 1000
|
287
271
|
invalid_properties.push('invalid value for "default_cluster_arn", the character length must be smaller than or equal to 1000.')
|
288
272
|
end
|
289
273
|
|
290
|
-
if @default_cluster_infrastructure_website_url.nil?
|
291
|
-
invalid_properties.push('invalid value for "default_cluster_infrastructure_website_url", default_cluster_infrastructure_website_url cannot be nil.')
|
292
|
-
end
|
293
|
-
|
294
|
-
if @default_security_group_infrastructure_website_urls.nil?
|
295
|
-
invalid_properties.push('invalid value for "default_security_group_infrastructure_website_urls", default_security_group_infrastructure_website_urls cannot be nil.')
|
296
|
-
end
|
297
|
-
|
298
274
|
if !@default_execution_role.nil? && @default_execution_role.to_s.length > 1000
|
299
275
|
invalid_properties.push('invalid value for "default_execution_role", the character length must be smaller than or equal to 1000.')
|
300
276
|
end
|
301
277
|
|
302
|
-
if @default_execution_role_infrastructure_website_url.nil?
|
303
|
-
invalid_properties.push('invalid value for "default_execution_role_infrastructure_website_url", default_execution_role_infrastructure_website_url cannot be nil.')
|
304
|
-
end
|
305
|
-
|
306
278
|
if !@default_task_role.nil? && @default_task_role.to_s.length > 1000
|
307
279
|
invalid_properties.push('invalid value for "default_task_role", the character length must be smaller than or equal to 1000.')
|
308
280
|
end
|
309
281
|
|
310
|
-
if @default_task_role_infrastructure_website_url.nil?
|
311
|
-
invalid_properties.push('invalid value for "default_task_role_infrastructure_website_url", default_task_role_infrastructure_website_url cannot be nil.')
|
312
|
-
end
|
313
|
-
|
314
282
|
if !@default_platform_version.nil? && @default_platform_version.to_s.length > 10
|
315
283
|
invalid_properties.push('invalid value for "default_platform_version", the character length must be smaller than or equal to 10.')
|
316
284
|
end
|
@@ -326,17 +294,9 @@ module CloudReactorAPIClient
|
|
326
294
|
# @return true if the model is valid
|
327
295
|
def valid?
|
328
296
|
return false if !@task_definition_arn.nil? && @task_definition_arn.to_s.length > 1000
|
329
|
-
return false if @task_definition_infrastructure_website_url.nil?
|
330
|
-
return false if @type.nil?
|
331
|
-
return false if @capabilities.nil?
|
332
|
-
return false if @default_subnet_infrastructure_website_urls.nil?
|
333
297
|
return false if !@default_cluster_arn.nil? && @default_cluster_arn.to_s.length > 1000
|
334
|
-
return false if @default_cluster_infrastructure_website_url.nil?
|
335
|
-
return false if @default_security_group_infrastructure_website_urls.nil?
|
336
298
|
return false if !@default_execution_role.nil? && @default_execution_role.to_s.length > 1000
|
337
|
-
return false if @default_execution_role_infrastructure_website_url.nil?
|
338
299
|
return false if !@default_task_role.nil? && @default_task_role.to_s.length > 1000
|
339
|
-
return false if @default_task_role_infrastructure_website_url.nil?
|
340
300
|
return false if !@default_platform_version.nil? && @default_platform_version.to_s.length > 10
|
341
301
|
return false if !@main_container_name.nil? && @main_container_name.to_s.length > 1000
|
342
302
|
true
|
data/lib/cloudreactor_api_client/models/aws_ecs_run_environment_execution_method_capability.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -215,46 +215,18 @@ module CloudReactorAPIClient
|
|
215
215
|
# @return Array for valid properties with the reasons
|
216
216
|
def list_invalid_properties
|
217
217
|
invalid_properties = Array.new
|
218
|
-
if @type.nil?
|
219
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
220
|
-
end
|
221
|
-
|
222
|
-
if @capabilities.nil?
|
223
|
-
invalid_properties.push('invalid value for "capabilities", capabilities cannot be nil.')
|
224
|
-
end
|
225
|
-
|
226
|
-
if @default_subnet_infrastructure_website_urls.nil?
|
227
|
-
invalid_properties.push('invalid value for "default_subnet_infrastructure_website_urls", default_subnet_infrastructure_website_urls cannot be nil.')
|
228
|
-
end
|
229
|
-
|
230
218
|
if !@default_cluster_arn.nil? && @default_cluster_arn.to_s.length > 1000
|
231
219
|
invalid_properties.push('invalid value for "default_cluster_arn", the character length must be smaller than or equal to 1000.')
|
232
220
|
end
|
233
221
|
|
234
|
-
if @default_cluster_infrastructure_website_url.nil?
|
235
|
-
invalid_properties.push('invalid value for "default_cluster_infrastructure_website_url", default_cluster_infrastructure_website_url cannot be nil.')
|
236
|
-
end
|
237
|
-
|
238
|
-
if @default_security_group_infrastructure_website_urls.nil?
|
239
|
-
invalid_properties.push('invalid value for "default_security_group_infrastructure_website_urls", default_security_group_infrastructure_website_urls cannot be nil.')
|
240
|
-
end
|
241
|
-
|
242
222
|
if !@default_execution_role.nil? && @default_execution_role.to_s.length > 1000
|
243
223
|
invalid_properties.push('invalid value for "default_execution_role", the character length must be smaller than or equal to 1000.')
|
244
224
|
end
|
245
225
|
|
246
|
-
if @default_execution_role_infrastructure_website_url.nil?
|
247
|
-
invalid_properties.push('invalid value for "default_execution_role_infrastructure_website_url", default_execution_role_infrastructure_website_url cannot be nil.')
|
248
|
-
end
|
249
|
-
|
250
226
|
if !@default_task_role.nil? && @default_task_role.to_s.length > 1000
|
251
227
|
invalid_properties.push('invalid value for "default_task_role", the character length must be smaller than or equal to 1000.')
|
252
228
|
end
|
253
229
|
|
254
|
-
if @default_task_role_infrastructure_website_url.nil?
|
255
|
-
invalid_properties.push('invalid value for "default_task_role_infrastructure_website_url", default_task_role_infrastructure_website_url cannot be nil.')
|
256
|
-
end
|
257
|
-
|
258
230
|
if !@default_platform_version.nil? && @default_platform_version.to_s.length > 10
|
259
231
|
invalid_properties.push('invalid value for "default_platform_version", the character length must be smaller than or equal to 10.')
|
260
232
|
end
|
@@ -265,16 +237,9 @@ module CloudReactorAPIClient
|
|
265
237
|
# Check to see if the all the properties in the model are valid
|
266
238
|
# @return true if the model is valid
|
267
239
|
def valid?
|
268
|
-
return false if @type.nil?
|
269
|
-
return false if @capabilities.nil?
|
270
|
-
return false if @default_subnet_infrastructure_website_urls.nil?
|
271
240
|
return false if !@default_cluster_arn.nil? && @default_cluster_arn.to_s.length > 1000
|
272
|
-
return false if @default_cluster_infrastructure_website_url.nil?
|
273
|
-
return false if @default_security_group_infrastructure_website_urls.nil?
|
274
241
|
return false if !@default_execution_role.nil? && @default_execution_role.to_s.length > 1000
|
275
|
-
return false if @default_execution_role_infrastructure_website_url.nil?
|
276
242
|
return false if !@default_task_role.nil? && @default_task_role.to_s.length > 1000
|
277
|
-
return false if @default_task_role_infrastructure_website_url.nil?
|
278
243
|
return false if !@default_platform_version.nil? && @default_platform_version.to_s.length > 10
|
279
244
|
true
|
280
245
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -144,17 +144,12 @@ module CloudReactorAPIClient
|
|
144
144
|
# @return Array for valid properties with the reasons
|
145
145
|
def list_invalid_properties
|
146
146
|
invalid_properties = Array.new
|
147
|
-
if @load_balancers.nil?
|
148
|
-
invalid_properties.push('invalid value for "load_balancers", load_balancers cannot be nil.')
|
149
|
-
end
|
150
|
-
|
151
147
|
invalid_properties
|
152
148
|
end
|
153
149
|
|
154
150
|
# Check to see if the all the properties in the model are valid
|
155
151
|
# @return true if the model is valid
|
156
152
|
def valid?
|
157
|
-
return false if @load_balancers.nil?
|
158
153
|
true
|
159
154
|
end
|
160
155
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -51,6 +51,7 @@ module CloudReactorAPIClient
|
|
51
51
|
# List of attributes with nullable: true
|
52
52
|
def self.openapi_nullable
|
53
53
|
Set.new([
|
54
|
+
:'service_arn',
|
54
55
|
:'service_infrastructure_website_url',
|
55
56
|
:'service_arn_updated_at'
|
56
57
|
])
|
@@ -92,22 +93,12 @@ module CloudReactorAPIClient
|
|
92
93
|
# @return Array for valid properties with the reasons
|
93
94
|
def list_invalid_properties
|
94
95
|
invalid_properties = Array.new
|
95
|
-
if @type.nil?
|
96
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
|
-
if @service_arn.nil?
|
100
|
-
invalid_properties.push('invalid value for "service_arn", service_arn cannot be nil.')
|
101
|
-
end
|
102
|
-
|
103
96
|
invalid_properties
|
104
97
|
end
|
105
98
|
|
106
99
|
# Check to see if the all the properties in the model are valid
|
107
100
|
# @return true if the model is valid
|
108
101
|
def valid?
|
109
|
-
return false if @type.nil?
|
110
|
-
return false if @service_arn.nil?
|
111
102
|
true
|
112
103
|
end
|
113
104
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -191,14 +191,6 @@ module CloudReactorAPIClient
|
|
191
191
|
# @return Array for valid properties with the reasons
|
192
192
|
def list_invalid_properties
|
193
193
|
invalid_properties = Array.new
|
194
|
-
if @url.nil?
|
195
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
196
|
-
end
|
197
|
-
|
198
|
-
if @uuid.nil?
|
199
|
-
invalid_properties.push('invalid value for "uuid", uuid cannot be nil.')
|
200
|
-
end
|
201
|
-
|
202
194
|
if @name.nil?
|
203
195
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
204
196
|
end
|
@@ -211,22 +203,6 @@ module CloudReactorAPIClient
|
|
211
203
|
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 5000.')
|
212
204
|
end
|
213
205
|
|
214
|
-
if @dashboard_url.nil?
|
215
|
-
invalid_properties.push('invalid value for "dashboard_url", dashboard_url cannot be nil.')
|
216
|
-
end
|
217
|
-
|
218
|
-
if @created_by_user.nil?
|
219
|
-
invalid_properties.push('invalid value for "created_by_user", created_by_user cannot be nil.')
|
220
|
-
end
|
221
|
-
|
222
|
-
if @created_at.nil?
|
223
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
224
|
-
end
|
225
|
-
|
226
|
-
if @updated_at.nil?
|
227
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
228
|
-
end
|
229
|
-
|
230
206
|
if !@subject_template.nil? && @subject_template.to_s.length > 1000
|
231
207
|
invalid_properties.push('invalid value for "subject_template", the character length must be smaller than or equal to 1000.')
|
232
208
|
end
|
@@ -241,15 +217,9 @@ module CloudReactorAPIClient
|
|
241
217
|
# Check to see if the all the properties in the model are valid
|
242
218
|
# @return true if the model is valid
|
243
219
|
def valid?
|
244
|
-
return false if @url.nil?
|
245
|
-
return false if @uuid.nil?
|
246
220
|
return false if @name.nil?
|
247
221
|
return false if @name.to_s.length > 200
|
248
222
|
return false if !@description.nil? && @description.to_s.length > 5000
|
249
|
-
return false if @dashboard_url.nil?
|
250
|
-
return false if @created_by_user.nil?
|
251
|
-
return false if @created_at.nil?
|
252
|
-
return false if @updated_at.nil?
|
253
223
|
return false if !@subject_template.nil? && @subject_template.to_s.length > 1000
|
254
224
|
return false if !@body_template.nil? && @body_template.to_s.length > 10000
|
255
225
|
true
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -82,10 +82,6 @@ module CloudReactorAPIClient
|
|
82
82
|
# @return Array for valid properties with the reasons
|
83
83
|
def list_invalid_properties
|
84
84
|
invalid_properties = Array.new
|
85
|
-
if @id.nil?
|
86
|
-
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
87
|
-
end
|
88
|
-
|
89
85
|
if @name.nil?
|
90
86
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
91
87
|
end
|
@@ -94,20 +90,14 @@ module CloudReactorAPIClient
|
|
94
90
|
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 150.')
|
95
91
|
end
|
96
92
|
|
97
|
-
if @url.nil?
|
98
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
99
|
-
end
|
100
|
-
|
101
93
|
invalid_properties
|
102
94
|
end
|
103
95
|
|
104
96
|
# Check to see if the all the properties in the model are valid
|
105
97
|
# @return true if the model is valid
|
106
98
|
def valid?
|
107
|
-
return false if @id.nil?
|
108
99
|
return false if @name.nil?
|
109
100
|
return false if @name.to_s.length > 150
|
110
|
-
return false if @url.nil?
|
111
101
|
true
|
112
102
|
end
|
113
103
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -127,10 +127,6 @@ module CloudReactorAPIClient
|
|
127
127
|
invalid_properties.push('invalid value for "link_url_template", link_url_template cannot be nil.')
|
128
128
|
end
|
129
129
|
|
130
|
-
if @link_url.nil?
|
131
|
-
invalid_properties.push('invalid value for "link_url", link_url cannot be nil.')
|
132
|
-
end
|
133
|
-
|
134
130
|
if @icon_url.nil?
|
135
131
|
invalid_properties.push('invalid value for "icon_url", icon_url cannot be nil.')
|
136
132
|
end
|
@@ -148,7 +144,6 @@ module CloudReactorAPIClient
|
|
148
144
|
return false if @uuid.nil?
|
149
145
|
return false if @name.nil?
|
150
146
|
return false if @link_url_template.nil?
|
151
|
-
return false if @link_url.nil?
|
152
147
|
return false if @icon_url.nil?
|
153
148
|
return false if @rank.nil?
|
154
149
|
true
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -182,14 +182,6 @@ module CloudReactorAPIClient
|
|
182
182
|
# @return Array for valid properties with the reasons
|
183
183
|
def list_invalid_properties
|
184
184
|
invalid_properties = Array.new
|
185
|
-
if @url.nil?
|
186
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
187
|
-
end
|
188
|
-
|
189
|
-
if @uuid.nil?
|
190
|
-
invalid_properties.push('invalid value for "uuid", uuid cannot be nil.')
|
191
|
-
end
|
192
|
-
|
193
185
|
if @name.nil?
|
194
186
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
195
187
|
end
|
@@ -202,10 +194,6 @@ module CloudReactorAPIClient
|
|
202
194
|
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 5000.')
|
203
195
|
end
|
204
196
|
|
205
|
-
if @dashboard_url.nil?
|
206
|
-
invalid_properties.push('invalid value for "dashboard_url", dashboard_url cannot be nil.')
|
207
|
-
end
|
208
|
-
|
209
197
|
if @integration_key.nil?
|
210
198
|
invalid_properties.push('invalid value for "integration_key", integration_key cannot be nil.')
|
211
199
|
end
|
@@ -226,38 +214,20 @@ module CloudReactorAPIClient
|
|
226
214
|
invalid_properties.push('invalid value for "default_event_class_template", the character length must be smaller than or equal to 1000.')
|
227
215
|
end
|
228
216
|
|
229
|
-
if @created_by_user.nil?
|
230
|
-
invalid_properties.push('invalid value for "created_by_user", created_by_user cannot be nil.')
|
231
|
-
end
|
232
|
-
|
233
|
-
if @created_at.nil?
|
234
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
235
|
-
end
|
236
|
-
|
237
|
-
if @updated_at.nil?
|
238
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
239
|
-
end
|
240
|
-
|
241
217
|
invalid_properties
|
242
218
|
end
|
243
219
|
|
244
220
|
# Check to see if the all the properties in the model are valid
|
245
221
|
# @return true if the model is valid
|
246
222
|
def valid?
|
247
|
-
return false if @url.nil?
|
248
|
-
return false if @uuid.nil?
|
249
223
|
return false if @name.nil?
|
250
224
|
return false if @name.to_s.length > 200
|
251
225
|
return false if !@description.nil? && @description.to_s.length > 5000
|
252
|
-
return false if @dashboard_url.nil?
|
253
226
|
return false if @integration_key.nil?
|
254
227
|
return false if @integration_key.to_s.length > 1000
|
255
228
|
return false if !@default_event_component_template.nil? && @default_event_component_template.to_s.length > 1000
|
256
229
|
return false if !@default_event_group_template.nil? && @default_event_group_template.to_s.length > 1000
|
257
230
|
return false if !@default_event_class_template.nil? && @default_event_class_template.to_s.length > 1000
|
258
|
-
return false if @created_by_user.nil?
|
259
|
-
return false if @created_at.nil?
|
260
|
-
return false if @updated_at.nil?
|
261
231
|
true
|
262
232
|
end
|
263
233
|
|