Class: CloudReactorAPIClient::TaskExecution

Inherits:
Object
  • Object
show all
Defined in:
lib/cloudreactor_api_client/models/task_execution.rb

Overview

A Task Execution is an execution / run instance of a Task.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ TaskExecution

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 400

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `CloudReactorAPIClient::TaskExecution` initialize method"
  end

  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h|
    if (!self.class.attribute_map.key?(k.to_sym))
      fail ArgumentError, "`#{k}` is not a valid attribute in `CloudReactorAPIClient::TaskExecution`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    end
    h[k.to_sym] = v
  }

  if attributes.key?(:'url')
    self.url = attributes[:'url']
  end

  if attributes.key?(:'uuid')
    self.uuid = attributes[:'uuid']
  end

  if attributes.key?(:'dashboard_url')
    self.dashboard_url = attributes[:'dashboard_url']
  end

  if attributes.key?(:'infrastructure_website_url')
    self.infrastructure_website_url = attributes[:'infrastructure_website_url']
  end

  if attributes.key?(:'task')
    self.task = attributes[:'task']
  end

  if attributes.key?(:'task_version_number')
    self.task_version_number = attributes[:'task_version_number']
  end

  if attributes.key?(:'task_version_text')
    self.task_version_text = attributes[:'task_version_text']
  end

  if attributes.key?(:'task_version_signature')
    self.task_version_signature = attributes[:'task_version_signature']
  end

  if attributes.key?(:'commit_url')
    self.commit_url = attributes[:'commit_url']
  end

  if attributes.key?(:'other_instance_metadata')
    if (value = attributes[:'other_instance_metadata']).is_a?(Hash)
      self. = value
    end
  end

  if attributes.key?(:'hostname')
    self.hostname = attributes[:'hostname']
  end

  if attributes.key?(:'environment_variables_overrides')
    if (value = attributes[:'environment_variables_overrides']).is_a?(Hash)
      self.environment_variables_overrides = value
    end
  end

  if attributes.key?(:'execution_method')
    self.execution_method = attributes[:'execution_method']
  end

  if attributes.key?(:'status')
    self.status = attributes[:'status']
  end

  if attributes.key?(:'started_by')
    self.started_by = attributes[:'started_by']
  end

  if attributes.key?(:'started_at')
    self.started_at = attributes[:'started_at']
  end

  if attributes.key?(:'finished_at')
    self.finished_at = attributes[:'finished_at']
  end

  if attributes.key?(:'marked_done_by')
    self.marked_done_by = attributes[:'marked_done_by']
  end

  if attributes.key?(:'marked_done_at')
    self.marked_done_at = attributes[:'marked_done_at']
  end

  if attributes.key?(:'marked_outdated_at')
    self.marked_outdated_at = attributes[:'marked_outdated_at']
  end

  if attributes.key?(:'killed_by')
    self.killed_by = attributes[:'killed_by']
  end

  if attributes.key?(:'kill_started_at')
    self.kill_started_at = attributes[:'kill_started_at']
  end

  if attributes.key?(:'kill_finished_at')
    self.kill_finished_at = attributes[:'kill_finished_at']
  end

  if attributes.key?(:'kill_error_code')
    self.kill_error_code = attributes[:'kill_error_code']
  end

  if attributes.key?(:'stop_reason')
    self.stop_reason = attributes[:'stop_reason']
  end

  if attributes.key?(:'last_heartbeat_at')
    self.last_heartbeat_at = attributes[:'last_heartbeat_at']
  end

  if attributes.key?(:'failed_attempts')
    self.failed_attempts = attributes[:'failed_attempts']
  end

  if attributes.key?(:'timed_out_attempts')
    self.timed_out_attempts = attributes[:'timed_out_attempts']
  end

  if attributes.key?(:'exit_code')
    self.exit_code = attributes[:'exit_code']
  end

  if attributes.key?(:'last_status_message')
    self.last_status_message = attributes[:'last_status_message']
  end

  if attributes.key?(:'error_count')
    self.error_count = attributes[:'error_count']
  end

  if attributes.key?(:'skipped_count')
    self.skipped_count = attributes[:'skipped_count']
  end

  if attributes.key?(:'expected_count')
    self.expected_count = attributes[:'expected_count']
  end

  if attributes.key?(:'success_count')
    self.success_count = attributes[:'success_count']
  end

  if attributes.key?(:'other_runtime_metadata')
    if (value = attributes[:'other_runtime_metadata']).is_a?(Hash)
      self. = value
    end
  end

  if attributes.key?(:'current_cpu_units')
    self.current_cpu_units = attributes[:'current_cpu_units']
  end

  if attributes.key?(:'mean_cpu_units')
    self.mean_cpu_units = attributes[:'mean_cpu_units']
  end

  if attributes.key?(:'max_cpu_units')
    self.max_cpu_units = attributes[:'max_cpu_units']
  end

  if attributes.key?(:'current_memory_mb')
    self.current_memory_mb = attributes[:'current_memory_mb']
  end

  if attributes.key?(:'mean_memory_mb')
    self.mean_memory_mb = attributes[:'mean_memory_mb']
  end

  if attributes.key?(:'max_memory_mb')
    self.max_memory_mb = attributes[:'max_memory_mb']
  end

  if attributes.key?(:'wrapper_version')
    self.wrapper_version = attributes[:'wrapper_version']
  end

  if attributes.key?(:'wrapper_log_level')
    self.wrapper_log_level = attributes[:'wrapper_log_level']
  end

  if attributes.key?(:'deployment')
    self.deployment = attributes[:'deployment']
  end

  if attributes.key?(:'process_command')
    self.process_command = attributes[:'process_command']
  end

  if attributes.key?(:'is_service')
    self.is_service = attributes[:'is_service']
  end

  if attributes.key?(:'task_max_concurrency')
    self.task_max_concurrency = attributes[:'task_max_concurrency']
  end

  if attributes.key?(:'max_conflicting_age_seconds')
    self.max_conflicting_age_seconds = attributes[:'max_conflicting_age_seconds']
  end

  if attributes.key?(:'prevent_offline_execution')
    self.prevent_offline_execution = attributes[:'prevent_offline_execution']
  end

  if attributes.key?(:'process_timeout_seconds')
    self.process_timeout_seconds = attributes[:'process_timeout_seconds']
  end

  if attributes.key?(:'process_termination_grace_period_seconds')
    self.process_termination_grace_period_seconds = attributes[:'process_termination_grace_period_seconds']
  end

  if attributes.key?(:'process_max_retries')
    self.process_max_retries = attributes[:'process_max_retries']
  end

  if attributes.key?(:'process_retry_delay_seconds')
    self.process_retry_delay_seconds = attributes[:'process_retry_delay_seconds']
  end

  if attributes.key?(:'schedule')
    self.schedule = attributes[:'schedule']
  end

  if attributes.key?(:'heartbeat_interval_seconds')
    self.heartbeat_interval_seconds = attributes[:'heartbeat_interval_seconds']
  end

  if attributes.key?(:'workflow_task_instance_execution')
    self.workflow_task_instance_execution = attributes[:'workflow_task_instance_execution']
  end

  if attributes.key?(:'api_base_url')
    self.api_base_url = attributes[:'api_base_url']
  end

  if attributes.key?(:'api_request_timeout_seconds')
    self.api_request_timeout_seconds = attributes[:'api_request_timeout_seconds']
  end

  if attributes.key?(:'api_retry_delay_seconds')
    self.api_retry_delay_seconds = attributes[:'api_retry_delay_seconds']
  end

  if attributes.key?(:'api_resume_delay_seconds')
    self.api_resume_delay_seconds = attributes[:'api_resume_delay_seconds']
  end

  if attributes.key?(:'api_error_timeout_seconds')
    self.api_error_timeout_seconds = attributes[:'api_error_timeout_seconds']
  end

  if attributes.key?(:'api_task_execution_creation_error_timeout_seconds')
    self.api_task_execution_creation_error_timeout_seconds = attributes[:'api_task_execution_creation_error_timeout_seconds']
  end

  if attributes.key?(:'api_task_execution_creation_conflict_timeout_seconds')
    self.api_task_execution_creation_conflict_timeout_seconds = attributes[:'api_task_execution_creation_conflict_timeout_seconds']
  end

  if attributes.key?(:'api_task_execution_creation_conflict_retry_delay_seconds')
    self.api_task_execution_creation_conflict_retry_delay_seconds = attributes[:'api_task_execution_creation_conflict_retry_delay_seconds']
  end

  if attributes.key?(:'api_final_update_timeout_seconds')
    self.api_final_update_timeout_seconds = attributes[:'api_final_update_timeout_seconds']
  end

  if attributes.key?(:'status_update_interval_seconds')
    self.status_update_interval_seconds = attributes[:'status_update_interval_seconds']
  end

  if attributes.key?(:'status_update_port')
    self.status_update_port = attributes[:'status_update_port']
  end

  if attributes.key?(:'status_update_message_max_bytes')
    self.status_update_message_max_bytes = attributes[:'status_update_message_max_bytes']
  end

  if attributes.key?(:'debug_log_tail')
    self.debug_log_tail = attributes[:'debug_log_tail']
  end

  if attributes.key?(:'error_log_tail')
    self.error_log_tail = attributes[:'error_log_tail']
  end

  if attributes.key?(:'embedded_mode')
    self.embedded_mode = attributes[:'embedded_mode']
  end

  if attributes.key?(:'created_at')
    self.created_at = attributes[:'created_at']
  end

  if attributes.key?(:'updated_at')
    self.updated_at = attributes[:'updated_at']
  end
