daytona_api_client 0.169.0 → 0.170.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/.openapi-generator/FILES +1 -0
- data/.openapi-generator/VERSION +1 -1
- data/lib/daytona_api_client/api/admin_api.rb +1 -1
- data/lib/daytona_api_client/api/api_keys_api.rb +1 -1
- data/lib/daytona_api_client/api/audit_api.rb +1 -1
- data/lib/daytona_api_client/api/config_api.rb +1 -1
- data/lib/daytona_api_client/api/docker_registry_api.rb +1 -1
- data/lib/daytona_api_client/api/health_api.rb +1 -1
- data/lib/daytona_api_client/api/jobs_api.rb +1 -1
- data/lib/daytona_api_client/api/object_storage_api.rb +1 -1
- data/lib/daytona_api_client/api/organizations_api.rb +1 -1
- data/lib/daytona_api_client/api/preview_api.rb +1 -1
- data/lib/daytona_api_client/api/regions_api.rb +1 -1
- data/lib/daytona_api_client/api/runners_api.rb +1 -1
- data/lib/daytona_api_client/api/sandbox_api.rb +4 -4
- data/lib/daytona_api_client/api/snapshots_api.rb +3 -3
- data/lib/daytona_api_client/api/toolbox_api.rb +1 -1
- data/lib/daytona_api_client/api/users_api.rb +1 -1
- data/lib/daytona_api_client/api/volumes_api.rb +1 -1
- data/lib/daytona_api_client/api/webhooks_api.rb +1 -1
- data/lib/daytona_api_client/api/workspace_api.rb +1 -1
- data/lib/daytona_api_client/api_client.rb +7 -3
- data/lib/daytona_api_client/api_error.rb +1 -1
- data/lib/daytona_api_client/api_model_base.rb +88 -0
- data/lib/daytona_api_client/configuration.rb +1 -1
- data/lib/daytona_api_client/models/account_provider.rb +2 -75
- data/lib/daytona_api_client/models/admin_create_runner.rb +2 -75
- data/lib/daytona_api_client/models/admin_get_webhook_status200_response.rb +2 -75
- data/lib/daytona_api_client/models/announcement.rb +2 -75
- data/lib/daytona_api_client/models/api_key_list.rb +2 -75
- data/lib/daytona_api_client/models/api_key_response.rb +2 -75
- data/lib/daytona_api_client/models/audit_log.rb +2 -75
- data/lib/daytona_api_client/models/build_info.rb +2 -75
- data/lib/daytona_api_client/models/command.rb +2 -75
- data/lib/daytona_api_client/models/completion_context.rb +2 -75
- data/lib/daytona_api_client/models/completion_item.rb +2 -75
- data/lib/daytona_api_client/models/completion_list.rb +2 -75
- data/lib/daytona_api_client/models/compressed_screenshot_response.rb +2 -75
- data/lib/daytona_api_client/models/computer_use_start_response.rb +2 -75
- data/lib/daytona_api_client/models/computer_use_status_response.rb +4 -77
- data/lib/daytona_api_client/models/computer_use_stop_response.rb +2 -75
- data/lib/daytona_api_client/models/create_api_key.rb +2 -75
- data/lib/daytona_api_client/models/create_build_info.rb +2 -75
- data/lib/daytona_api_client/models/create_docker_registry.rb +2 -75
- data/lib/daytona_api_client/models/create_linked_account.rb +2 -75
- data/lib/daytona_api_client/models/create_organization.rb +2 -75
- data/lib/daytona_api_client/models/create_organization_invitation.rb +4 -77
- data/lib/daytona_api_client/models/create_organization_quota.rb +2 -75
- data/lib/daytona_api_client/models/create_organization_role.rb +2 -75
- data/lib/daytona_api_client/models/create_region.rb +2 -75
- data/lib/daytona_api_client/models/create_region_response.rb +2 -75
- data/lib/daytona_api_client/models/create_runner.rb +2 -75
- data/lib/daytona_api_client/models/create_runner_response.rb +2 -75
- data/lib/daytona_api_client/models/create_sandbox.rb +4 -77
- data/lib/daytona_api_client/models/create_sandbox_snapshot.rb +2 -75
- data/lib/daytona_api_client/models/create_session_request.rb +2 -75
- data/lib/daytona_api_client/models/create_snapshot.rb +2 -75
- data/lib/daytona_api_client/models/create_user.rb +4 -77
- data/lib/daytona_api_client/models/create_volume.rb +2 -75
- data/lib/daytona_api_client/models/create_workspace.rb +6 -79
- data/lib/daytona_api_client/models/daytona_configuration.rb +2 -75
- data/lib/daytona_api_client/models/display_info_response.rb +2 -75
- data/lib/daytona_api_client/models/docker_registry.rb +4 -77
- data/lib/daytona_api_client/models/download_files.rb +2 -75
- data/lib/daytona_api_client/models/execute_request.rb +2 -75
- data/lib/daytona_api_client/models/execute_response.rb +2 -75
- data/lib/daytona_api_client/models/file_info.rb +2 -75
- data/lib/daytona_api_client/models/file_status.rb +2 -75
- data/lib/daytona_api_client/models/fork_sandbox.rb +2 -75
- data/lib/daytona_api_client/models/git_add_request.rb +2 -75
- data/lib/daytona_api_client/models/git_branch_request.rb +2 -75
- data/lib/daytona_api_client/models/git_checkout_request.rb +2 -75
- data/lib/daytona_api_client/models/git_clone_request.rb +2 -75
- data/lib/daytona_api_client/models/git_commit_info.rb +2 -75
- data/lib/daytona_api_client/models/git_commit_request.rb +2 -75
- data/lib/daytona_api_client/models/git_commit_response.rb +2 -75
- data/lib/daytona_api_client/models/git_delete_branch_request.rb +2 -75
- data/lib/daytona_api_client/models/git_repo_request.rb +2 -75
- data/lib/daytona_api_client/models/git_status.rb +2 -75
- data/lib/daytona_api_client/models/health_controller_check200_response.rb +2 -75
- data/lib/daytona_api_client/models/health_controller_check200_response_info_value.rb +2 -75
- data/lib/daytona_api_client/models/health_controller_check503_response.rb +2 -75
- data/lib/daytona_api_client/models/job.rb +4 -77
- data/lib/daytona_api_client/models/job_status.rb +4 -3
- data/lib/daytona_api_client/models/job_type.rb +4 -3
- data/lib/daytona_api_client/models/keyboard_hotkey_request.rb +2 -75
- data/lib/daytona_api_client/models/keyboard_press_request.rb +2 -75
- data/lib/daytona_api_client/models/keyboard_type_request.rb +2 -75
- data/lib/daytona_api_client/models/list_branch_response.rb +2 -75
- data/lib/daytona_api_client/models/log_entry.rb +2 -75
- data/lib/daytona_api_client/models/lsp_completion_params.rb +2 -75
- data/lib/daytona_api_client/models/lsp_document_request.rb +2 -75
- data/lib/daytona_api_client/models/lsp_location.rb +2 -75
- data/lib/daytona_api_client/models/lsp_server_request.rb +2 -75
- data/lib/daytona_api_client/models/lsp_symbol.rb +2 -75
- data/lib/daytona_api_client/models/match.rb +2 -75
- data/lib/daytona_api_client/models/metric_data_point.rb +2 -75
- data/lib/daytona_api_client/models/metric_series.rb +2 -75
- data/lib/daytona_api_client/models/metrics_response.rb +2 -75
- data/lib/daytona_api_client/models/mouse_click_request.rb +2 -75
- data/lib/daytona_api_client/models/mouse_click_response.rb +2 -75
- data/lib/daytona_api_client/models/mouse_drag_request.rb +2 -75
- data/lib/daytona_api_client/models/mouse_drag_response.rb +2 -75
- data/lib/daytona_api_client/models/mouse_move_request.rb +2 -75
- data/lib/daytona_api_client/models/mouse_move_response.rb +2 -75
- data/lib/daytona_api_client/models/mouse_position.rb +2 -75
- data/lib/daytona_api_client/models/mouse_scroll_request.rb +2 -75
- data/lib/daytona_api_client/models/mouse_scroll_response.rb +2 -75
- data/lib/daytona_api_client/models/oidc_config.rb +2 -75
- data/lib/daytona_api_client/models/organization.rb +2 -75
- data/lib/daytona_api_client/models/organization_invitation.rb +6 -79
- data/lib/daytona_api_client/models/organization_role.rb +2 -75
- data/lib/daytona_api_client/models/organization_sandbox_default_limited_network_egress.rb +2 -75
- data/lib/daytona_api_client/models/organization_suspension.rb +2 -75
- data/lib/daytona_api_client/models/organization_usage_overview.rb +2 -75
- data/lib/daytona_api_client/models/organization_user.rb +4 -77
- data/lib/daytona_api_client/models/otel_config.rb +2 -75
- data/lib/daytona_api_client/models/paginated_audit_logs.rb +2 -75
- data/lib/daytona_api_client/models/paginated_jobs.rb +2 -75
- data/lib/daytona_api_client/models/paginated_logs.rb +2 -75
- data/lib/daytona_api_client/models/paginated_sandboxes.rb +2 -75
- data/lib/daytona_api_client/models/paginated_snapshots.rb +2 -75
- data/lib/daytona_api_client/models/paginated_traces.rb +2 -75
- data/lib/daytona_api_client/models/poll_jobs_response.rb +2 -75
- data/lib/daytona_api_client/models/port_preview_url.rb +2 -75
- data/lib/daytona_api_client/models/position.rb +2 -75
- data/lib/daytona_api_client/models/posthog_config.rb +2 -75
- data/lib/daytona_api_client/models/process_errors_response.rb +2 -75
- data/lib/daytona_api_client/models/process_logs_response.rb +2 -75
- data/lib/daytona_api_client/models/process_restart_response.rb +2 -75
- data/lib/daytona_api_client/models/process_status_response.rb +2 -75
- data/lib/daytona_api_client/models/project_dir_response.rb +2 -75
- data/lib/daytona_api_client/models/pty_create_request.rb +2 -75
- data/lib/daytona_api_client/models/pty_create_response.rb +2 -75
- data/lib/daytona_api_client/models/pty_list_response.rb +2 -75
- data/lib/daytona_api_client/models/pty_resize_request.rb +2 -75
- data/lib/daytona_api_client/models/pty_session_info.rb +2 -75
- data/lib/daytona_api_client/models/range.rb +2 -75
- data/lib/daytona_api_client/models/rate_limit_config.rb +2 -75
- data/lib/daytona_api_client/models/rate_limit_entry.rb +2 -75
- data/lib/daytona_api_client/models/regenerate_api_key_response.rb +2 -75
- data/lib/daytona_api_client/models/region.rb +2 -75
- data/lib/daytona_api_client/models/region_quota.rb +2 -75
- data/lib/daytona_api_client/models/region_screenshot_response.rb +2 -75
- data/lib/daytona_api_client/models/region_type.rb +4 -3
- data/lib/daytona_api_client/models/region_usage_overview.rb +2 -75
- data/lib/daytona_api_client/models/registry_push_access_dto.rb +2 -75
- data/lib/daytona_api_client/models/replace_request.rb +2 -75
- data/lib/daytona_api_client/models/replace_result.rb +2 -75
- data/lib/daytona_api_client/models/resize_sandbox.rb +2 -75
- data/lib/daytona_api_client/models/runner.rb +2 -75
- data/lib/daytona_api_client/models/runner_class.rb +4 -3
- data/lib/daytona_api_client/models/runner_full.rb +2 -75
- data/lib/daytona_api_client/models/runner_health_metrics.rb +2 -75
- data/lib/daytona_api_client/models/runner_healthcheck.rb +2 -75
- data/lib/daytona_api_client/models/runner_service_health.rb +2 -75
- data/lib/daytona_api_client/models/runner_snapshot_dto.rb +2 -75
- data/lib/daytona_api_client/models/runner_state.rb +4 -3
- data/lib/daytona_api_client/models/sandbox.rb +6 -79
- data/lib/daytona_api_client/models/sandbox_class.rb +4 -3
- data/lib/daytona_api_client/models/sandbox_desired_state.rb +4 -3
- data/lib/daytona_api_client/models/sandbox_info.rb +2 -75
- data/lib/daytona_api_client/models/sandbox_labels.rb +2 -75
- data/lib/daytona_api_client/models/sandbox_state.rb +4 -3
- data/lib/daytona_api_client/models/sandbox_volume.rb +2 -75
- data/lib/daytona_api_client/models/screenshot_response.rb +2 -75
- data/lib/daytona_api_client/models/search_files_response.rb +2 -75
- data/lib/daytona_api_client/models/send_webhook_dto.rb +2 -75
- data/lib/daytona_api_client/models/session.rb +2 -75
- data/lib/daytona_api_client/models/session_execute_request.rb +2 -75
- data/lib/daytona_api_client/models/session_execute_response.rb +2 -75
- data/lib/daytona_api_client/models/set_snapshot_general_status_dto.rb +2 -75
- data/lib/daytona_api_client/models/signed_port_preview_url.rb +2 -75
- data/lib/daytona_api_client/models/snapshot_dto.rb +2 -75
- data/lib/daytona_api_client/models/snapshot_manager_credentials.rb +2 -75
- data/lib/daytona_api_client/models/snapshot_state.rb +4 -3
- data/lib/daytona_api_client/models/ssh_access_dto.rb +2 -75
- data/lib/daytona_api_client/models/ssh_access_validation_dto.rb +2 -75
- data/lib/daytona_api_client/models/storage_access_dto.rb +2 -75
- data/lib/daytona_api_client/models/toolbox_proxy_url.rb +2 -75
- data/lib/daytona_api_client/models/trace_span.rb +2 -75
- data/lib/daytona_api_client/models/trace_summary.rb +2 -75
- data/lib/daytona_api_client/models/update_docker_registry.rb +2 -75
- data/lib/daytona_api_client/models/update_job_status.rb +2 -75
- data/lib/daytona_api_client/models/update_organization_default_region.rb +2 -75
- data/lib/daytona_api_client/models/update_organization_invitation.rb +4 -77
- data/lib/daytona_api_client/models/update_organization_member_access.rb +4 -77
- data/lib/daytona_api_client/models/update_organization_quota.rb +2 -75
- data/lib/daytona_api_client/models/update_organization_region_quota.rb +2 -75
- data/lib/daytona_api_client/models/update_organization_role.rb +2 -75
- data/lib/daytona_api_client/models/update_region.rb +2 -75
- data/lib/daytona_api_client/models/update_sandbox_network_settings.rb +2 -75
- data/lib/daytona_api_client/models/update_sandbox_state_dto.rb +4 -77
- data/lib/daytona_api_client/models/url.rb +2 -75
- data/lib/daytona_api_client/models/user.rb +2 -75
- data/lib/daytona_api_client/models/user_home_dir_response.rb +2 -75
- data/lib/daytona_api_client/models/user_public_key.rb +2 -75
- data/lib/daytona_api_client/models/volume_dto.rb +2 -75
- data/lib/daytona_api_client/models/volume_state.rb +4 -3
- data/lib/daytona_api_client/models/webhook_app_portal_access.rb +2 -75
- data/lib/daytona_api_client/models/webhook_event.rb +4 -3
- data/lib/daytona_api_client/models/webhook_initialization_status.rb +2 -75
- data/lib/daytona_api_client/models/windows_response.rb +2 -75
- data/lib/daytona_api_client/models/work_dir_response.rb +2 -75
- data/lib/daytona_api_client/models/workspace.rb +8 -81
- data/lib/daytona_api_client/models/workspace_port_preview_url.rb +2 -75
- data/lib/daytona_api_client/version.rb +2 -2
- data/lib/daytona_api_client.rb +2 -1
- data/project.json +6 -2
- metadata +2 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@daytona.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module DaytonaApiClient
|
|
17
|
-
class Runner
|
|
17
|
+
class Runner < ApiModelBase
|
|
18
18
|
# The ID of the runner
|
|
19
19
|
attr_accessor :id
|
|
20
20
|
|
|
@@ -677,61 +677,6 @@ module DaytonaApiClient
|
|
|
677
677
|
new(transformed_hash)
|
|
678
678
|
end
|
|
679
679
|
|
|
680
|
-
# Deserializes the data based on type
|
|
681
|
-
# @param string type Data type
|
|
682
|
-
# @param string value Value to be deserialized
|
|
683
|
-
# @return [Object] Deserialized data
|
|
684
|
-
def self._deserialize(type, value)
|
|
685
|
-
case type.to_sym
|
|
686
|
-
when :Time
|
|
687
|
-
Time.parse(value)
|
|
688
|
-
when :Date
|
|
689
|
-
Date.parse(value)
|
|
690
|
-
when :String
|
|
691
|
-
value.to_s
|
|
692
|
-
when :Integer
|
|
693
|
-
value.to_i
|
|
694
|
-
when :Float
|
|
695
|
-
value.to_f
|
|
696
|
-
when :Boolean
|
|
697
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
698
|
-
true
|
|
699
|
-
else
|
|
700
|
-
false
|
|
701
|
-
end
|
|
702
|
-
when :Object
|
|
703
|
-
# generic object (usually a Hash), return directly
|
|
704
|
-
value
|
|
705
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
706
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
707
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
708
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
709
|
-
k_type = Regexp.last_match[:k_type]
|
|
710
|
-
v_type = Regexp.last_match[:v_type]
|
|
711
|
-
{}.tap do |hash|
|
|
712
|
-
value.each do |k, v|
|
|
713
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
714
|
-
end
|
|
715
|
-
end
|
|
716
|
-
else # model
|
|
717
|
-
# models (e.g. Pet) or oneOf
|
|
718
|
-
klass = DaytonaApiClient.const_get(type)
|
|
719
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
720
|
-
end
|
|
721
|
-
end
|
|
722
|
-
|
|
723
|
-
# Returns the string representation of the object
|
|
724
|
-
# @return [String] String presentation of the object
|
|
725
|
-
def to_s
|
|
726
|
-
to_hash.to_s
|
|
727
|
-
end
|
|
728
|
-
|
|
729
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
730
|
-
# @return [Hash] Returns the object in the form of hash
|
|
731
|
-
def to_body
|
|
732
|
-
to_hash
|
|
733
|
-
end
|
|
734
|
-
|
|
735
680
|
# Returns the object in the form of hash
|
|
736
681
|
# @return [Hash] Returns the object in the form of hash
|
|
737
682
|
def to_hash
|
|
@@ -748,24 +693,6 @@ module DaytonaApiClient
|
|
|
748
693
|
hash
|
|
749
694
|
end
|
|
750
695
|
|
|
751
|
-
# Outputs non-array value in the form of hash
|
|
752
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
753
|
-
# @param [Object] value Any valid value
|
|
754
|
-
# @return [Hash] Returns the value in the form of hash
|
|
755
|
-
def _to_hash(value)
|
|
756
|
-
if value.is_a?(Array)
|
|
757
|
-
value.compact.map { |v| _to_hash(v) }
|
|
758
|
-
elsif value.is_a?(Hash)
|
|
759
|
-
{}.tap do |hash|
|
|
760
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
761
|
-
end
|
|
762
|
-
elsif value.respond_to? :to_hash
|
|
763
|
-
value.to_hash
|
|
764
|
-
else
|
|
765
|
-
value
|
|
766
|
-
end
|
|
767
|
-
end
|
|
768
|
-
|
|
769
696
|
end
|
|
770
697
|
|
|
771
698
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@daytona.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,9 +17,10 @@ module DaytonaApiClient
|
|
|
17
17
|
class RunnerClass
|
|
18
18
|
CONTAINER = "container".freeze
|
|
19
19
|
VM = "vm".freeze
|
|
20
|
+
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze
|
|
20
21
|
|
|
21
22
|
def self.all_vars
|
|
22
|
-
@all_vars ||= [CONTAINER, VM].freeze
|
|
23
|
+
@all_vars ||= [CONTAINER, VM, UNKNOWN_DEFAULT_OPEN_API].freeze
|
|
23
24
|
end
|
|
24
25
|
|
|
25
26
|
# Builds the enum from string
|
|
@@ -34,7 +35,7 @@ module DaytonaApiClient
|
|
|
34
35
|
# @return [String] The enum value
|
|
35
36
|
def build_from_hash(value)
|
|
36
37
|
return value if RunnerClass.all_vars.include?(value)
|
|
37
|
-
|
|
38
|
+
UNKNOWN_DEFAULT_OPEN_API
|
|
38
39
|
end
|
|
39
40
|
end
|
|
40
41
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@daytona.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module DaytonaApiClient
|
|
17
|
-
class RunnerFull
|
|
17
|
+
class RunnerFull < ApiModelBase
|
|
18
18
|
# The ID of the runner
|
|
19
19
|
attr_accessor :id
|
|
20
20
|
|
|
@@ -714,61 +714,6 @@ module DaytonaApiClient
|
|
|
714
714
|
new(transformed_hash)
|
|
715
715
|
end
|
|
716
716
|
|
|
717
|
-
# Deserializes the data based on type
|
|
718
|
-
# @param string type Data type
|
|
719
|
-
# @param string value Value to be deserialized
|
|
720
|
-
# @return [Object] Deserialized data
|
|
721
|
-
def self._deserialize(type, value)
|
|
722
|
-
case type.to_sym
|
|
723
|
-
when :Time
|
|
724
|
-
Time.parse(value)
|
|
725
|
-
when :Date
|
|
726
|
-
Date.parse(value)
|
|
727
|
-
when :String
|
|
728
|
-
value.to_s
|
|
729
|
-
when :Integer
|
|
730
|
-
value.to_i
|
|
731
|
-
when :Float
|
|
732
|
-
value.to_f
|
|
733
|
-
when :Boolean
|
|
734
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
735
|
-
true
|
|
736
|
-
else
|
|
737
|
-
false
|
|
738
|
-
end
|
|
739
|
-
when :Object
|
|
740
|
-
# generic object (usually a Hash), return directly
|
|
741
|
-
value
|
|
742
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
743
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
744
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
745
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
746
|
-
k_type = Regexp.last_match[:k_type]
|
|
747
|
-
v_type = Regexp.last_match[:v_type]
|
|
748
|
-
{}.tap do |hash|
|
|
749
|
-
value.each do |k, v|
|
|
750
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
751
|
-
end
|
|
752
|
-
end
|
|
753
|
-
else # model
|
|
754
|
-
# models (e.g. Pet) or oneOf
|
|
755
|
-
klass = DaytonaApiClient.const_get(type)
|
|
756
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
757
|
-
end
|
|
758
|
-
end
|
|
759
|
-
|
|
760
|
-
# Returns the string representation of the object
|
|
761
|
-
# @return [String] String presentation of the object
|
|
762
|
-
def to_s
|
|
763
|
-
to_hash.to_s
|
|
764
|
-
end
|
|
765
|
-
|
|
766
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
767
|
-
# @return [Hash] Returns the object in the form of hash
|
|
768
|
-
def to_body
|
|
769
|
-
to_hash
|
|
770
|
-
end
|
|
771
|
-
|
|
772
717
|
# Returns the object in the form of hash
|
|
773
718
|
# @return [Hash] Returns the object in the form of hash
|
|
774
719
|
def to_hash
|
|
@@ -785,24 +730,6 @@ module DaytonaApiClient
|
|
|
785
730
|
hash
|
|
786
731
|
end
|
|
787
732
|
|
|
788
|
-
# Outputs non-array value in the form of hash
|
|
789
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
790
|
-
# @param [Object] value Any valid value
|
|
791
|
-
# @return [Hash] Returns the value in the form of hash
|
|
792
|
-
def _to_hash(value)
|
|
793
|
-
if value.is_a?(Array)
|
|
794
|
-
value.compact.map { |v| _to_hash(v) }
|
|
795
|
-
elsif value.is_a?(Hash)
|
|
796
|
-
{}.tap do |hash|
|
|
797
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
798
|
-
end
|
|
799
|
-
elsif value.respond_to? :to_hash
|
|
800
|
-
value.to_hash
|
|
801
|
-
else
|
|
802
|
-
value
|
|
803
|
-
end
|
|
804
|
-
end
|
|
805
|
-
|
|
806
733
|
end
|
|
807
734
|
|
|
808
735
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@daytona.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module DaytonaApiClient
|
|
17
|
-
class RunnerHealthMetrics
|
|
17
|
+
class RunnerHealthMetrics < ApiModelBase
|
|
18
18
|
# Current CPU load average
|
|
19
19
|
attr_accessor :current_cpu_load_average
|
|
20
20
|
|
|
@@ -441,61 +441,6 @@ module DaytonaApiClient
|
|
|
441
441
|
new(transformed_hash)
|
|
442
442
|
end
|
|
443
443
|
|
|
444
|
-
# Deserializes the data based on type
|
|
445
|
-
# @param string type Data type
|
|
446
|
-
# @param string value Value to be deserialized
|
|
447
|
-
# @return [Object] Deserialized data
|
|
448
|
-
def self._deserialize(type, value)
|
|
449
|
-
case type.to_sym
|
|
450
|
-
when :Time
|
|
451
|
-
Time.parse(value)
|
|
452
|
-
when :Date
|
|
453
|
-
Date.parse(value)
|
|
454
|
-
when :String
|
|
455
|
-
value.to_s
|
|
456
|
-
when :Integer
|
|
457
|
-
value.to_i
|
|
458
|
-
when :Float
|
|
459
|
-
value.to_f
|
|
460
|
-
when :Boolean
|
|
461
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
462
|
-
true
|
|
463
|
-
else
|
|
464
|
-
false
|
|
465
|
-
end
|
|
466
|
-
when :Object
|
|
467
|
-
# generic object (usually a Hash), return directly
|
|
468
|
-
value
|
|
469
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
470
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
471
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
472
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
473
|
-
k_type = Regexp.last_match[:k_type]
|
|
474
|
-
v_type = Regexp.last_match[:v_type]
|
|
475
|
-
{}.tap do |hash|
|
|
476
|
-
value.each do |k, v|
|
|
477
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
478
|
-
end
|
|
479
|
-
end
|
|
480
|
-
else # model
|
|
481
|
-
# models (e.g. Pet) or oneOf
|
|
482
|
-
klass = DaytonaApiClient.const_get(type)
|
|
483
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
484
|
-
end
|
|
485
|
-
end
|
|
486
|
-
|
|
487
|
-
# Returns the string representation of the object
|
|
488
|
-
# @return [String] String presentation of the object
|
|
489
|
-
def to_s
|
|
490
|
-
to_hash.to_s
|
|
491
|
-
end
|
|
492
|
-
|
|
493
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
494
|
-
# @return [Hash] Returns the object in the form of hash
|
|
495
|
-
def to_body
|
|
496
|
-
to_hash
|
|
497
|
-
end
|
|
498
|
-
|
|
499
444
|
# Returns the object in the form of hash
|
|
500
445
|
# @return [Hash] Returns the object in the form of hash
|
|
501
446
|
def to_hash
|
|
@@ -512,24 +457,6 @@ module DaytonaApiClient
|
|
|
512
457
|
hash
|
|
513
458
|
end
|
|
514
459
|
|
|
515
|
-
# Outputs non-array value in the form of hash
|
|
516
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
517
|
-
# @param [Object] value Any valid value
|
|
518
|
-
# @return [Hash] Returns the value in the form of hash
|
|
519
|
-
def _to_hash(value)
|
|
520
|
-
if value.is_a?(Array)
|
|
521
|
-
value.compact.map { |v| _to_hash(v) }
|
|
522
|
-
elsif value.is_a?(Hash)
|
|
523
|
-
{}.tap do |hash|
|
|
524
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
525
|
-
end
|
|
526
|
-
elsif value.respond_to? :to_hash
|
|
527
|
-
value.to_hash
|
|
528
|
-
else
|
|
529
|
-
value
|
|
530
|
-
end
|
|
531
|
-
end
|
|
532
|
-
|
|
533
460
|
end
|
|
534
461
|
|
|
535
462
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@daytona.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module DaytonaApiClient
|
|
17
|
-
class RunnerHealthcheck
|
|
17
|
+
class RunnerHealthcheck < ApiModelBase
|
|
18
18
|
# Runner metrics
|
|
19
19
|
attr_accessor :metrics
|
|
20
20
|
|
|
@@ -196,61 +196,6 @@ module DaytonaApiClient
|
|
|
196
196
|
new(transformed_hash)
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
-
# Deserializes the data based on type
|
|
200
|
-
# @param string type Data type
|
|
201
|
-
# @param string value Value to be deserialized
|
|
202
|
-
# @return [Object] Deserialized data
|
|
203
|
-
def self._deserialize(type, value)
|
|
204
|
-
case type.to_sym
|
|
205
|
-
when :Time
|
|
206
|
-
Time.parse(value)
|
|
207
|
-
when :Date
|
|
208
|
-
Date.parse(value)
|
|
209
|
-
when :String
|
|
210
|
-
value.to_s
|
|
211
|
-
when :Integer
|
|
212
|
-
value.to_i
|
|
213
|
-
when :Float
|
|
214
|
-
value.to_f
|
|
215
|
-
when :Boolean
|
|
216
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
217
|
-
true
|
|
218
|
-
else
|
|
219
|
-
false
|
|
220
|
-
end
|
|
221
|
-
when :Object
|
|
222
|
-
# generic object (usually a Hash), return directly
|
|
223
|
-
value
|
|
224
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
225
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
226
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
227
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
228
|
-
k_type = Regexp.last_match[:k_type]
|
|
229
|
-
v_type = Regexp.last_match[:v_type]
|
|
230
|
-
{}.tap do |hash|
|
|
231
|
-
value.each do |k, v|
|
|
232
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
233
|
-
end
|
|
234
|
-
end
|
|
235
|
-
else # model
|
|
236
|
-
# models (e.g. Pet) or oneOf
|
|
237
|
-
klass = DaytonaApiClient.const_get(type)
|
|
238
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
239
|
-
end
|
|
240
|
-
end
|
|
241
|
-
|
|
242
|
-
# Returns the string representation of the object
|
|
243
|
-
# @return [String] String presentation of the object
|
|
244
|
-
def to_s
|
|
245
|
-
to_hash.to_s
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
249
|
-
# @return [Hash] Returns the object in the form of hash
|
|
250
|
-
def to_body
|
|
251
|
-
to_hash
|
|
252
|
-
end
|
|
253
|
-
|
|
254
199
|
# Returns the object in the form of hash
|
|
255
200
|
# @return [Hash] Returns the object in the form of hash
|
|
256
201
|
def to_hash
|
|
@@ -267,24 +212,6 @@ module DaytonaApiClient
|
|
|
267
212
|
hash
|
|
268
213
|
end
|
|
269
214
|
|
|
270
|
-
# Outputs non-array value in the form of hash
|
|
271
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
272
|
-
# @param [Object] value Any valid value
|
|
273
|
-
# @return [Hash] Returns the value in the form of hash
|
|
274
|
-
def _to_hash(value)
|
|
275
|
-
if value.is_a?(Array)
|
|
276
|
-
value.compact.map { |v| _to_hash(v) }
|
|
277
|
-
elsif value.is_a?(Hash)
|
|
278
|
-
{}.tap do |hash|
|
|
279
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
280
|
-
end
|
|
281
|
-
elsif value.respond_to? :to_hash
|
|
282
|
-
value.to_hash
|
|
283
|
-
else
|
|
284
|
-
value
|
|
285
|
-
end
|
|
286
|
-
end
|
|
287
|
-
|
|
288
215
|
end
|
|
289
216
|
|
|
290
217
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@daytona.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module DaytonaApiClient
|
|
17
|
-
class RunnerServiceHealth
|
|
17
|
+
class RunnerServiceHealth < ApiModelBase
|
|
18
18
|
# Name of the service being checked
|
|
19
19
|
attr_accessor :service_name
|
|
20
20
|
|
|
@@ -181,61 +181,6 @@ module DaytonaApiClient
|
|
|
181
181
|
new(transformed_hash)
|
|
182
182
|
end
|
|
183
183
|
|
|
184
|
-
# Deserializes the data based on type
|
|
185
|
-
# @param string type Data type
|
|
186
|
-
# @param string value Value to be deserialized
|
|
187
|
-
# @return [Object] Deserialized data
|
|
188
|
-
def self._deserialize(type, value)
|
|
189
|
-
case type.to_sym
|
|
190
|
-
when :Time
|
|
191
|
-
Time.parse(value)
|
|
192
|
-
when :Date
|
|
193
|
-
Date.parse(value)
|
|
194
|
-
when :String
|
|
195
|
-
value.to_s
|
|
196
|
-
when :Integer
|
|
197
|
-
value.to_i
|
|
198
|
-
when :Float
|
|
199
|
-
value.to_f
|
|
200
|
-
when :Boolean
|
|
201
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
202
|
-
true
|
|
203
|
-
else
|
|
204
|
-
false
|
|
205
|
-
end
|
|
206
|
-
when :Object
|
|
207
|
-
# generic object (usually a Hash), return directly
|
|
208
|
-
value
|
|
209
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
210
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
211
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
212
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
213
|
-
k_type = Regexp.last_match[:k_type]
|
|
214
|
-
v_type = Regexp.last_match[:v_type]
|
|
215
|
-
{}.tap do |hash|
|
|
216
|
-
value.each do |k, v|
|
|
217
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
218
|
-
end
|
|
219
|
-
end
|
|
220
|
-
else # model
|
|
221
|
-
# models (e.g. Pet) or oneOf
|
|
222
|
-
klass = DaytonaApiClient.const_get(type)
|
|
223
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
224
|
-
end
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
# Returns the string representation of the object
|
|
228
|
-
# @return [String] String presentation of the object
|
|
229
|
-
def to_s
|
|
230
|
-
to_hash.to_s
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
234
|
-
# @return [Hash] Returns the object in the form of hash
|
|
235
|
-
def to_body
|
|
236
|
-
to_hash
|
|
237
|
-
end
|
|
238
|
-
|
|
239
184
|
# Returns the object in the form of hash
|
|
240
185
|
# @return [Hash] Returns the object in the form of hash
|
|
241
186
|
def to_hash
|
|
@@ -252,24 +197,6 @@ module DaytonaApiClient
|
|
|
252
197
|
hash
|
|
253
198
|
end
|
|
254
199
|
|
|
255
|
-
# Outputs non-array value in the form of hash
|
|
256
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
257
|
-
# @param [Object] value Any valid value
|
|
258
|
-
# @return [Hash] Returns the value in the form of hash
|
|
259
|
-
def _to_hash(value)
|
|
260
|
-
if value.is_a?(Array)
|
|
261
|
-
value.compact.map { |v| _to_hash(v) }
|
|
262
|
-
elsif value.is_a?(Hash)
|
|
263
|
-
{}.tap do |hash|
|
|
264
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
265
|
-
end
|
|
266
|
-
elsif value.respond_to? :to_hash
|
|
267
|
-
value.to_hash
|
|
268
|
-
else
|
|
269
|
-
value
|
|
270
|
-
end
|
|
271
|
-
end
|
|
272
|
-
|
|
273
200
|
end
|
|
274
201
|
|
|
275
202
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@daytona.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module DaytonaApiClient
|
|
17
|
-
class RunnerSnapshotDto
|
|
17
|
+
class RunnerSnapshotDto < ApiModelBase
|
|
18
18
|
# Runner snapshot ID
|
|
19
19
|
attr_accessor :runner_snapshot_id
|
|
20
20
|
|
|
@@ -181,61 +181,6 @@ module DaytonaApiClient
|
|
|
181
181
|
new(transformed_hash)
|
|
182
182
|
end
|
|
183
183
|
|
|
184
|
-
# Deserializes the data based on type
|
|
185
|
-
# @param string type Data type
|
|
186
|
-
# @param string value Value to be deserialized
|
|
187
|
-
# @return [Object] Deserialized data
|
|
188
|
-
def self._deserialize(type, value)
|
|
189
|
-
case type.to_sym
|
|
190
|
-
when :Time
|
|
191
|
-
Time.parse(value)
|
|
192
|
-
when :Date
|
|
193
|
-
Date.parse(value)
|
|
194
|
-
when :String
|
|
195
|
-
value.to_s
|
|
196
|
-
when :Integer
|
|
197
|
-
value.to_i
|
|
198
|
-
when :Float
|
|
199
|
-
value.to_f
|
|
200
|
-
when :Boolean
|
|
201
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
202
|
-
true
|
|
203
|
-
else
|
|
204
|
-
false
|
|
205
|
-
end
|
|
206
|
-
when :Object
|
|
207
|
-
# generic object (usually a Hash), return directly
|
|
208
|
-
value
|
|
209
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
210
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
211
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
212
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
213
|
-
k_type = Regexp.last_match[:k_type]
|
|
214
|
-
v_type = Regexp.last_match[:v_type]
|
|
215
|
-
{}.tap do |hash|
|
|
216
|
-
value.each do |k, v|
|
|
217
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
218
|
-
end
|
|
219
|
-
end
|
|
220
|
-
else # model
|
|
221
|
-
# models (e.g. Pet) or oneOf
|
|
222
|
-
klass = DaytonaApiClient.const_get(type)
|
|
223
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
224
|
-
end
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
# Returns the string representation of the object
|
|
228
|
-
# @return [String] String presentation of the object
|
|
229
|
-
def to_s
|
|
230
|
-
to_hash.to_s
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
234
|
-
# @return [Hash] Returns the object in the form of hash
|
|
235
|
-
def to_body
|
|
236
|
-
to_hash
|
|
237
|
-
end
|
|
238
|
-
|
|
239
184
|
# Returns the object in the form of hash
|
|
240
185
|
# @return [Hash] Returns the object in the form of hash
|
|
241
186
|
def to_hash
|
|
@@ -252,24 +197,6 @@ module DaytonaApiClient
|
|
|
252
197
|
hash
|
|
253
198
|
end
|
|
254
199
|
|
|
255
|
-
# Outputs non-array value in the form of hash
|
|
256
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
257
|
-
# @param [Object] value Any valid value
|
|
258
|
-
# @return [Hash] Returns the value in the form of hash
|
|
259
|
-
def _to_hash(value)
|
|
260
|
-
if value.is_a?(Array)
|
|
261
|
-
value.compact.map { |v| _to_hash(v) }
|
|
262
|
-
elsif value.is_a?(Hash)
|
|
263
|
-
{}.tap do |hash|
|
|
264
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
265
|
-
end
|
|
266
|
-
elsif value.respond_to? :to_hash
|
|
267
|
-
value.to_hash
|
|
268
|
-
else
|
|
269
|
-
value
|
|
270
|
-
end
|
|
271
|
-
end
|
|
272
|
-
|
|
273
200
|
end
|
|
274
201
|
|
|
275
202
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@daytona.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -20,9 +20,10 @@ module DaytonaApiClient
|
|
|
20
20
|
DISABLED = "disabled".freeze
|
|
21
21
|
DECOMMISSIONED = "decommissioned".freeze
|
|
22
22
|
UNRESPONSIVE = "unresponsive".freeze
|
|
23
|
+
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze
|
|
23
24
|
|
|
24
25
|
def self.all_vars
|
|
25
|
-
@all_vars ||= [INITIALIZING, READY, DISABLED, DECOMMISSIONED, UNRESPONSIVE].freeze
|
|
26
|
+
@all_vars ||= [INITIALIZING, READY, DISABLED, DECOMMISSIONED, UNRESPONSIVE, UNKNOWN_DEFAULT_OPEN_API].freeze
|
|
26
27
|
end
|
|
27
28
|
|
|
28
29
|
# Builds the enum from string
|
|
@@ -37,7 +38,7 @@ module DaytonaApiClient
|
|
|
37
38
|
# @return [String] The enum value
|
|
38
39
|
def build_from_hash(value)
|
|
39
40
|
return value if RunnerState.all_vars.include?(value)
|
|
40
|
-
|
|
41
|
+
UNKNOWN_DEFAULT_OPEN_API
|
|
41
42
|
end
|
|
42
43
|
end
|
|
43
44
|
end
|