daytona_api_client 0.126.0.alpha.6
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 +7 -0
- data/.gitignore +39 -0
- data/.openapi-generator/FILES +171 -0
- data/.openapi-generator/VERSION +1 -0
- data/.openapi-generator-ignore +33 -0
- data/.rspec +2 -0
- data/.rubocop.yml +148 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +101 -0
- data/Rakefile +10 -0
- data/daytona_api_client.gemspec +39 -0
- data/fix-gemspec.sh +11 -0
- data/lib/daytona_api_client/api/api_keys_api.rb +401 -0
- data/lib/daytona_api_client/api/audit_api.rb +192 -0
- data/lib/daytona_api_client/api/config_api.rb +77 -0
- data/lib/daytona_api_client/api/docker_registry_api.rb +472 -0
- data/lib/daytona_api_client/api/health_api.rb +75 -0
- data/lib/daytona_api_client/api/object_storage_api.rb +80 -0
- data/lib/daytona_api_client/api/organizations_api.rb +1902 -0
- data/lib/daytona_api_client/api/preview_api.rb +211 -0
- data/lib/daytona_api_client/api/regions_api.rb +83 -0
- data/lib/daytona_api_client/api/runners_api.rb +376 -0
- data/lib/daytona_api_client/api/sandbox_api.rb +1660 -0
- data/lib/daytona_api_client/api/snapshots_api.rb +641 -0
- data/lib/daytona_api_client/api/toolbox_api.rb +5108 -0
- data/lib/daytona_api_client/api/users_api.rb +553 -0
- data/lib/daytona_api_client/api/volumes_api.rb +342 -0
- data/lib/daytona_api_client/api/webhooks_api.rb +413 -0
- data/lib/daytona_api_client/api/workspace_api.rb +955 -0
- data/lib/daytona_api_client/api_client.rb +393 -0
- data/lib/daytona_api_client/api_error.rb +58 -0
- data/lib/daytona_api_client/configuration.rb +306 -0
- data/lib/daytona_api_client/models/account_provider.rb +261 -0
- data/lib/daytona_api_client/models/announcement.rb +246 -0
- data/lib/daytona_api_client/models/api_key_list.rb +384 -0
- data/lib/daytona_api_client/models/api_key_response.rb +344 -0
- data/lib/daytona_api_client/models/audit_log.rb +422 -0
- data/lib/daytona_api_client/models/build_info.rb +285 -0
- data/lib/daytona_api_client/models/command.rb +273 -0
- data/lib/daytona_api_client/models/completion_context.rb +244 -0
- data/lib/daytona_api_client/models/completion_item.rb +289 -0
- data/lib/daytona_api_client/models/completion_list.rb +263 -0
- data/lib/daytona_api_client/models/compressed_screenshot_response.rb +256 -0
- data/lib/daytona_api_client/models/computer_use_start_response.rb +263 -0
- data/lib/daytona_api_client/models/computer_use_status_response.rb +260 -0
- data/lib/daytona_api_client/models/computer_use_stop_response.rb +263 -0
- data/lib/daytona_api_client/models/create_api_key.rb +288 -0
- data/lib/daytona_api_client/models/create_audit_log.rb +350 -0
- data/lib/daytona_api_client/models/create_build_info.rb +248 -0
- data/lib/daytona_api_client/models/create_docker_registry.rb +388 -0
- data/lib/daytona_api_client/models/create_linked_account.rb +263 -0
- data/lib/daytona_api_client/models/create_organization.rb +263 -0
- data/lib/daytona_api_client/models/create_organization_invitation.rb +326 -0
- data/lib/daytona_api_client/models/create_organization_quota.rb +290 -0
- data/lib/daytona_api_client/models/create_organization_role.rb +304 -0
- data/lib/daytona_api_client/models/create_runner.rb +545 -0
- data/lib/daytona_api_client/models/create_sandbox.rb +439 -0
- data/lib/daytona_api_client/models/create_session_request.rb +236 -0
- data/lib/daytona_api_client/models/create_snapshot.rb +318 -0
- data/lib/daytona_api_client/models/create_user.rb +340 -0
- data/lib/daytona_api_client/models/create_volume.rb +235 -0
- data/lib/daytona_api_client/models/create_workspace.rb +411 -0
- data/lib/daytona_api_client/models/daytona_configuration.rb +568 -0
- data/lib/daytona_api_client/models/display_info_response.rb +238 -0
- data/lib/daytona_api_client/models/docker_registry.rb +449 -0
- data/lib/daytona_api_client/models/download_files.rb +238 -0
- data/lib/daytona_api_client/models/execute_request.rb +255 -0
- data/lib/daytona_api_client/models/execute_response.rb +263 -0
- data/lib/daytona_api_client/models/file_info.rb +417 -0
- data/lib/daytona_api_client/models/file_status.rb +313 -0
- data/lib/daytona_api_client/models/git_add_request.rb +264 -0
- data/lib/daytona_api_client/models/git_branch_request.rb +261 -0
- data/lib/daytona_api_client/models/git_checkout_request.rb +261 -0
- data/lib/daytona_api_client/models/git_clone_request.rb +297 -0
- data/lib/daytona_api_client/models/git_commit_info.rb +339 -0
- data/lib/daytona_api_client/models/git_commit_request.rb +325 -0
- data/lib/daytona_api_client/models/git_commit_response.rb +235 -0
- data/lib/daytona_api_client/models/git_delete_branch_request.rb +261 -0
- data/lib/daytona_api_client/models/git_repo_request.rb +253 -0
- data/lib/daytona_api_client/models/git_status.rb +290 -0
- data/lib/daytona_api_client/models/health_controller_check200_response.rb +253 -0
- data/lib/daytona_api_client/models/health_controller_check200_response_info_value.rb +235 -0
- data/lib/daytona_api_client/models/health_controller_check503_response.rb +253 -0
- data/lib/daytona_api_client/models/keyboard_hotkey_request.rb +236 -0
- data/lib/daytona_api_client/models/keyboard_press_request.rb +248 -0
- data/lib/daytona_api_client/models/keyboard_type_request.rb +246 -0
- data/lib/daytona_api_client/models/list_branch_response.rb +237 -0
- data/lib/daytona_api_client/models/lsp_completion_params.rb +325 -0
- data/lib/daytona_api_client/models/lsp_document_request.rb +290 -0
- data/lib/daytona_api_client/models/lsp_location.rb +261 -0
- data/lib/daytona_api_client/models/lsp_server_request.rb +263 -0
- data/lib/daytona_api_client/models/lsp_symbol.rb +287 -0
- data/lib/daytona_api_client/models/match.rb +287 -0
- data/lib/daytona_api_client/models/mouse_click_request.rb +283 -0
- data/lib/daytona_api_client/models/mouse_click_response.rb +263 -0
- data/lib/daytona_api_client/models/mouse_drag_request.rb +327 -0
- data/lib/daytona_api_client/models/mouse_drag_response.rb +263 -0
- data/lib/daytona_api_client/models/mouse_move_request.rb +263 -0
- data/lib/daytona_api_client/models/mouse_move_response.rb +263 -0
- data/lib/daytona_api_client/models/mouse_position.rb +263 -0
- data/lib/daytona_api_client/models/mouse_scroll_request.rb +300 -0
- data/lib/daytona_api_client/models/mouse_scroll_response.rb +236 -0
- data/lib/daytona_api_client/models/oidc_config.rb +290 -0
- data/lib/daytona_api_client/models/organization.rb +663 -0
- data/lib/daytona_api_client/models/organization_invitation.rb +534 -0
- data/lib/daytona_api_client/models/organization_role.rb +412 -0
- data/lib/daytona_api_client/models/organization_sandbox_default_limited_network_egress.rb +236 -0
- data/lib/daytona_api_client/models/organization_suspension.rb +290 -0
- data/lib/daytona_api_client/models/organization_usage_overview.rb +341 -0
- data/lib/daytona_api_client/models/organization_user.rb +451 -0
- data/lib/daytona_api_client/models/paginated_audit_logs.rb +325 -0
- data/lib/daytona_api_client/models/paginated_sandboxes.rb +315 -0
- data/lib/daytona_api_client/models/paginated_snapshots.rb +315 -0
- data/lib/daytona_api_client/models/paginated_snapshots_dto.rb +315 -0
- data/lib/daytona_api_client/models/port_preview_url.rb +290 -0
- data/lib/daytona_api_client/models/position.rb +261 -0
- data/lib/daytona_api_client/models/posthog_config.rb +263 -0
- data/lib/daytona_api_client/models/process_errors_response.rb +263 -0
- data/lib/daytona_api_client/models/process_logs_response.rb +263 -0
- data/lib/daytona_api_client/models/process_restart_response.rb +263 -0
- data/lib/daytona_api_client/models/process_status_response.rb +263 -0
- data/lib/daytona_api_client/models/project_dir_response.rb +218 -0
- data/lib/daytona_api_client/models/pty_create_request.rb +288 -0
- data/lib/daytona_api_client/models/pty_create_response.rb +236 -0
- data/lib/daytona_api_client/models/pty_list_response.rb +238 -0
- data/lib/daytona_api_client/models/pty_resize_request.rb +263 -0
- data/lib/daytona_api_client/models/pty_session_info.rb +425 -0
- data/lib/daytona_api_client/models/range.rb +261 -0
- data/lib/daytona_api_client/models/rate_limit_config.rb +249 -0
- data/lib/daytona_api_client/models/rate_limit_entry.rb +229 -0
- data/lib/daytona_api_client/models/region.rb +328 -0
- data/lib/daytona_api_client/models/region_quota.rb +339 -0
- data/lib/daytona_api_client/models/region_screenshot_response.rb +256 -0
- data/lib/daytona_api_client/models/region_usage_overview.rb +391 -0
- data/lib/daytona_api_client/models/registry_push_access_dto.rb +371 -0
- data/lib/daytona_api_client/models/replace_request.rb +289 -0
- data/lib/daytona_api_client/models/replace_result.rb +236 -0
- data/lib/daytona_api_client/models/runner.rb +780 -0
- data/lib/daytona_api_client/models/runner_snapshot_dto.rb +290 -0
- data/lib/daytona_api_client/models/runner_state.rb +43 -0
- data/lib/daytona_api_client/models/sandbox.rb +782 -0
- data/lib/daytona_api_client/models/sandbox_class.rb +41 -0
- data/lib/daytona_api_client/models/sandbox_desired_state.rb +43 -0
- data/lib/daytona_api_client/models/sandbox_info.rb +273 -0
- data/lib/daytona_api_client/models/sandbox_labels.rb +238 -0
- data/lib/daytona_api_client/models/sandbox_state.rb +54 -0
- data/lib/daytona_api_client/models/sandbox_volume.rb +273 -0
- data/lib/daytona_api_client/models/screenshot_response.rb +256 -0
- data/lib/daytona_api_client/models/search_files_response.rb +237 -0
- data/lib/daytona_api_client/models/send_webhook_dto.rb +273 -0
- data/lib/daytona_api_client/models/session.rb +251 -0
- data/lib/daytona_api_client/models/session_execute_request.rb +256 -0
- data/lib/daytona_api_client/models/session_execute_response.rb +239 -0
- data/lib/daytona_api_client/models/set_snapshot_general_status_dto.rb +236 -0
- data/lib/daytona_api_client/models/snapshot_dto.rb +569 -0
- data/lib/daytona_api_client/models/snapshot_state.rb +46 -0
- data/lib/daytona_api_client/models/ssh_access_dto.rb +371 -0
- data/lib/daytona_api_client/models/ssh_access_validation_dto.rb +263 -0
- data/lib/daytona_api_client/models/storage_access_dto.rb +371 -0
- data/lib/daytona_api_client/models/update_docker_registry.rb +310 -0
- data/lib/daytona_api_client/models/update_organization_default_region.rb +236 -0
- data/lib/daytona_api_client/models/update_organization_invitation.rb +299 -0
- data/lib/daytona_api_client/models/update_organization_member_access.rb +289 -0
- data/lib/daytona_api_client/models/update_organization_quota.rb +317 -0
- data/lib/daytona_api_client/models/update_organization_region_quota.rb +245 -0
- data/lib/daytona_api_client/models/update_organization_role.rb +304 -0
- data/lib/daytona_api_client/models/update_sandbox_state_dto.rb +270 -0
- data/lib/daytona_api_client/models/user.rb +346 -0
- data/lib/daytona_api_client/models/user_home_dir_response.rb +218 -0
- data/lib/daytona_api_client/models/user_public_key.rb +263 -0
- data/lib/daytona_api_client/models/volume_dto.rb +417 -0
- data/lib/daytona_api_client/models/volume_state.rb +45 -0
- data/lib/daytona_api_client/models/webhook_app_portal_access.rb +236 -0
- data/lib/daytona_api_client/models/webhook_controller_get_status200_response.rb +218 -0
- data/lib/daytona_api_client/models/webhook_initialization_status.rb +343 -0
- data/lib/daytona_api_client/models/windows_response.rb +265 -0
- data/lib/daytona_api_client/models/work_dir_response.rb +218 -0
- data/lib/daytona_api_client/models/workspace.rb +834 -0
- data/lib/daytona_api_client/models/workspace_port_preview_url.rb +263 -0
- data/lib/daytona_api_client/version.rb +15 -0
- data/lib/daytona_api_client.rb +201 -0
- data/project.json +59 -0
- metadata +261 -0
|
@@ -0,0 +1,955 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Daytona
|
|
3
|
+
|
|
4
|
+
#Daytona AI platform API Docs
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@daytona.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.12.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module DaytonaApiClient
|
|
16
|
+
class WorkspaceApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# [DEPRECATED] Archive workspace
|
|
23
|
+
# @param workspace_id [String]
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
26
|
+
# @return [nil]
|
|
27
|
+
def archive_workspace_deprecated(workspace_id, opts = {})
|
|
28
|
+
archive_workspace_deprecated_with_http_info(workspace_id, opts)
|
|
29
|
+
nil
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# [DEPRECATED] Archive workspace
|
|
33
|
+
# @param workspace_id [String]
|
|
34
|
+
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
36
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
37
|
+
def archive_workspace_deprecated_with_http_info(workspace_id, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.archive_workspace_deprecated ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'workspace_id' is set
|
|
42
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.archive_workspace_deprecated"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/workspace/{workspaceId}/archive'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s))
|
|
47
|
+
|
|
48
|
+
# query parameters
|
|
49
|
+
query_params = opts[:query_params] || {}
|
|
50
|
+
|
|
51
|
+
# header parameters
|
|
52
|
+
header_params = opts[:header_params] || {}
|
|
53
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
54
|
+
|
|
55
|
+
# form parameters
|
|
56
|
+
form_params = opts[:form_params] || {}
|
|
57
|
+
|
|
58
|
+
# http body (model)
|
|
59
|
+
post_body = opts[:debug_body]
|
|
60
|
+
|
|
61
|
+
# return_type
|
|
62
|
+
return_type = opts[:debug_return_type]
|
|
63
|
+
|
|
64
|
+
# auth_names
|
|
65
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
66
|
+
|
|
67
|
+
new_options = opts.merge(
|
|
68
|
+
:operation => :"WorkspaceApi.archive_workspace_deprecated",
|
|
69
|
+
:header_params => header_params,
|
|
70
|
+
:query_params => query_params,
|
|
71
|
+
:form_params => form_params,
|
|
72
|
+
:body => post_body,
|
|
73
|
+
:auth_names => auth_names,
|
|
74
|
+
:return_type => return_type
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
78
|
+
if @api_client.config.debugging
|
|
79
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#archive_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
80
|
+
end
|
|
81
|
+
return data, status_code, headers
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# [DEPRECATED] Create workspace backup
|
|
85
|
+
# @param workspace_id [String] ID of the workspace
|
|
86
|
+
# @param [Hash] opts the optional parameters
|
|
87
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
88
|
+
# @return [Workspace]
|
|
89
|
+
def create_backup_workspace_deprecated(workspace_id, opts = {})
|
|
90
|
+
data, _status_code, _headers = create_backup_workspace_deprecated_with_http_info(workspace_id, opts)
|
|
91
|
+
data
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# [DEPRECATED] Create workspace backup
|
|
95
|
+
# @param workspace_id [String] ID of the workspace
|
|
96
|
+
# @param [Hash] opts the optional parameters
|
|
97
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
98
|
+
# @return [Array<(Workspace, Integer, Hash)>] Workspace data, response status code and response headers
|
|
99
|
+
def create_backup_workspace_deprecated_with_http_info(workspace_id, opts = {})
|
|
100
|
+
if @api_client.config.debugging
|
|
101
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.create_backup_workspace_deprecated ...'
|
|
102
|
+
end
|
|
103
|
+
# verify the required parameter 'workspace_id' is set
|
|
104
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
105
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.create_backup_workspace_deprecated"
|
|
106
|
+
end
|
|
107
|
+
# resource path
|
|
108
|
+
local_var_path = '/workspace/{workspaceId}/backup'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s))
|
|
109
|
+
|
|
110
|
+
# query parameters
|
|
111
|
+
query_params = opts[:query_params] || {}
|
|
112
|
+
|
|
113
|
+
# header parameters
|
|
114
|
+
header_params = opts[:header_params] || {}
|
|
115
|
+
# HTTP header 'Accept' (if needed)
|
|
116
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
117
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
118
|
+
|
|
119
|
+
# form parameters
|
|
120
|
+
form_params = opts[:form_params] || {}
|
|
121
|
+
|
|
122
|
+
# http body (model)
|
|
123
|
+
post_body = opts[:debug_body]
|
|
124
|
+
|
|
125
|
+
# return_type
|
|
126
|
+
return_type = opts[:debug_return_type] || 'Workspace'
|
|
127
|
+
|
|
128
|
+
# auth_names
|
|
129
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
130
|
+
|
|
131
|
+
new_options = opts.merge(
|
|
132
|
+
:operation => :"WorkspaceApi.create_backup_workspace_deprecated",
|
|
133
|
+
:header_params => header_params,
|
|
134
|
+
:query_params => query_params,
|
|
135
|
+
:form_params => form_params,
|
|
136
|
+
:body => post_body,
|
|
137
|
+
:auth_names => auth_names,
|
|
138
|
+
:return_type => return_type
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
142
|
+
if @api_client.config.debugging
|
|
143
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#create_backup_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
144
|
+
end
|
|
145
|
+
return data, status_code, headers
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# [DEPRECATED] Create a new workspace
|
|
149
|
+
# @param create_workspace [CreateWorkspace]
|
|
150
|
+
# @param [Hash] opts the optional parameters
|
|
151
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
152
|
+
# @return [Workspace]
|
|
153
|
+
def create_workspace_deprecated(create_workspace, opts = {})
|
|
154
|
+
data, _status_code, _headers = create_workspace_deprecated_with_http_info(create_workspace, opts)
|
|
155
|
+
data
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# [DEPRECATED] Create a new workspace
|
|
159
|
+
# @param create_workspace [CreateWorkspace]
|
|
160
|
+
# @param [Hash] opts the optional parameters
|
|
161
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
162
|
+
# @return [Array<(Workspace, Integer, Hash)>] Workspace data, response status code and response headers
|
|
163
|
+
def create_workspace_deprecated_with_http_info(create_workspace, opts = {})
|
|
164
|
+
if @api_client.config.debugging
|
|
165
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.create_workspace_deprecated ...'
|
|
166
|
+
end
|
|
167
|
+
# verify the required parameter 'create_workspace' is set
|
|
168
|
+
if @api_client.config.client_side_validation && create_workspace.nil?
|
|
169
|
+
fail ArgumentError, "Missing the required parameter 'create_workspace' when calling WorkspaceApi.create_workspace_deprecated"
|
|
170
|
+
end
|
|
171
|
+
# resource path
|
|
172
|
+
local_var_path = '/workspace'
|
|
173
|
+
|
|
174
|
+
# query parameters
|
|
175
|
+
query_params = opts[:query_params] || {}
|
|
176
|
+
|
|
177
|
+
# header parameters
|
|
178
|
+
header_params = opts[:header_params] || {}
|
|
179
|
+
# HTTP header 'Accept' (if needed)
|
|
180
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
181
|
+
# HTTP header 'Content-Type'
|
|
182
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
183
|
+
if !content_type.nil?
|
|
184
|
+
header_params['Content-Type'] = content_type
|
|
185
|
+
end
|
|
186
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
187
|
+
|
|
188
|
+
# form parameters
|
|
189
|
+
form_params = opts[:form_params] || {}
|
|
190
|
+
|
|
191
|
+
# http body (model)
|
|
192
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_workspace)
|
|
193
|
+
|
|
194
|
+
# return_type
|
|
195
|
+
return_type = opts[:debug_return_type] || 'Workspace'
|
|
196
|
+
|
|
197
|
+
# auth_names
|
|
198
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
199
|
+
|
|
200
|
+
new_options = opts.merge(
|
|
201
|
+
:operation => :"WorkspaceApi.create_workspace_deprecated",
|
|
202
|
+
:header_params => header_params,
|
|
203
|
+
:query_params => query_params,
|
|
204
|
+
:form_params => form_params,
|
|
205
|
+
:body => post_body,
|
|
206
|
+
:auth_names => auth_names,
|
|
207
|
+
:return_type => return_type
|
|
208
|
+
)
|
|
209
|
+
|
|
210
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
211
|
+
if @api_client.config.debugging
|
|
212
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#create_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
213
|
+
end
|
|
214
|
+
return data, status_code, headers
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# [DEPRECATED] Delete workspace
|
|
218
|
+
# @param workspace_id [String] ID of the workspace
|
|
219
|
+
# @param force [Boolean]
|
|
220
|
+
# @param [Hash] opts the optional parameters
|
|
221
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
222
|
+
# @return [nil]
|
|
223
|
+
def delete_workspace_deprecated(workspace_id, force, opts = {})
|
|
224
|
+
delete_workspace_deprecated_with_http_info(workspace_id, force, opts)
|
|
225
|
+
nil
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
# [DEPRECATED] Delete workspace
|
|
229
|
+
# @param workspace_id [String] ID of the workspace
|
|
230
|
+
# @param force [Boolean]
|
|
231
|
+
# @param [Hash] opts the optional parameters
|
|
232
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
233
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
234
|
+
def delete_workspace_deprecated_with_http_info(workspace_id, force, opts = {})
|
|
235
|
+
if @api_client.config.debugging
|
|
236
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.delete_workspace_deprecated ...'
|
|
237
|
+
end
|
|
238
|
+
# verify the required parameter 'workspace_id' is set
|
|
239
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
240
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.delete_workspace_deprecated"
|
|
241
|
+
end
|
|
242
|
+
# verify the required parameter 'force' is set
|
|
243
|
+
if @api_client.config.client_side_validation && force.nil?
|
|
244
|
+
fail ArgumentError, "Missing the required parameter 'force' when calling WorkspaceApi.delete_workspace_deprecated"
|
|
245
|
+
end
|
|
246
|
+
# resource path
|
|
247
|
+
local_var_path = '/workspace/{workspaceId}'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s))
|
|
248
|
+
|
|
249
|
+
# query parameters
|
|
250
|
+
query_params = opts[:query_params] || {}
|
|
251
|
+
query_params[:'force'] = force
|
|
252
|
+
|
|
253
|
+
# header parameters
|
|
254
|
+
header_params = opts[:header_params] || {}
|
|
255
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
256
|
+
|
|
257
|
+
# form parameters
|
|
258
|
+
form_params = opts[:form_params] || {}
|
|
259
|
+
|
|
260
|
+
# http body (model)
|
|
261
|
+
post_body = opts[:debug_body]
|
|
262
|
+
|
|
263
|
+
# return_type
|
|
264
|
+
return_type = opts[:debug_return_type]
|
|
265
|
+
|
|
266
|
+
# auth_names
|
|
267
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
268
|
+
|
|
269
|
+
new_options = opts.merge(
|
|
270
|
+
:operation => :"WorkspaceApi.delete_workspace_deprecated",
|
|
271
|
+
:header_params => header_params,
|
|
272
|
+
:query_params => query_params,
|
|
273
|
+
:form_params => form_params,
|
|
274
|
+
:body => post_body,
|
|
275
|
+
:auth_names => auth_names,
|
|
276
|
+
:return_type => return_type
|
|
277
|
+
)
|
|
278
|
+
|
|
279
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
280
|
+
if @api_client.config.debugging
|
|
281
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#delete_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
282
|
+
end
|
|
283
|
+
return data, status_code, headers
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# [DEPRECATED] Get build logs
|
|
287
|
+
# @param workspace_id [String] ID of the workspace
|
|
288
|
+
# @param [Hash] opts the optional parameters
|
|
289
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
290
|
+
# @option opts [Boolean] :follow Whether to follow the logs stream
|
|
291
|
+
# @return [nil]
|
|
292
|
+
def get_build_logs_workspace_deprecated(workspace_id, opts = {})
|
|
293
|
+
get_build_logs_workspace_deprecated_with_http_info(workspace_id, opts)
|
|
294
|
+
nil
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# [DEPRECATED] Get build logs
|
|
298
|
+
# @param workspace_id [String] ID of the workspace
|
|
299
|
+
# @param [Hash] opts the optional parameters
|
|
300
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
301
|
+
# @option opts [Boolean] :follow Whether to follow the logs stream
|
|
302
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
303
|
+
def get_build_logs_workspace_deprecated_with_http_info(workspace_id, opts = {})
|
|
304
|
+
if @api_client.config.debugging
|
|
305
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.get_build_logs_workspace_deprecated ...'
|
|
306
|
+
end
|
|
307
|
+
# verify the required parameter 'workspace_id' is set
|
|
308
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
309
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.get_build_logs_workspace_deprecated"
|
|
310
|
+
end
|
|
311
|
+
# resource path
|
|
312
|
+
local_var_path = '/workspace/{workspaceId}/build-logs'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s))
|
|
313
|
+
|
|
314
|
+
# query parameters
|
|
315
|
+
query_params = opts[:query_params] || {}
|
|
316
|
+
query_params[:'follow'] = opts[:'follow'] if !opts[:'follow'].nil?
|
|
317
|
+
|
|
318
|
+
# header parameters
|
|
319
|
+
header_params = opts[:header_params] || {}
|
|
320
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
321
|
+
|
|
322
|
+
# form parameters
|
|
323
|
+
form_params = opts[:form_params] || {}
|
|
324
|
+
|
|
325
|
+
# http body (model)
|
|
326
|
+
post_body = opts[:debug_body]
|
|
327
|
+
|
|
328
|
+
# return_type
|
|
329
|
+
return_type = opts[:debug_return_type]
|
|
330
|
+
|
|
331
|
+
# auth_names
|
|
332
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
333
|
+
|
|
334
|
+
new_options = opts.merge(
|
|
335
|
+
:operation => :"WorkspaceApi.get_build_logs_workspace_deprecated",
|
|
336
|
+
:header_params => header_params,
|
|
337
|
+
:query_params => query_params,
|
|
338
|
+
:form_params => form_params,
|
|
339
|
+
:body => post_body,
|
|
340
|
+
:auth_names => auth_names,
|
|
341
|
+
:return_type => return_type
|
|
342
|
+
)
|
|
343
|
+
|
|
344
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
345
|
+
if @api_client.config.debugging
|
|
346
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#get_build_logs_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
347
|
+
end
|
|
348
|
+
return data, status_code, headers
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# [DEPRECATED] Get preview URL for a workspace port
|
|
352
|
+
# @param workspace_id [String] ID of the workspace
|
|
353
|
+
# @param port [Float] Port number to get preview URL for
|
|
354
|
+
# @param [Hash] opts the optional parameters
|
|
355
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
356
|
+
# @return [WorkspacePortPreviewUrl]
|
|
357
|
+
def get_port_preview_url_workspace_deprecated(workspace_id, port, opts = {})
|
|
358
|
+
data, _status_code, _headers = get_port_preview_url_workspace_deprecated_with_http_info(workspace_id, port, opts)
|
|
359
|
+
data
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
# [DEPRECATED] Get preview URL for a workspace port
|
|
363
|
+
# @param workspace_id [String] ID of the workspace
|
|
364
|
+
# @param port [Float] Port number to get preview URL for
|
|
365
|
+
# @param [Hash] opts the optional parameters
|
|
366
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
367
|
+
# @return [Array<(WorkspacePortPreviewUrl, Integer, Hash)>] WorkspacePortPreviewUrl data, response status code and response headers
|
|
368
|
+
def get_port_preview_url_workspace_deprecated_with_http_info(workspace_id, port, opts = {})
|
|
369
|
+
if @api_client.config.debugging
|
|
370
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.get_port_preview_url_workspace_deprecated ...'
|
|
371
|
+
end
|
|
372
|
+
# verify the required parameter 'workspace_id' is set
|
|
373
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
374
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.get_port_preview_url_workspace_deprecated"
|
|
375
|
+
end
|
|
376
|
+
# verify the required parameter 'port' is set
|
|
377
|
+
if @api_client.config.client_side_validation && port.nil?
|
|
378
|
+
fail ArgumentError, "Missing the required parameter 'port' when calling WorkspaceApi.get_port_preview_url_workspace_deprecated"
|
|
379
|
+
end
|
|
380
|
+
# resource path
|
|
381
|
+
local_var_path = '/workspace/{workspaceId}/ports/{port}/preview-url'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s)).sub('{' + 'port' + '}', CGI.escape(port.to_s))
|
|
382
|
+
|
|
383
|
+
# query parameters
|
|
384
|
+
query_params = opts[:query_params] || {}
|
|
385
|
+
|
|
386
|
+
# header parameters
|
|
387
|
+
header_params = opts[:header_params] || {}
|
|
388
|
+
# HTTP header 'Accept' (if needed)
|
|
389
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
390
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
391
|
+
|
|
392
|
+
# form parameters
|
|
393
|
+
form_params = opts[:form_params] || {}
|
|
394
|
+
|
|
395
|
+
# http body (model)
|
|
396
|
+
post_body = opts[:debug_body]
|
|
397
|
+
|
|
398
|
+
# return_type
|
|
399
|
+
return_type = opts[:debug_return_type] || 'WorkspacePortPreviewUrl'
|
|
400
|
+
|
|
401
|
+
# auth_names
|
|
402
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
403
|
+
|
|
404
|
+
new_options = opts.merge(
|
|
405
|
+
:operation => :"WorkspaceApi.get_port_preview_url_workspace_deprecated",
|
|
406
|
+
:header_params => header_params,
|
|
407
|
+
:query_params => query_params,
|
|
408
|
+
:form_params => form_params,
|
|
409
|
+
:body => post_body,
|
|
410
|
+
:auth_names => auth_names,
|
|
411
|
+
:return_type => return_type
|
|
412
|
+
)
|
|
413
|
+
|
|
414
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
415
|
+
if @api_client.config.debugging
|
|
416
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#get_port_preview_url_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
417
|
+
end
|
|
418
|
+
return data, status_code, headers
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
# [DEPRECATED] Get workspace details
|
|
422
|
+
# @param workspace_id [String] ID of the workspace
|
|
423
|
+
# @param [Hash] opts the optional parameters
|
|
424
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
425
|
+
# @option opts [Boolean] :verbose Include verbose output
|
|
426
|
+
# @return [Workspace]
|
|
427
|
+
def get_workspace_deprecated(workspace_id, opts = {})
|
|
428
|
+
data, _status_code, _headers = get_workspace_deprecated_with_http_info(workspace_id, opts)
|
|
429
|
+
data
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
# [DEPRECATED] Get workspace details
|
|
433
|
+
# @param workspace_id [String] ID of the workspace
|
|
434
|
+
# @param [Hash] opts the optional parameters
|
|
435
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
436
|
+
# @option opts [Boolean] :verbose Include verbose output
|
|
437
|
+
# @return [Array<(Workspace, Integer, Hash)>] Workspace data, response status code and response headers
|
|
438
|
+
def get_workspace_deprecated_with_http_info(workspace_id, opts = {})
|
|
439
|
+
if @api_client.config.debugging
|
|
440
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.get_workspace_deprecated ...'
|
|
441
|
+
end
|
|
442
|
+
# verify the required parameter 'workspace_id' is set
|
|
443
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
444
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.get_workspace_deprecated"
|
|
445
|
+
end
|
|
446
|
+
# resource path
|
|
447
|
+
local_var_path = '/workspace/{workspaceId}'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s))
|
|
448
|
+
|
|
449
|
+
# query parameters
|
|
450
|
+
query_params = opts[:query_params] || {}
|
|
451
|
+
query_params[:'verbose'] = opts[:'verbose'] if !opts[:'verbose'].nil?
|
|
452
|
+
|
|
453
|
+
# header parameters
|
|
454
|
+
header_params = opts[:header_params] || {}
|
|
455
|
+
# HTTP header 'Accept' (if needed)
|
|
456
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
457
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
458
|
+
|
|
459
|
+
# form parameters
|
|
460
|
+
form_params = opts[:form_params] || {}
|
|
461
|
+
|
|
462
|
+
# http body (model)
|
|
463
|
+
post_body = opts[:debug_body]
|
|
464
|
+
|
|
465
|
+
# return_type
|
|
466
|
+
return_type = opts[:debug_return_type] || 'Workspace'
|
|
467
|
+
|
|
468
|
+
# auth_names
|
|
469
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
470
|
+
|
|
471
|
+
new_options = opts.merge(
|
|
472
|
+
:operation => :"WorkspaceApi.get_workspace_deprecated",
|
|
473
|
+
:header_params => header_params,
|
|
474
|
+
:query_params => query_params,
|
|
475
|
+
:form_params => form_params,
|
|
476
|
+
:body => post_body,
|
|
477
|
+
:auth_names => auth_names,
|
|
478
|
+
:return_type => return_type
|
|
479
|
+
)
|
|
480
|
+
|
|
481
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
482
|
+
if @api_client.config.debugging
|
|
483
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#get_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
484
|
+
end
|
|
485
|
+
return data, status_code, headers
|
|
486
|
+
end
|
|
487
|
+
|
|
488
|
+
# [DEPRECATED] List all workspaces
|
|
489
|
+
# @param [Hash] opts the optional parameters
|
|
490
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
491
|
+
# @option opts [Boolean] :verbose Include verbose output
|
|
492
|
+
# @option opts [String] :labels JSON encoded labels to filter by
|
|
493
|
+
# @return [Array<Workspace>]
|
|
494
|
+
def list_workspaces_deprecated(opts = {})
|
|
495
|
+
data, _status_code, _headers = list_workspaces_deprecated_with_http_info(opts)
|
|
496
|
+
data
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
# [DEPRECATED] List all workspaces
|
|
500
|
+
# @param [Hash] opts the optional parameters
|
|
501
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
502
|
+
# @option opts [Boolean] :verbose Include verbose output
|
|
503
|
+
# @option opts [String] :labels JSON encoded labels to filter by
|
|
504
|
+
# @return [Array<(Array<Workspace>, Integer, Hash)>] Array<Workspace> data, response status code and response headers
|
|
505
|
+
def list_workspaces_deprecated_with_http_info(opts = {})
|
|
506
|
+
if @api_client.config.debugging
|
|
507
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.list_workspaces_deprecated ...'
|
|
508
|
+
end
|
|
509
|
+
# resource path
|
|
510
|
+
local_var_path = '/workspace'
|
|
511
|
+
|
|
512
|
+
# query parameters
|
|
513
|
+
query_params = opts[:query_params] || {}
|
|
514
|
+
query_params[:'verbose'] = opts[:'verbose'] if !opts[:'verbose'].nil?
|
|
515
|
+
query_params[:'labels'] = opts[:'labels'] if !opts[:'labels'].nil?
|
|
516
|
+
|
|
517
|
+
# header parameters
|
|
518
|
+
header_params = opts[:header_params] || {}
|
|
519
|
+
# HTTP header 'Accept' (if needed)
|
|
520
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
521
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
522
|
+
|
|
523
|
+
# form parameters
|
|
524
|
+
form_params = opts[:form_params] || {}
|
|
525
|
+
|
|
526
|
+
# http body (model)
|
|
527
|
+
post_body = opts[:debug_body]
|
|
528
|
+
|
|
529
|
+
# return_type
|
|
530
|
+
return_type = opts[:debug_return_type] || 'Array<Workspace>'
|
|
531
|
+
|
|
532
|
+
# auth_names
|
|
533
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
534
|
+
|
|
535
|
+
new_options = opts.merge(
|
|
536
|
+
:operation => :"WorkspaceApi.list_workspaces_deprecated",
|
|
537
|
+
:header_params => header_params,
|
|
538
|
+
:query_params => query_params,
|
|
539
|
+
:form_params => form_params,
|
|
540
|
+
:body => post_body,
|
|
541
|
+
:auth_names => auth_names,
|
|
542
|
+
:return_type => return_type
|
|
543
|
+
)
|
|
544
|
+
|
|
545
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
546
|
+
if @api_client.config.debugging
|
|
547
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#list_workspaces_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
548
|
+
end
|
|
549
|
+
return data, status_code, headers
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
# [DEPRECATED] Replace workspace labels
|
|
553
|
+
# @param workspace_id [String] ID of the workspace
|
|
554
|
+
# @param sandbox_labels [SandboxLabels]
|
|
555
|
+
# @param [Hash] opts the optional parameters
|
|
556
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
557
|
+
# @return [SandboxLabels]
|
|
558
|
+
def replace_labels_workspace_deprecated(workspace_id, sandbox_labels, opts = {})
|
|
559
|
+
data, _status_code, _headers = replace_labels_workspace_deprecated_with_http_info(workspace_id, sandbox_labels, opts)
|
|
560
|
+
data
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# [DEPRECATED] Replace workspace labels
|
|
564
|
+
# @param workspace_id [String] ID of the workspace
|
|
565
|
+
# @param sandbox_labels [SandboxLabels]
|
|
566
|
+
# @param [Hash] opts the optional parameters
|
|
567
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
568
|
+
# @return [Array<(SandboxLabels, Integer, Hash)>] SandboxLabels data, response status code and response headers
|
|
569
|
+
def replace_labels_workspace_deprecated_with_http_info(workspace_id, sandbox_labels, opts = {})
|
|
570
|
+
if @api_client.config.debugging
|
|
571
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.replace_labels_workspace_deprecated ...'
|
|
572
|
+
end
|
|
573
|
+
# verify the required parameter 'workspace_id' is set
|
|
574
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
575
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.replace_labels_workspace_deprecated"
|
|
576
|
+
end
|
|
577
|
+
# verify the required parameter 'sandbox_labels' is set
|
|
578
|
+
if @api_client.config.client_side_validation && sandbox_labels.nil?
|
|
579
|
+
fail ArgumentError, "Missing the required parameter 'sandbox_labels' when calling WorkspaceApi.replace_labels_workspace_deprecated"
|
|
580
|
+
end
|
|
581
|
+
# resource path
|
|
582
|
+
local_var_path = '/workspace/{workspaceId}/labels'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s))
|
|
583
|
+
|
|
584
|
+
# query parameters
|
|
585
|
+
query_params = opts[:query_params] || {}
|
|
586
|
+
|
|
587
|
+
# header parameters
|
|
588
|
+
header_params = opts[:header_params] || {}
|
|
589
|
+
# HTTP header 'Accept' (if needed)
|
|
590
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
591
|
+
# HTTP header 'Content-Type'
|
|
592
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
593
|
+
if !content_type.nil?
|
|
594
|
+
header_params['Content-Type'] = content_type
|
|
595
|
+
end
|
|
596
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
597
|
+
|
|
598
|
+
# form parameters
|
|
599
|
+
form_params = opts[:form_params] || {}
|
|
600
|
+
|
|
601
|
+
# http body (model)
|
|
602
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(sandbox_labels)
|
|
603
|
+
|
|
604
|
+
# return_type
|
|
605
|
+
return_type = opts[:debug_return_type] || 'SandboxLabels'
|
|
606
|
+
|
|
607
|
+
# auth_names
|
|
608
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
609
|
+
|
|
610
|
+
new_options = opts.merge(
|
|
611
|
+
:operation => :"WorkspaceApi.replace_labels_workspace_deprecated",
|
|
612
|
+
:header_params => header_params,
|
|
613
|
+
:query_params => query_params,
|
|
614
|
+
:form_params => form_params,
|
|
615
|
+
:body => post_body,
|
|
616
|
+
:auth_names => auth_names,
|
|
617
|
+
:return_type => return_type
|
|
618
|
+
)
|
|
619
|
+
|
|
620
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
621
|
+
if @api_client.config.debugging
|
|
622
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#replace_labels_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
623
|
+
end
|
|
624
|
+
return data, status_code, headers
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
# [DEPRECATED] Set workspace auto-archive interval
|
|
628
|
+
# @param workspace_id [String] ID of the workspace
|
|
629
|
+
# @param interval [Float] Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
630
|
+
# @param [Hash] opts the optional parameters
|
|
631
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
632
|
+
# @return [nil]
|
|
633
|
+
def set_auto_archive_interval_workspace_deprecated(workspace_id, interval, opts = {})
|
|
634
|
+
set_auto_archive_interval_workspace_deprecated_with_http_info(workspace_id, interval, opts)
|
|
635
|
+
nil
|
|
636
|
+
end
|
|
637
|
+
|
|
638
|
+
# [DEPRECATED] Set workspace auto-archive interval
|
|
639
|
+
# @param workspace_id [String] ID of the workspace
|
|
640
|
+
# @param interval [Float] Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
641
|
+
# @param [Hash] opts the optional parameters
|
|
642
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
643
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
644
|
+
def set_auto_archive_interval_workspace_deprecated_with_http_info(workspace_id, interval, opts = {})
|
|
645
|
+
if @api_client.config.debugging
|
|
646
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.set_auto_archive_interval_workspace_deprecated ...'
|
|
647
|
+
end
|
|
648
|
+
# verify the required parameter 'workspace_id' is set
|
|
649
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
650
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.set_auto_archive_interval_workspace_deprecated"
|
|
651
|
+
end
|
|
652
|
+
# verify the required parameter 'interval' is set
|
|
653
|
+
if @api_client.config.client_side_validation && interval.nil?
|
|
654
|
+
fail ArgumentError, "Missing the required parameter 'interval' when calling WorkspaceApi.set_auto_archive_interval_workspace_deprecated"
|
|
655
|
+
end
|
|
656
|
+
# resource path
|
|
657
|
+
local_var_path = '/workspace/{workspaceId}/autoarchive/{interval}'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s)).sub('{' + 'interval' + '}', CGI.escape(interval.to_s))
|
|
658
|
+
|
|
659
|
+
# query parameters
|
|
660
|
+
query_params = opts[:query_params] || {}
|
|
661
|
+
|
|
662
|
+
# header parameters
|
|
663
|
+
header_params = opts[:header_params] || {}
|
|
664
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
665
|
+
|
|
666
|
+
# form parameters
|
|
667
|
+
form_params = opts[:form_params] || {}
|
|
668
|
+
|
|
669
|
+
# http body (model)
|
|
670
|
+
post_body = opts[:debug_body]
|
|
671
|
+
|
|
672
|
+
# return_type
|
|
673
|
+
return_type = opts[:debug_return_type]
|
|
674
|
+
|
|
675
|
+
# auth_names
|
|
676
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
677
|
+
|
|
678
|
+
new_options = opts.merge(
|
|
679
|
+
:operation => :"WorkspaceApi.set_auto_archive_interval_workspace_deprecated",
|
|
680
|
+
:header_params => header_params,
|
|
681
|
+
:query_params => query_params,
|
|
682
|
+
:form_params => form_params,
|
|
683
|
+
:body => post_body,
|
|
684
|
+
:auth_names => auth_names,
|
|
685
|
+
:return_type => return_type
|
|
686
|
+
)
|
|
687
|
+
|
|
688
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
689
|
+
if @api_client.config.debugging
|
|
690
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#set_auto_archive_interval_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
691
|
+
end
|
|
692
|
+
return data, status_code, headers
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
# [DEPRECATED] Set workspace auto-stop interval
|
|
696
|
+
# @param workspace_id [String] ID of the workspace
|
|
697
|
+
# @param interval [Float] Auto-stop interval in minutes (0 to disable)
|
|
698
|
+
# @param [Hash] opts the optional parameters
|
|
699
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
700
|
+
# @return [nil]
|
|
701
|
+
def set_autostop_interval_workspace_deprecated(workspace_id, interval, opts = {})
|
|
702
|
+
set_autostop_interval_workspace_deprecated_with_http_info(workspace_id, interval, opts)
|
|
703
|
+
nil
|
|
704
|
+
end
|
|
705
|
+
|
|
706
|
+
# [DEPRECATED] Set workspace auto-stop interval
|
|
707
|
+
# @param workspace_id [String] ID of the workspace
|
|
708
|
+
# @param interval [Float] Auto-stop interval in minutes (0 to disable)
|
|
709
|
+
# @param [Hash] opts the optional parameters
|
|
710
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
711
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
712
|
+
def set_autostop_interval_workspace_deprecated_with_http_info(workspace_id, interval, opts = {})
|
|
713
|
+
if @api_client.config.debugging
|
|
714
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.set_autostop_interval_workspace_deprecated ...'
|
|
715
|
+
end
|
|
716
|
+
# verify the required parameter 'workspace_id' is set
|
|
717
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
718
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.set_autostop_interval_workspace_deprecated"
|
|
719
|
+
end
|
|
720
|
+
# verify the required parameter 'interval' is set
|
|
721
|
+
if @api_client.config.client_side_validation && interval.nil?
|
|
722
|
+
fail ArgumentError, "Missing the required parameter 'interval' when calling WorkspaceApi.set_autostop_interval_workspace_deprecated"
|
|
723
|
+
end
|
|
724
|
+
# resource path
|
|
725
|
+
local_var_path = '/workspace/{workspaceId}/autostop/{interval}'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s)).sub('{' + 'interval' + '}', CGI.escape(interval.to_s))
|
|
726
|
+
|
|
727
|
+
# query parameters
|
|
728
|
+
query_params = opts[:query_params] || {}
|
|
729
|
+
|
|
730
|
+
# header parameters
|
|
731
|
+
header_params = opts[:header_params] || {}
|
|
732
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
733
|
+
|
|
734
|
+
# form parameters
|
|
735
|
+
form_params = opts[:form_params] || {}
|
|
736
|
+
|
|
737
|
+
# http body (model)
|
|
738
|
+
post_body = opts[:debug_body]
|
|
739
|
+
|
|
740
|
+
# return_type
|
|
741
|
+
return_type = opts[:debug_return_type]
|
|
742
|
+
|
|
743
|
+
# auth_names
|
|
744
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
745
|
+
|
|
746
|
+
new_options = opts.merge(
|
|
747
|
+
:operation => :"WorkspaceApi.set_autostop_interval_workspace_deprecated",
|
|
748
|
+
:header_params => header_params,
|
|
749
|
+
:query_params => query_params,
|
|
750
|
+
:form_params => form_params,
|
|
751
|
+
:body => post_body,
|
|
752
|
+
:auth_names => auth_names,
|
|
753
|
+
:return_type => return_type
|
|
754
|
+
)
|
|
755
|
+
|
|
756
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
757
|
+
if @api_client.config.debugging
|
|
758
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#set_autostop_interval_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
759
|
+
end
|
|
760
|
+
return data, status_code, headers
|
|
761
|
+
end
|
|
762
|
+
|
|
763
|
+
# [DEPRECATED] Start workspace
|
|
764
|
+
# @param workspace_id [String] ID of the workspace
|
|
765
|
+
# @param [Hash] opts the optional parameters
|
|
766
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
767
|
+
# @return [nil]
|
|
768
|
+
def start_workspace_deprecated(workspace_id, opts = {})
|
|
769
|
+
start_workspace_deprecated_with_http_info(workspace_id, opts)
|
|
770
|
+
nil
|
|
771
|
+
end
|
|
772
|
+
|
|
773
|
+
# [DEPRECATED] Start workspace
|
|
774
|
+
# @param workspace_id [String] ID of the workspace
|
|
775
|
+
# @param [Hash] opts the optional parameters
|
|
776
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
777
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
778
|
+
def start_workspace_deprecated_with_http_info(workspace_id, opts = {})
|
|
779
|
+
if @api_client.config.debugging
|
|
780
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.start_workspace_deprecated ...'
|
|
781
|
+
end
|
|
782
|
+
# verify the required parameter 'workspace_id' is set
|
|
783
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
784
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.start_workspace_deprecated"
|
|
785
|
+
end
|
|
786
|
+
# resource path
|
|
787
|
+
local_var_path = '/workspace/{workspaceId}/start'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s))
|
|
788
|
+
|
|
789
|
+
# query parameters
|
|
790
|
+
query_params = opts[:query_params] || {}
|
|
791
|
+
|
|
792
|
+
# header parameters
|
|
793
|
+
header_params = opts[:header_params] || {}
|
|
794
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
795
|
+
|
|
796
|
+
# form parameters
|
|
797
|
+
form_params = opts[:form_params] || {}
|
|
798
|
+
|
|
799
|
+
# http body (model)
|
|
800
|
+
post_body = opts[:debug_body]
|
|
801
|
+
|
|
802
|
+
# return_type
|
|
803
|
+
return_type = opts[:debug_return_type]
|
|
804
|
+
|
|
805
|
+
# auth_names
|
|
806
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
807
|
+
|
|
808
|
+
new_options = opts.merge(
|
|
809
|
+
:operation => :"WorkspaceApi.start_workspace_deprecated",
|
|
810
|
+
:header_params => header_params,
|
|
811
|
+
:query_params => query_params,
|
|
812
|
+
:form_params => form_params,
|
|
813
|
+
:body => post_body,
|
|
814
|
+
:auth_names => auth_names,
|
|
815
|
+
:return_type => return_type
|
|
816
|
+
)
|
|
817
|
+
|
|
818
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
819
|
+
if @api_client.config.debugging
|
|
820
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#start_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
821
|
+
end
|
|
822
|
+
return data, status_code, headers
|
|
823
|
+
end
|
|
824
|
+
|
|
825
|
+
# [DEPRECATED] Stop workspace
|
|
826
|
+
# @param workspace_id [String] ID of the workspace
|
|
827
|
+
# @param [Hash] opts the optional parameters
|
|
828
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
829
|
+
# @return [nil]
|
|
830
|
+
def stop_workspace_deprecated(workspace_id, opts = {})
|
|
831
|
+
stop_workspace_deprecated_with_http_info(workspace_id, opts)
|
|
832
|
+
nil
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
# [DEPRECATED] Stop workspace
|
|
836
|
+
# @param workspace_id [String] ID of the workspace
|
|
837
|
+
# @param [Hash] opts the optional parameters
|
|
838
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
839
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
840
|
+
def stop_workspace_deprecated_with_http_info(workspace_id, opts = {})
|
|
841
|
+
if @api_client.config.debugging
|
|
842
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.stop_workspace_deprecated ...'
|
|
843
|
+
end
|
|
844
|
+
# verify the required parameter 'workspace_id' is set
|
|
845
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
846
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.stop_workspace_deprecated"
|
|
847
|
+
end
|
|
848
|
+
# resource path
|
|
849
|
+
local_var_path = '/workspace/{workspaceId}/stop'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s))
|
|
850
|
+
|
|
851
|
+
# query parameters
|
|
852
|
+
query_params = opts[:query_params] || {}
|
|
853
|
+
|
|
854
|
+
# header parameters
|
|
855
|
+
header_params = opts[:header_params] || {}
|
|
856
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
857
|
+
|
|
858
|
+
# form parameters
|
|
859
|
+
form_params = opts[:form_params] || {}
|
|
860
|
+
|
|
861
|
+
# http body (model)
|
|
862
|
+
post_body = opts[:debug_body]
|
|
863
|
+
|
|
864
|
+
# return_type
|
|
865
|
+
return_type = opts[:debug_return_type]
|
|
866
|
+
|
|
867
|
+
# auth_names
|
|
868
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
869
|
+
|
|
870
|
+
new_options = opts.merge(
|
|
871
|
+
:operation => :"WorkspaceApi.stop_workspace_deprecated",
|
|
872
|
+
:header_params => header_params,
|
|
873
|
+
:query_params => query_params,
|
|
874
|
+
:form_params => form_params,
|
|
875
|
+
:body => post_body,
|
|
876
|
+
:auth_names => auth_names,
|
|
877
|
+
:return_type => return_type
|
|
878
|
+
)
|
|
879
|
+
|
|
880
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
881
|
+
if @api_client.config.debugging
|
|
882
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#stop_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
883
|
+
end
|
|
884
|
+
return data, status_code, headers
|
|
885
|
+
end
|
|
886
|
+
|
|
887
|
+
# [DEPRECATED] Update public status
|
|
888
|
+
# @param workspace_id [String] ID of the workspace
|
|
889
|
+
# @param is_public [Boolean] Public status to set
|
|
890
|
+
# @param [Hash] opts the optional parameters
|
|
891
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
892
|
+
# @return [nil]
|
|
893
|
+
def update_public_status_workspace_deprecated(workspace_id, is_public, opts = {})
|
|
894
|
+
update_public_status_workspace_deprecated_with_http_info(workspace_id, is_public, opts)
|
|
895
|
+
nil
|
|
896
|
+
end
|
|
897
|
+
|
|
898
|
+
# [DEPRECATED] Update public status
|
|
899
|
+
# @param workspace_id [String] ID of the workspace
|
|
900
|
+
# @param is_public [Boolean] Public status to set
|
|
901
|
+
# @param [Hash] opts the optional parameters
|
|
902
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
903
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
904
|
+
def update_public_status_workspace_deprecated_with_http_info(workspace_id, is_public, opts = {})
|
|
905
|
+
if @api_client.config.debugging
|
|
906
|
+
@api_client.config.logger.debug 'Calling API: WorkspaceApi.update_public_status_workspace_deprecated ...'
|
|
907
|
+
end
|
|
908
|
+
# verify the required parameter 'workspace_id' is set
|
|
909
|
+
if @api_client.config.client_side_validation && workspace_id.nil?
|
|
910
|
+
fail ArgumentError, "Missing the required parameter 'workspace_id' when calling WorkspaceApi.update_public_status_workspace_deprecated"
|
|
911
|
+
end
|
|
912
|
+
# verify the required parameter 'is_public' is set
|
|
913
|
+
if @api_client.config.client_side_validation && is_public.nil?
|
|
914
|
+
fail ArgumentError, "Missing the required parameter 'is_public' when calling WorkspaceApi.update_public_status_workspace_deprecated"
|
|
915
|
+
end
|
|
916
|
+
# resource path
|
|
917
|
+
local_var_path = '/workspace/{workspaceId}/public/{isPublic}'.sub('{' + 'workspaceId' + '}', CGI.escape(workspace_id.to_s)).sub('{' + 'isPublic' + '}', CGI.escape(is_public.to_s))
|
|
918
|
+
|
|
919
|
+
# query parameters
|
|
920
|
+
query_params = opts[:query_params] || {}
|
|
921
|
+
|
|
922
|
+
# header parameters
|
|
923
|
+
header_params = opts[:header_params] || {}
|
|
924
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
925
|
+
|
|
926
|
+
# form parameters
|
|
927
|
+
form_params = opts[:form_params] || {}
|
|
928
|
+
|
|
929
|
+
# http body (model)
|
|
930
|
+
post_body = opts[:debug_body]
|
|
931
|
+
|
|
932
|
+
# return_type
|
|
933
|
+
return_type = opts[:debug_return_type]
|
|
934
|
+
|
|
935
|
+
# auth_names
|
|
936
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
937
|
+
|
|
938
|
+
new_options = opts.merge(
|
|
939
|
+
:operation => :"WorkspaceApi.update_public_status_workspace_deprecated",
|
|
940
|
+
:header_params => header_params,
|
|
941
|
+
:query_params => query_params,
|
|
942
|
+
:form_params => form_params,
|
|
943
|
+
:body => post_body,
|
|
944
|
+
:auth_names => auth_names,
|
|
945
|
+
:return_type => return_type
|
|
946
|
+
)
|
|
947
|
+
|
|
948
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
949
|
+
if @api_client.config.debugging
|
|
950
|
+
@api_client.config.logger.debug "API called: WorkspaceApi#update_public_status_workspace_deprecated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
951
|
+
end
|
|
952
|
+
return data, status_code, headers
|
|
953
|
+
end
|
|
954
|
+
end
|
|
955
|
+
end
|