end

Instance Attribute Details

#api_base_urlObject

Returns the value of attribute api_base_url.



134
135
136
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 134

def api_base_url
  @api_base_url
end

#api_error_timeout_secondsObject

Returns the value of attribute api_error_timeout_seconds.



142
143
144
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 142

def api_error_timeout_seconds
  @api_error_timeout_seconds
end

#api_final_update_timeout_secondsObject

Returns the value of attribute api_final_update_timeout_seconds.



150
151
152
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 150

def api_final_update_timeout_seconds
  @api_final_update_timeout_seconds
end

#api_request_timeout_secondsObject

Returns the value of attribute api_request_timeout_seconds.



136
137
138
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 136

def api_request_timeout_seconds
  @api_request_timeout_seconds
end

#api_resume_delay_secondsObject

Returns the value of attribute api_resume_delay_seconds.



140
141
142
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 140

def api_resume_delay_seconds
  @api_resume_delay_seconds
end

#api_retry_delay_secondsObject

Returns the value of attribute api_retry_delay_seconds.



138
139
140
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 138

def api_retry_delay_seconds
  @api_retry_delay_seconds
end

#api_task_execution_creation_conflict_retry_delay_secondsObject

Returns the value of attribute api_task_execution_creation_conflict_retry_delay_seconds.



148
149
150
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 148

def api_task_execution_creation_conflict_retry_delay_seconds
  @api_task_execution_creation_conflict_retry_delay_seconds
end

#api_task_execution_creation_conflict_timeout_secondsObject

Returns the value of attribute api_task_execution_creation_conflict_timeout_seconds.



146
147
148
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 146

def api_task_execution_creation_conflict_timeout_seconds
  @api_task_execution_creation_conflict_timeout_seconds
end

#api_task_execution_creation_error_timeout_secondsObject

Returns the value of attribute api_task_execution_creation_error_timeout_seconds.



144
145
146
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 144

def api_task_execution_creation_error_timeout_seconds
  @api_task_execution_creation_error_timeout_seconds
end

#commit_urlObject

Returns the value of attribute commit_url.



35
36
37
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 35

def commit_url
  @commit_url
end

#created_atObject

Returns the value of attribute created_at.



164
165
166
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 164

def created_at
  @created_at
end

#current_cpu_unitsObject

Returns the value of attribute current_cpu_units.



92
93
94
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 92

def current_cpu_units
  @current_cpu_units
end

#current_memory_mbObject

Returns the value of attribute current_memory_mb.



98
99
100
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 98

def current_memory_mb
  @current_memory_mb
end

#dashboard_urlObject

Returns the value of attribute dashboard_url.



23
24
25
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 23

def dashboard_url
  @dashboard_url
end

#debug_log_tailObject

Returns the value of attribute debug_log_tail.



158
159
160
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 158

def debug_log_tail
  @debug_log_tail
end

#deploymentObject

Returns the value of attribute deployment.



108
109
110
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 108

def deployment
  @deployment
end

#embedded_modeObject

Returns the value of attribute embedded_mode.



162
163
164
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 162

def embedded_mode
  @embedded_mode
end

#environment_variables_overridesObject

Returns the value of attribute environment_variables_overrides.



41
42
43
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 41

def environment_variables_overrides
  @environment_variables_overrides
end

#error_countObject

Returns the value of attribute error_count.



82
83
84
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 82

def error_count
  @error_count
end

#error_log_tailObject

Returns the value of attribute error_log_tail.



160
161
162
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 160

def error_log_tail
  @error_log_tail
end

#execution_methodObject

Returns the value of attribute execution_method.



43
44
45
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 43

def execution_method
  @execution_method
end

#exit_codeObject

Returns the value of attribute exit_code.



78
79
80
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 78

def exit_code
  @exit_code
end

#expected_countObject

Returns the value of attribute expected_count.



86
87
88
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 86

def expected_count
  @expected_count
end

#failed_attemptsObject

Returns the value of attribute failed_attempts.



74
75
76
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 74

def failed_attempts
  @failed_attempts
end

#finished_atObject

Returns the value of attribute finished_at.



52
53
54
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 52

def finished_at
  @finished_at
end

#heartbeat_interval_secondsObject

Returns the value of attribute heartbeat_interval_seconds.



130
131
132
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 130

def heartbeat_interval_seconds
  @heartbeat_interval_seconds
end

#hostnameObject

Returns the value of attribute hostname.



39
40
41
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 39

def hostname
  @hostname
end

#infrastructure_website_urlObject

Returns the value of attribute infrastructure_website_url.



25
26
27
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 25

def infrastructure_website_url
  @infrastructure_website_url
end

#is_serviceObject

Returns the value of attribute is_service.



112
113
114
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 112

def is_service
  @is_service
end

#kill_error_codeObject

Returns the value of attribute kill_error_code.



68
69
70
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 68

def kill_error_code
  @kill_error_code
end

#kill_finished_atObject

Returns the value of attribute kill_finished_at.



66
67
68
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 66

def kill_finished_at
  @kill_finished_at
end

#kill_started_atObject

Returns the value of attribute kill_started_at.



64
65
66
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 64

def kill_started_at
  @kill_started_at
end

#killed_byObject

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.



62
63
64
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 62

def killed_by
  @killed_by
end

#last_heartbeat_atObject

Returns the value of attribute last_heartbeat_at.



72
73
74
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 72

def last_heartbeat_at
  @last_heartbeat_at
end

#last_status_messageObject

Returns the value of attribute last_status_message.



80
81
82
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 80

def last_status_message
  @last_status_message
end

#marked_done_atObject

Returns the value of attribute marked_done_at.



57
58
59
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 57

def marked_done_at
  @marked_done_at
end

#marked_done_byObject

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.



55
56
57
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 55

def marked_done_by
  @marked_done_by
end

#marked_outdated_atObject

Returns the value of attribute marked_outdated_at.



59
60
61
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 59

def marked_outdated_at
  @marked_outdated_at
end

#max_conflicting_age_secondsObject

Returns the value of attribute max_conflicting_age_seconds.



116
117
118
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 116

def max_conflicting_age_seconds
  @max_conflicting_age_seconds
end

#max_cpu_unitsObject

Returns the value of attribute max_cpu_units.



96
97
98
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 96

def max_cpu_units
  @max_cpu_units
end

#max_memory_mbObject

Returns the value of attribute max_memory_mb.



102
103
104
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 102

def max_memory_mb
  @max_memory_mb
end

#mean_cpu_unitsObject

Returns the value of attribute mean_cpu_units.



94
95
96
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 94

def mean_cpu_units
  @mean_cpu_units
end

#mean_memory_mbObject

Returns the value of attribute mean_memory_mb.



100
101
102
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 100

def mean_memory_mb
  @mean_memory_mb
end

#other_instance_metadataObject

Returns the value of attribute other_instance_metadata.



37
38
39
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 37

def 
  @other_instance_metadata
end

#other_runtime_metadataObject

Returns the value of attribute other_runtime_metadata.



90
91
92
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 90

def 
  @other_runtime_metadata
end

#prevent_offline_executionObject

Returns the value of attribute prevent_offline_execution.



118
119
120
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 118

def prevent_offline_execution
  @prevent_offline_execution
end

#process_commandObject

Returns the value of attribute process_command.



110
111
112
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 110

def process_command
  @process_command
end

#process_max_retriesObject

Returns the value of attribute process_max_retries.



124
125
126
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 124

def process_max_retries
  @process_max_retries
end

#process_retry_delay_secondsObject

Returns the value of attribute process_retry_delay_seconds.



126
127
128
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 126

def process_retry_delay_seconds
  @process_retry_delay_seconds
end

#process_termination_grace_period_secondsObject

Returns the value of attribute process_termination_grace_period_seconds.



122
123
124
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 122

def process_termination_grace_period_seconds
  @process_termination_grace_period_seconds
end

#process_timeout_secondsObject

Returns the value of attribute process_timeout_seconds.



120
121
122
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 120

def process_timeout_seconds
  @process_timeout_seconds
end

#scheduleObject

Returns the value of attribute schedule.



128
129
130
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 128

def schedule
  @schedule
end

#skipped_countObject

Returns the value of attribute skipped_count.



84
85
86
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 84

def skipped_count
  @skipped_count
end

#started_atObject

Returns the value of attribute started_at.



50
51
52
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 50

def started_at
  @started_at
end

#started_byObject

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.



48
49
50
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 48

def started_by
  @started_by
end

#statusObject

Returns the value of attribute status.



45
46
47
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 45

def status
  @status
end

#status_update_interval_secondsObject

Returns the value of attribute status_update_interval_seconds.



152
153
154
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 152

def status_update_interval_seconds
  @status_update_interval_seconds
end

#status_update_message_max_bytesObject

Returns the value of attribute status_update_message_max_bytes.



156
157
158
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 156

def status_update_message_max_bytes
  @status_update_message_max_bytes
end

#status_update_portObject

Returns the value of attribute status_update_port.



154
155
156
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 154

def status_update_port
  @status_update_port
end

#stop_reasonObject

Returns the value of attribute stop_reason.



70
71
72
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 70

def stop_reason
  @stop_reason
end

#success_countObject

Returns the value of attribute success_count.



88
89
90
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 88

def success_count
  @success_count
end

#taskObject

Returns the value of attribute task.



27
28
29
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 27

def task
  @task
end

#task_max_concurrencyObject

Returns the value of attribute task_max_concurrency.



114
115
116
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 114

def task_max_concurrency
  @task_max_concurrency
end

#task_version_numberObject

Returns the value of attribute task_version_number.



29
30
31
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 29

def task_version_number
  @task_version_number
end

#task_version_signatureObject

Returns the value of attribute task_version_signature.



33
34
35
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 33

def task_version_signature
  @task_version_signature
end

#task_version_textObject

Returns the value of attribute task_version_text.



31
32
33
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 31

def task_version_text
  @task_version_text
end

#timed_out_attemptsObject

Returns the value of attribute timed_out_attempts.



76
77
78
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 76

def timed_out_attempts
  @timed_out_attempts
end

#updated_atObject

Returns the value of attribute updated_at.



166
167
168
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 166

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



19
20
21
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 19

def url
  @url
end

#uuidObject

Returns the value of attribute uuid.



21
22
23
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 21

def uuid
  @uuid
end

#workflow_task_instance_executionObject

Returns the value of attribute workflow_task_instance_execution.



132
133
134
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 132

def workflow_task_instance_execution
  @workflow_task_instance_execution
end

#wrapper_log_levelObject

Returns the value of attribute wrapper_log_level.



106
107
108
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 106

def wrapper_log_level
  @wrapper_log_level
end

#wrapper_versionObject

Returns the value of attribute wrapper_version.



104
105
106
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 104

def wrapper_version
  @wrapper_version
end

Class Method Details

.acceptable_attributesObject

Returns all the JSON keys this model knows about



248
249
250
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 248

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 169

def self.attribute_map
  {
    :'url' => :'url',
    :'uuid' => :'uuid',
    :'dashboard_url' => :'dashboard_url',
    :'infrastructure_website_url' => :'infrastructure_website_url',
    :'task' => :'task',
    :'task_version_number' => :'task_version_number',
    :'task_version_text' => :'task_version_text',
    :'task_version_signature' => :'task_version_signature',
    :'commit_url' => :'commit_url',
    :'other_instance_metadata' => :'other_instance_metadata',
    :'hostname' => :'hostname',
    :'environment_variables_overrides' => :'environment_variables_overrides',
    :'execution_method' => :'execution_method',
    :'status' => :'status',
    :'started_by' => :'started_by',
    :'started_at' => :'started_at',
    :'finished_at' => :'finished_at',
    :'marked_done_by' => :'marked_done_by',
    :'marked_done_at' => :'marked_done_at',
    :'marked_outdated_at' => :'marked_outdated_at',
    :'killed_by' => :'killed_by',
    :'kill_started_at' => :'kill_started_at',
    :'kill_finished_at' => :'kill_finished_at',
    :'kill_error_code' => :'kill_error_code',
    :'stop_reason' => :'stop_reason',
    :'last_heartbeat_at' => :'last_heartbeat_at',
    :'failed_attempts' => :'failed_attempts',
    :'timed_out_attempts' => :'timed_out_attempts',
    :'exit_code' => :'exit_code',
    :'last_status_message' => :'last_status_message',
    :'error_count' => :'error_count',
    :'skipped_count' => :'skipped_count',
    :'expected_count' => :'expected_count',
    :'success_count' => :'success_count',
    :'other_runtime_metadata' => :'other_runtime_metadata',
    :'current_cpu_units' => :'current_cpu_units',
    :'mean_cpu_units' => :'mean_cpu_units',
    :'max_cpu_units' => :'max_cpu_units',
    :'current_memory_mb' => :'current_memory_mb',
    :'mean_memory_mb' => :'mean_memory_mb',
    :'max_memory_mb' => :'max_memory_mb',
    :'wrapper_version' => :'wrapper_version',
    :'wrapper_log_level' => :'wrapper_log_level',
    :'deployment' => :'deployment',
    :'process_command' => :'process_command',
    :'is_service' => :'is_service',
    :'task_max_concurrency' => :'task_max_concurrency',
    :'max_conflicting_age_seconds' => :'max_conflicting_age_seconds',
    :'prevent_offline_execution' => :'prevent_offline_execution',
    :'process_timeout_seconds' => :'process_timeout_seconds',
    :'process_termination_grace_period_seconds' => :'process_termination_grace_period_seconds',
    :'process_max_retries' => :'process_max_retries',
    :'process_retry_delay_seconds' => :'process_retry_delay_seconds',
    :'schedule' => :'schedule',
    :'heartbeat_interval_seconds' => :'heartbeat_interval_seconds',
    :'workflow_task_instance_execution' => :'workflow_task_instance_execution',
    :'api_base_url' => :'api_base_url',
    :'api_request_timeout_seconds' => :'api_request_timeout_seconds',
    :'api_retry_delay_seconds' => :'api_retry_delay_seconds',
    :'api_resume_delay_seconds' => :'api_resume_delay_seconds',
    :'api_error_timeout_seconds' => :'api_error_timeout_seconds',
    :'api_task_execution_creation_error_timeout_seconds' => :'api_task_execution_creation_error_timeout_seconds',
    :'api_task_execution_creation_conflict_timeout_seconds' => :'api_task_execution_creation_conflict_timeout_seconds',
    :'api_task_execution_creation_conflict_retry_delay_seconds' => :'api_task_execution_creation_conflict_retry_delay_seconds',
    :'api_final_update_timeout_seconds' => :'api_final_update_timeout_seconds',
    :'status_update_interval_seconds' => :'status_update_interval_seconds',
    :'status_update_port' => :'status_update_port',
    :'status_update_message_max_bytes' => :'status_update_message_max_bytes',
    :'debug_log_tail' => :'debug_log_tail',
    :'error_log_tail' => :'error_log_tail',
    :'embedded_mode' => :'embedded_mode',
    :'created_at' => :'created_at',
    :'updated_at' => :'updated_at'
  }
end

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



1797
1798
1799
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1797

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end

.openapi_nullableObject

List of attributes with nullable: true



332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 332

def self.openapi_nullable
  Set.new([
    :'infrastructure_website_url',
    :'task_version_number',
    :'task_version_text',
    :'task_version_signature',
    :'commit_url',
    :'other_instance_metadata',
    :'hostname',
    :'environment_variables_overrides',
    :'execution_method',
    :'finished_at',
    :'marked_done_by',
    :'marked_done_at',
    :'marked_outdated_at',
    :'killed_by',
    :'kill_started_at',
    :'kill_finished_at',
    :'kill_error_code',
    :'stop_reason',
    :'last_heartbeat_at',
    :'exit_code',
    :'last_status_message',
    :'error_count',
    :'skipped_count',
    :'expected_count',
    :'success_count',
    :'other_runtime_metadata',
    :'current_cpu_units',
    :'mean_cpu_units',
    :'max_cpu_units',
    :'current_memory_mb',
    :'mean_memory_mb',
    :'max_memory_mb',
    :'wrapper_version',
    :'wrapper_log_level',
    :'deployment',
    :'process_command',
    :'is_service',
    :'task_max_concurrency',
    :'max_conflicting_age_seconds',
    :'prevent_offline_execution',
    :'process_timeout_seconds',
    :'process_termination_grace_period_seconds',
    :'process_max_retries',
    :'process_retry_delay_seconds',
    :'schedule',
    :'heartbeat_interval_seconds',
    :'workflow_task_instance_execution',
    :'api_request_timeout_seconds',
    :'api_retry_delay_seconds',
    :'api_resume_delay_seconds',
    :'api_error_timeout_seconds',
    :'api_task_execution_creation_error_timeout_seconds',
    :'api_task_execution_creation_conflict_timeout_seconds',
    :'api_task_execution_creation_conflict_retry_delay_seconds',
    :'api_final_update_timeout_seconds',
    :'status_update_interval_seconds',
    :'status_update_port',
    :'status_update_message_max_bytes',
    :'debug_log_tail',
    :'error_log_tail',
    :'embedded_mode',
  ])
end

.openapi_typesObject

Attribute type mapping.



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 253

def self.openapi_types
  {
    :'url' => :'String',
    :'uuid' => :'String',
    :'dashboard_url' => :'String',
    :'infrastructure_website_url' => :'String',
    :'task' => :'NameAndUuid',
    :'task_version_number' => :'Integer',
    :'task_version_text' => :'String',
    :'task_version_signature' => :'String',
    :'commit_url' => :'String',
    :'other_instance_metadata' => :'Hash<String, Object>',
    :'hostname' => :'String',
    :'environment_variables_overrides' => :'Hash<String, Object>',
    :'execution_method' => :'AwsEcsExecutionMethod',
    :'status' => :'TaskExecutionStatus',
    :'started_by' => :'String',
    :'started_at' => :'Time',
    :'finished_at' => :'Time',
    :'marked_done_by' => :'String',
    :'marked_done_at' => :'Time',
    :'marked_outdated_at' => :'Time',
    :'killed_by' => :'String',
    :'kill_started_at' => :'Time',
    :'kill_finished_at' => :'Time',
    :'kill_error_code' => :'Integer',
    :'stop_reason' => :'StopReasonEnum',
    :'last_heartbeat_at' => :'Time',
    :'failed_attempts' => :'Integer',
    :'timed_out_attempts' => :'Integer',
    :'exit_code' => :'Integer',
    :'last_status_message' => :'String',
    :'error_count' => :'Integer',
    :'skipped_count' => :'Integer',
    :'expected_count' => :'Integer',
    :'success_count' => :'Integer',
    :'other_runtime_metadata' => :'Hash<String, Object>',
    :'current_cpu_units' => :'Integer',
    :'mean_cpu_units' => :'Integer',
    :'max_cpu_units' => :'Integer',
    :'current_memory_mb' => :'Integer',
    :'mean_memory_mb' => :'Integer',
    :'max_memory_mb' => :'Integer',
    :'wrapper_version' => :'String',
    :'wrapper_log_level' => :'String',
    :'deployment' => :'String',
    :'process_command' => :'String',
    :'is_service' => :'Boolean',
    :'task_max_concurrency' => :'Integer',
    :'max_conflicting_age_seconds' => :'Integer',
    :'prevent_offline_execution' => :'Boolean',
    :'process_timeout_seconds' => :'Integer',
    :'process_termination_grace_period_seconds' => :'Integer',
    :'process_max_retries' => :'Integer',
    :'process_retry_delay_seconds' => :'Integer',
    :'schedule' => :'String',
    :'heartbeat_interval_seconds' => :'Integer',
    :'workflow_task_instance_execution' => :'WorkflowTaskInstanceExecutionBase',
    :'api_base_url' => :'String',
    :'api_request_timeout_seconds' => :'Integer',
    :'api_retry_delay_seconds' => :'Integer',
    :'api_resume_delay_seconds' => :'Integer',
    :'api_error_timeout_seconds' => :'Integer',
    :'api_task_execution_creation_error_timeout_seconds' => :'Integer',
    :'api_task_execution_creation_conflict_timeout_seconds' => :'Integer',
    :'api_task_execution_creation_conflict_retry_delay_seconds' => :'Integer',
    :'api_final_update_timeout_seconds' => :'Integer',
    :'status_update_interval_seconds' => :'Integer',
    :'status_update_port' => :'Integer',
    :'status_update_message_max_bytes' => :'Integer',
    :'debug_log_tail' => :'String',
    :'error_log_tail' => :'String',
    :'embedded_mode' => :'Boolean',
    :'created_at' => :'Time',
    :'updated_at' => :'Time'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1704

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      url == o.url &&
      uuid == o.uuid &&
      dashboard_url == o.dashboard_url &&
      infrastructure_website_url == o.infrastructure_website_url &&
      task == o.task &&
      task_version_number == o.task_version_number &&
      task_version_text == o.task_version_text &&
      task_version_signature == o.task_version_signature &&
      commit_url == o.commit_url &&
       == o. &&
      hostname == o.hostname &&
      environment_variables_overrides == o.environment_variables_overrides &&
      execution_method == o.execution_method &&
      status == o.status &&
      started_by == o.started_by &&
      started_at == o.started_at &&
      finished_at == o.finished_at &&
      marked_done_by == o.marked_done_by &&
      marked_done_at == o.marked_done_at &&
      marked_outdated_at == o.marked_outdated_at &&
      killed_by == o.killed_by &&
      kill_started_at == o.kill_started_at &&
      kill_finished_at == o.kill_finished_at &&
      kill_error_code == o.kill_error_code &&
      stop_reason == o.stop_reason &&
      last_heartbeat_at == o.last_heartbeat_at &&
      failed_attempts == o.failed_attempts &&
      timed_out_attempts == o.timed_out_attempts &&
      exit_code == o.exit_code &&
      last_status_message == o.last_status_message &&
      error_count == o.error_count &&
      skipped_count == o.skipped_count &&
      expected_count == o.expected_count &&
      success_count == o.success_count &&
       == o. &&
      current_cpu_units == o.current_cpu_units &&
      mean_cpu_units == o.mean_cpu_units &&
      max_cpu_units == o.max_cpu_units &&
      current_memory_mb == o.current_memory_mb &&
      mean_memory_mb == o.mean_memory_mb &&
      max_memory_mb == o.max_memory_mb &&
      wrapper_version == o.wrapper_version &&
      wrapper_log_level == o.wrapper_log_level &&
      deployment == o.deployment &&
      process_command == o.process_command &&
      is_service == o.is_service &&
      task_max_concurrency == o.task_max_concurrency &&
      max_conflicting_age_seconds == o.max_conflicting_age_seconds &&
      prevent_offline_execution == o.prevent_offline_execution &&
      process_timeout_seconds == o.process_timeout_seconds &&
      process_termination_grace_period_seconds == o.process_termination_grace_period_seconds &&
      process_max_retries == o.process_max_retries &&
      process_retry_delay_seconds == o.process_retry_delay_seconds &&
      schedule == o.schedule &&
      heartbeat_interval_seconds == o.heartbeat_interval_seconds &&
      workflow_task_instance_execution == o.workflow_task_instance_execution &&
      api_base_url == o.api_base_url &&
      api_request_timeout_seconds == o.api_request_timeout_seconds &&
      api_retry_delay_seconds == o.api_retry_delay_seconds &&
      api_resume_delay_seconds == o.api_resume_delay_seconds &&
      api_error_timeout_seconds == o.api_error_timeout_seconds &&
      api_task_execution_creation_error_timeout_seconds == o.api_task_execution_creation_error_timeout_seconds &&
      api_task_execution_creation_conflict_timeout_seconds == o.api_task_execution_creation_conflict_timeout_seconds &&
      api_task_execution_creation_conflict_retry_delay_seconds == o.api_task_execution_creation_conflict_retry_delay_seconds &&
      api_final_update_timeout_seconds == o.api_final_update_timeout_seconds &&
      status_update_interval_seconds == o.status_update_interval_seconds &&
      status_update_port == o.status_update_port &&
      status_update_message_max_bytes == o.status_update_message_max_bytes &&
      debug_log_tail == o.debug_log_tail &&
      error_log_tail == o.error_log_tail &&
      embedded_mode == o.embedded_mode &&
      created_at == o.created_at &&
      updated_at == o.updated_at
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1827

def _deserialize(type, value)
  case type.to_sym
  when :Time
    Time.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :Boolean
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    # models (e.g. Pet) or oneOf
    klass = CloudReactorAPIClient.const_get(type)
    klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1898

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1804

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.openapi_types.each_pair do |key, type|
    if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
      self.send("#{key}=", nil)
    elsif type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


1784
1785
1786
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1784

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



1790
1791
1792
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1790

def hash
  [url, uuid, dashboard_url, infrastructure_website_url, task, task_version_number, task_version_text, task_version_signature, commit_url, , hostname, environment_variables_overrides, execution_method, status, started_by, started_at, finished_at, marked_done_by, marked_done_at, marked_outdated_at, killed_by, kill_started_at, kill_finished_at, kill_error_code, stop_reason, last_heartbeat_at, failed_attempts, timed_out_attempts, exit_code, last_status_message, error_count, skipped_count, expected_count, success_count, , current_cpu_units, mean_cpu_units, max_cpu_units, current_memory_mb, mean_memory_mb, max_memory_mb, wrapper_version, wrapper_log_level, deployment, process_command, is_service, task_max_concurrency, max_conflicting_age_seconds, prevent_offline_execution, process_timeout_seconds, process_termination_grace_period_seconds, process_max_retries, process_retry_delay_seconds, schedule, heartbeat_interval_seconds, workflow_task_instance_execution, api_base_url, api_request_timeout_seconds, api_retry_delay_seconds, api_resume_delay_seconds, api_error_timeout_seconds, api_task_execution_creation_error_timeout_seconds, api_task_execution_creation_conflict_timeout_seconds, api_task_execution_creation_conflict_retry_delay_seconds, api_final_update_timeout_seconds, status_update_interval_seconds, status_update_port, status_update_message_max_bytes, debug_log_tail, error_log_tail, embedded_mode, created_at, updated_at].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 714

def list_invalid_properties
  invalid_properties = Array.new
  if !@task_version_number.nil? && @task_version_number > 9223372036854775807
    invalid_properties.push('invalid value for "task_version_number", must be smaller than or equal to 9223372036854775807.')
  end

  if !@task_version_number.nil? && @task_version_number < -9223372036854775808
    invalid_properties.push('invalid value for "task_version_number", must be greater than or equal to -9223372036854775808.')
  end

  if !@task_version_text.nil? && @task_version_text.to_s.length > 200
    invalid_properties.push('invalid value for "task_version_text", the character length must be smaller than or equal to 200.')
  end

  if !@task_version_signature.nil? && @task_version_signature.to_s.length > 200
    invalid_properties.push('invalid value for "task_version_signature", the character length must be smaller than or equal to 200.')
  end

  if !@hostname.nil? && @hostname.to_s.length > 1000
    invalid_properties.push('invalid value for "hostname", the character length must be smaller than or equal to 1000.')
  end

  if @status.nil?
    invalid_properties.push('invalid value for "status", status cannot be nil.')
  end

  if !@kill_error_code.nil? && @kill_error_code > 2147483647
    invalid_properties.push('invalid value for "kill_error_code", must be smaller than or equal to 2147483647.')
  end

  if !@kill_error_code.nil? && @kill_error_code < -2147483648
    invalid_properties.push('invalid value for "kill_error_code", must be greater than or equal to -2147483648.')
  end

  if !@failed_attempts.nil? && @failed_attempts > 2147483647
    invalid_properties.push('invalid value for "failed_attempts", must be smaller than or equal to 2147483647.')
  end

  if !@failed_attempts.nil? && @failed_attempts < 0
    invalid_properties.push('invalid value for "failed_attempts", must be greater than or equal to 0.')
  end

  if !@timed_out_attempts.nil? && @timed_out_attempts > 2147483647
    invalid_properties.push('invalid value for "timed_out_attempts", must be smaller than or equal to 2147483647.')
  end

  if !@timed_out_attempts.nil? && @timed_out_attempts < 0
    invalid_properties.push('invalid value for "timed_out_attempts", must be greater than or equal to 0.')
  end

  if !@exit_code.nil? && @exit_code > 2147483647
    invalid_properties.push('invalid value for "exit_code", must be smaller than or equal to 2147483647.')
  end

  if !@exit_code.nil? && @exit_code < -2147483648
    invalid_properties.push('invalid value for "exit_code", must be greater than or equal to -2147483648.')
  end

  if !@last_status_message.nil? && @last_status_message.to_s.length > 5000
    invalid_properties.push('invalid value for "last_status_message", the character length must be smaller than or equal to 5000.')
  end

  if !@error_count.nil? && @error_count > 9223372036854775807
    invalid_properties.push('invalid value for "error_count", must be smaller than or equal to 9223372036854775807.')
  end

  if !@error_count.nil? && @error_count < -9223372036854775808
    invalid_properties.push('invalid value for "error_count", must be greater than or equal to -9223372036854775808.')
  end

  if !@skipped_count.nil? && @skipped_count > 9223372036854775807
    invalid_properties.push('invalid value for "skipped_count", must be smaller than or equal to 9223372036854775807.')
  end

  if !@skipped_count.nil? && @skipped_count < -9223372036854775808
    invalid_properties.push('invalid value for "skipped_count", must be greater than or equal to -9223372036854775808.')
  end

  if !@expected_count.nil? && @expected_count > 9223372036854775807
    invalid_properties.push('invalid value for "expected_count", must be smaller than or equal to 9223372036854775807.')
  end

  if !@expected_count.nil? && @expected_count < -9223372036854775808
    invalid_properties.push('invalid value for "expected_count", must be greater than or equal to -9223372036854775808.')
  end

  if !@success_count.nil? && @success_count > 9223372036854775807
    invalid_properties.push('invalid value for "success_count", must be smaller than or equal to 9223372036854775807.')
  end

  if !@success_count.nil? && @success_count < -9223372036854775808
    invalid_properties.push('invalid value for "success_count", must be greater than or equal to -9223372036854775808.')
  end

  if !@current_cpu_units.nil? && @current_cpu_units > 2147483647
    invalid_properties.push('invalid value for "current_cpu_units", must be smaller than or equal to 2147483647.')
  end

  if !@current_cpu_units.nil? && @current_cpu_units < 0
    invalid_properties.push('invalid value for "current_cpu_units", must be greater than or equal to 0.')
  end

  if !@mean_cpu_units.nil? && @mean_cpu_units > 2147483647
    invalid_properties.push('invalid value for "mean_cpu_units", must be smaller than or equal to 2147483647.')
  end

  if !@mean_cpu_units.nil? && @mean_cpu_units < 0
    invalid_properties.push('invalid value for "mean_cpu_units", must be greater than or equal to 0.')
  end

  if !@max_cpu_units.nil? && @max_cpu_units > 2147483647
    invalid_properties.push('invalid value for "max_cpu_units", must be smaller than or equal to 2147483647.')
  end

  if !@max_cpu_units.nil? && @max_cpu_units < -2147483648
    invalid_properties.push('invalid value for "max_cpu_units", must be greater than or equal to -2147483648.')
  end

  if !@current_memory_mb.nil? && @current_memory_mb > 2147483647
    invalid_properties.push('invalid value for "current_memory_mb", must be smaller than or equal to 2147483647.')
  end

  if !@current_memory_mb.nil? && @current_memory_mb < 0
    invalid_properties.push('invalid value for "current_memory_mb", must be greater than or equal to 0.')
  end

  if !@mean_memory_mb.nil? && @mean_memory_mb > 2147483647
    invalid_properties.push('invalid value for "mean_memory_mb", must be smaller than or equal to 2147483647.')
  end

  if !@mean_memory_mb.nil? && @mean_memory_mb < 0
    invalid_properties.push('invalid value for "mean_memory_mb", must be greater than or equal to 0.')
  end

  if !@max_memory_mb.nil? && @max_memory_mb > 2147483647
    invalid_properties.push('invalid value for "max_memory_mb", must be smaller than or equal to 2147483647.')
  end

  if !@max_memory_mb.nil? && @max_memory_mb < -2147483648
    invalid_properties.push('invalid value for "max_memory_mb", must be greater than or equal to -2147483648.')
  end

  if !@wrapper_version.nil? && @wrapper_version.to_s.length > 200
    invalid_properties.push('invalid value for "wrapper_version", the character length must be smaller than or equal to 200.')
  end

  if !@wrapper_log_level.nil? && @wrapper_log_level.to_s.length > 20
    invalid_properties.push('invalid value for "wrapper_log_level", the character length must be smaller than or equal to 20.')
  end

  if !@deployment.nil? && @deployment.to_s.length > 200
    invalid_properties.push('invalid value for "deployment", the character length must be smaller than or equal to 200.')
  end

  if !@process_command.nil? && @process_command.to_s.length > 5000
    invalid_properties.push('invalid value for "process_command", the character length must be smaller than or equal to 5000.')
  end

  if !@task_max_concurrency.nil? && @task_max_concurrency > 2147483647
    invalid_properties.push('invalid value for "task_max_concurrency", must be smaller than or equal to 2147483647.')
  end

  if !@task_max_concurrency.nil? && @task_max_concurrency < -2147483648
    invalid_properties.push('invalid value for "task_max_concurrency", must be greater than or equal to -2147483648.')
  end

  if !@max_conflicting_age_seconds.nil? && @max_conflicting_age_seconds > 2147483647
    invalid_properties.push('invalid value for "max_conflicting_age_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@max_conflicting_age_seconds.nil? && @max_conflicting_age_seconds < -2147483648
    invalid_properties.push('invalid value for "max_conflicting_age_seconds", must be greater than or equal to -2147483648.')
  end

  if !@process_timeout_seconds.nil? && @process_timeout_seconds > 2147483647
    invalid_properties.push('invalid value for "process_timeout_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@process_timeout_seconds.nil? && @process_timeout_seconds < -2147483648
    invalid_properties.push('invalid value for "process_timeout_seconds", must be greater than or equal to -2147483648.')
  end

  if !@process_termination_grace_period_seconds.nil? && @process_termination_grace_period_seconds > 2147483647
    invalid_properties.push('invalid value for "process_termination_grace_period_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@process_termination_grace_period_seconds.nil? && @process_termination_grace_period_seconds < -2147483648
    invalid_properties.push('invalid value for "process_termination_grace_period_seconds", must be greater than or equal to -2147483648.')
  end

  if !@process_max_retries.nil? && @process_max_retries > 2147483647
    invalid_properties.push('invalid value for "process_max_retries", must be smaller than or equal to 2147483647.')
  end

  if !@process_max_retries.nil? && @process_max_retries < -2147483648
    invalid_properties.push('invalid value for "process_max_retries", must be greater than or equal to -2147483648.')
  end

  if !@process_retry_delay_seconds.nil? && @process_retry_delay_seconds > 2147483647
    invalid_properties.push('invalid value for "process_retry_delay_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@process_retry_delay_seconds.nil? && @process_retry_delay_seconds < 0
    invalid_properties.push('invalid value for "process_retry_delay_seconds", must be greater than or equal to 0.')
  end

  if !@schedule.nil? && @schedule.to_s.length > 1000
    invalid_properties.push('invalid value for "schedule", the character length must be smaller than or equal to 1000.')
  end

  if !@heartbeat_interval_seconds.nil? && @heartbeat_interval_seconds > 2147483647
    invalid_properties.push('invalid value for "heartbeat_interval_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@heartbeat_interval_seconds.nil? && @heartbeat_interval_seconds < -2147483648
    invalid_properties.push('invalid value for "heartbeat_interval_seconds", must be greater than or equal to -2147483648.')
  end

  if !@api_base_url.nil? && @api_base_url.to_s.length > 200
    invalid_properties.push('invalid value for "api_base_url", the character length must be smaller than or equal to 200.')
  end

  if !@api_request_timeout_seconds.nil? && @api_request_timeout_seconds > 2147483647
    invalid_properties.push('invalid value for "api_request_timeout_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@api_request_timeout_seconds.nil? && @api_request_timeout_seconds < -2147483648
    invalid_properties.push('invalid value for "api_request_timeout_seconds", must be greater than or equal to -2147483648.')
  end

  if !@api_retry_delay_seconds.nil? && @api_retry_delay_seconds > 2147483647
    invalid_properties.push('invalid value for "api_retry_delay_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@api_retry_delay_seconds.nil? && @api_retry_delay_seconds < 0
    invalid_properties.push('invalid value for "api_retry_delay_seconds", must be greater than or equal to 0.')
  end

  if !@api_resume_delay_seconds.nil? && @api_resume_delay_seconds > 2147483647
    invalid_properties.push('invalid value for "api_resume_delay_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@api_resume_delay_seconds.nil? && @api_resume_delay_seconds < 0
    invalid_properties.push('invalid value for "api_resume_delay_seconds", must be greater than or equal to 0.')
  end

  if !@api_error_timeout_seconds.nil? && @api_error_timeout_seconds > 2147483647
    invalid_properties.push('invalid value for "api_error_timeout_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@api_error_timeout_seconds.nil? && @api_error_timeout_seconds < -2147483648
    invalid_properties.push('invalid value for "api_error_timeout_seconds", must be greater than or equal to -2147483648.')
  end

  if !@api_task_execution_creation_error_timeout_seconds.nil? && @api_task_execution_creation_error_timeout_seconds > 2147483647
    invalid_properties.push('invalid value for "api_task_execution_creation_error_timeout_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@api_task_execution_creation_error_timeout_seconds.nil? && @api_task_execution_creation_error_timeout_seconds < -2147483648
    invalid_properties.push('invalid value for "api_task_execution_creation_error_timeout_seconds", must be greater than or equal to -2147483648.')
  end

  if !@api_task_execution_creation_conflict_timeout_seconds.nil? && @api_task_execution_creation_conflict_timeout_seconds > 2147483647
    invalid_properties.push('invalid value for "api_task_execution_creation_conflict_timeout_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@api_task_execution_creation_conflict_timeout_seconds.nil? && @api_task_execution_creation_conflict_timeout_seconds < -2147483648
    invalid_properties.push('invalid value for "api_task_execution_creation_conflict_timeout_seconds", must be greater than or equal to -2147483648.')
  end

  if !@api_task_execution_creation_conflict_retry_delay_seconds.nil? && @api_task_execution_creation_conflict_retry_delay_seconds > 2147483647
    invalid_properties.push('invalid value for "api_task_execution_creation_conflict_retry_delay_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@api_task_execution_creation_conflict_retry_delay_seconds.nil? && @api_task_execution_creation_conflict_retry_delay_seconds < 0
    invalid_properties.push('invalid value for "api_task_execution_creation_conflict_retry_delay_seconds", must be greater than or equal to 0.')
  end

  if !@api_final_update_timeout_seconds.nil? && @api_final_update_timeout_seconds > 2147483647
    invalid_properties.push('invalid value for "api_final_update_timeout_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@api_final_update_timeout_seconds.nil? && @api_final_update_timeout_seconds < -2147483648
    invalid_properties.push('invalid value for "api_final_update_timeout_seconds", must be greater than or equal to -2147483648.')
  end

  if !@status_update_interval_seconds.nil? && @status_update_interval_seconds > 2147483647
    invalid_properties.push('invalid value for "status_update_interval_seconds", must be smaller than or equal to 2147483647.')
  end

  if !@status_update_interval_seconds.nil? && @status_update_interval_seconds < -2147483648
    invalid_properties.push('invalid value for "status_update_interval_seconds", must be greater than or equal to -2147483648.')
  end

  if !@status_update_port.nil? && @status_update_port > 2147483647
    invalid_properties.push('invalid value for "status_update_port", must be smaller than or equal to 2147483647.')
  end

  if !@status_update_port.nil? && @status_update_port < -2147483648
    invalid_properties.push('invalid value for "status_update_port", must be greater than or equal to -2147483648.')
  end

  if !@status_update_message_max_bytes.nil? && @status_update_message_max_bytes > 2147483647
    invalid_properties.push('invalid value for "status_update_message_max_bytes", must be smaller than or equal to 2147483647.')
  end

  if !@status_update_message_max_bytes.nil? && @status_update_message_max_bytes < -2147483648
    invalid_properties.push('invalid value for "status_update_message_max_bytes", must be greater than or equal to -2147483648.')
  end

  if !@debug_log_tail.nil? && @debug_log_tail.to_s.length > 5000000
    invalid_properties.push('invalid value for "debug_log_tail", the character length must be smaller than or equal to 5000000.')
  end

  if !@error_log_tail.nil? && @error_log_tail.to_s.length > 5000000
    invalid_properties.push('invalid value for "error_log_tail", the character length must be smaller than or equal to 5000000.')
  end

  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



1874
1875
1876
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1874

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1880

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    if value.nil?
      is_nullable = self.class.openapi_nullable.include?(attr)
      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    end

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



1868
1869
1870
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1868

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'lib/cloudreactor_api_client/models/task_execution.rb', line 1037

def valid?
  return false if !@task_version_number.nil? && @task_version_number > 9223372036854775807
  return false if !@task_version_number.nil? && @task_version_number < -9223372036854775808
  return false if !@task_version_text.nil? && @task_version_text.to_s.length > 200
  return false if !@task_version_signature.nil? && @task_version_signature.to_s.length > 200
  return false if !@hostname.nil? && @hostname.to_s.length > 1000
  return false if @status.nil?
  return false if !@kill_error_code.nil? && @kill_error_code > 2147483647
  return false if !@kill_error_code.nil? && @kill_error_code < -2147483648
  return false if !@failed_attempts.nil? && @failed_attempts > 2147483647
  return false if !@failed_attempts.nil? && @failed_attempts < 0
  return false if !@timed_out_attempts.nil? && @timed_out_attempts > 2147483647
  return false if !@timed_out_attempts.nil? && @timed_out_attempts < 0
  return false if !@exit_code.nil? && @exit_code > 2147483647
  return false if !@exit_code.nil? && @exit_code < -2147483648
  return false if !@last_status_message.nil? && @last_status_message.to_s.length > 5000
  return false if !@error_count.nil? && @error_count > 9223372036854775807
  return false if !@error_count.nil? && @error_count < -9223372036854775808
  return false if !@skipped_count.nil? && @skipped_count > 9223372036854775807
  return false if !@skipped_count.nil? && @skipped_count < -9223372036854775808
  return false if !@expected_count.nil? && @expected_count > 9223372036854775807
  return false if !@expected_count.nil? && @expected_count < -9223372036854775808
  return false if !@success_count.nil? && @success_count > 9223372036854775807
  return false if !@success_count.nil? && @success_count < -9223372036854775808
  return false if !@current_cpu_units.nil? && @current_cpu_units > 2147483647
  return false if !@current_cpu_units.nil? && @current_cpu_units < 0
  return false if !@mean_cpu_units.nil? && @mean_cpu_units > 2147483647
  return false if !@mean_cpu_units.nil? && @mean_cpu_units < 0
  return false if !@max_cpu_units.nil? && @max_cpu_units > 2147483647
  return false if !@max_cpu_units.nil? && @max_cpu_units < -2147483648
  return false if !@current_memory_mb.nil? && @current_memory_mb > 2147483647
  return false if !@current_memory_mb.nil? && @current_memory_mb < 0
  return false if !@mean_memory_mb.nil? && @mean_memory_mb > 2147483647
  return false if !@mean_memory_mb.nil? && @mean_memory_mb < 0
  return false if !@max_memory_mb.nil? && @max_memory_mb > 2147483647
  return false if !@max_memory_mb.nil? && @max_memory_mb < -2147483648
  return false if !@wrapper_version.nil? && @wrapper_version.to_s.length > 200
  return false if !@wrapper_log_level.nil? && @wrapper_log_level.to_s.length > 20
  return false if !@deployment.nil? && @deployment.to_s.length > 200
  return false if !@process_command.nil? && @process_command.to_s.length > 5000
  return false if !@task_max_concurrency.nil? && @task_max_concurrency > 2147483647
  return false if !@task_max_concurrency.nil? && @task_max_concurrency < -2147483648
  return false if !@max_conflicting_age_seconds.nil? && @max_conflicting_age_seconds > 2147483647
  return false if !@max_conflicting_age_seconds.nil? && @max_conflicting_age_seconds < -2147483648
  return false if !@process_timeout_seconds.nil? && @process_timeout_seconds > 2147483647
  return false if !@process_timeout_seconds.nil? && @process_timeout_seconds < -2147483648
  return false if !@process_termination_grace_period_seconds.nil? && @process_termination_grace_period_seconds > 2147483647
  return false if !@process_termination_grace_period_seconds.nil? && @process_termination_grace_period_seconds < -2147483648
  return false if !@process_max_retries.nil? && @process_max_retries > 2147483647
  return false if !@process_max_retries.nil? && @process_max_retries < -2147483648
  return false if !@process_retry_delay_seconds.nil? && @process_retry_delay_seconds > 2147483647
  return false if !@process_retry_delay_seconds.nil? && @process_retry_delay_seconds < 0
  return false if !@schedule.nil? && @schedule.to_s.length > 1000
  return false if !@heartbeat_interval_seconds.nil? && @heartbeat_interval_seconds > 2147483647
  return false if !@heartbeat_interval_seconds.nil? && @heartbeat_interval_seconds < -2147483648
  return false if !@api_base_url.nil? && @api_base_url.to_s.length > 200
  return false if !@api_request_timeout_seconds.nil? && @api_request_timeout_seconds > 2147483647
  return false if !@api_request_timeout_seconds.nil? && @api_request_timeout_seconds < -2147483648
  return false if !@api_retry_delay_seconds.nil? && @api_retry_delay_seconds > 2147483647
  return false if !@api_retry_delay_seconds.nil? && @api_retry_delay_seconds < 0
  return false if !@api_resume_delay_seconds.nil? && @api_resume_delay_seconds > 2147483647
  return false if !@api_resume_delay_seconds.nil? && @api_resume_delay_seconds < 0
  return false if !@api_error_timeout_seconds.nil? && @api_error_timeout_seconds > 2147483647
  return false if !@api_error_timeout_seconds.nil? && @api_error_timeout_seconds < -2147483648
  return false if !@api_task_execution_creation_error_timeout_seconds.nil? && @api_task_execution_creation_error_timeout_seconds > 2147483647
  return false if !@api_task_execution_creation_error_timeout_seconds.nil? && @api_task_execution_creation_error_timeout_seconds < -2147483648
  return false if !@api_task_execution_creation_conflict_timeout_seconds.nil? && @api_task_execution_creation_conflict_timeout_seconds > 2147483647
  return false if !@api_task_execution_creation_conflict_timeout_seconds.nil? && @api_task_execution_creation_conflict_timeout_seconds < -2147483648
  return false if !@api_task_execution_creation_conflict_retry_delay_seconds.nil? && @api_task_execution_creation_conflict_retry_delay_seconds > 2147483647
  return false if !@api_task_execution_creation_conflict_retry_delay_seconds.nil? && @api_task_execution_creation_conflict_retry_delay_seconds < 0
  return false if !@api_final_update_timeout_seconds.nil? && @api_final_update_timeout_seconds > 2147483647
  return false if !@api_final_update_timeout_seconds.nil? && @api_final_update_timeout_seconds < -2147483648
  return false if !@status_update_interval_seconds.nil? && @status_update_interval_seconds > 2147483647
  return false if !@status_update_interval_seconds.nil? && @status_update_interval_seconds < -2147483648
  return false if !@status_update_port.nil? && @status_update_port > 2147483647
  return false if !@status_update_port.nil? && @status_update_port < -2147483648
  return false if !@status_update_message_max_bytes.nil? && @status_update_message_max_bytes > 2147483647
  return false if !@status_update_message_max_bytes.nil? && @status_update_message_max_bytes < -2147483648
  return false if !@debug_log_tail.nil? && @debug_log_tail.to_s.length > 5000000
  return false if !@error_log_tail.nil? && @error_log_tail.to_s.length > 5000000
  true
end