daytona_api_client 0.179.0 → 0.180.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 +5 -6
- data/lib/daytona_api_client/api/sandbox_api.rb +124 -30
- data/lib/daytona_api_client/models/{workspace_port_preview_url.rb → list_sandboxes_response.rb} +31 -43
- data/lib/daytona_api_client/models/{paginated_sandboxes.rb → paginated_sandboxes_deprecated.rb} +3 -3
- data/lib/daytona_api_client/models/{workspace.rb → sandbox_list_item.rb} +123 -273
- data/lib/daytona_api_client/models/sandbox_list_sort_direction.rb +41 -0
- data/lib/daytona_api_client/models/sandbox_list_sort_field.rb +45 -0
- data/lib/daytona_api_client/version.rb +1 -1
- data/lib/daytona_api_client.rb +5 -6
- metadata +6 -7
- data/lib/daytona_api_client/api/workspace_api.rb +0 -955
- data/lib/daytona_api_client/models/create_workspace.rb +0 -340
- data/lib/daytona_api_client/models/sandbox_info.rb +0 -202
|
@@ -0,0 +1,41 @@
|
|
|
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.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module DaytonaApiClient
|
|
17
|
+
class SandboxListSortDirection
|
|
18
|
+
ASC = "asc".freeze
|
|
19
|
+
DESC = "desc".freeze
|
|
20
|
+
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze
|
|
21
|
+
|
|
22
|
+
def self.all_vars
|
|
23
|
+
@all_vars ||= [ASC, DESC, UNKNOWN_DEFAULT_OPEN_API].freeze
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Builds the enum from string
|
|
27
|
+
# @param [String] The enum value in the form of the string
|
|
28
|
+
# @return [String] The enum value
|
|
29
|
+
def self.build_from_hash(value)
|
|
30
|
+
new.build_from_hash(value)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Builds the enum from string
|
|
34
|
+
# @param [String] The enum value in the form of the string
|
|
35
|
+
# @return [String] The enum value
|
|
36
|
+
def build_from_hash(value)
|
|
37
|
+
return value if SandboxListSortDirection.all_vars.include?(value)
|
|
38
|
+
UNKNOWN_DEFAULT_OPEN_API
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
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.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module DaytonaApiClient
|
|
17
|
+
class SandboxListSortField
|
|
18
|
+
NAME = "name".freeze
|
|
19
|
+
CPU = "cpu".freeze
|
|
20
|
+
MEMORY_GIB = "memoryGib".freeze
|
|
21
|
+
DISK_GIB = "diskGib".freeze
|
|
22
|
+
LAST_ACTIVITY_AT = "lastActivityAt".freeze
|
|
23
|
+
CREATED_AT = "createdAt".freeze
|
|
24
|
+
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze
|
|
25
|
+
|
|
26
|
+
def self.all_vars
|
|
27
|
+
@all_vars ||= [NAME, CPU, MEMORY_GIB, DISK_GIB, LAST_ACTIVITY_AT, CREATED_AT, UNKNOWN_DEFAULT_OPEN_API].freeze
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Builds the enum from string
|
|
31
|
+
# @param [String] The enum value in the form of the string
|
|
32
|
+
# @return [String] The enum value
|
|
33
|
+
def self.build_from_hash(value)
|
|
34
|
+
new.build_from_hash(value)
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Builds the enum from string
|
|
38
|
+
# @param [String] The enum value in the form of the string
|
|
39
|
+
# @return [String] The enum value
|
|
40
|
+
def build_from_hash(value)
|
|
41
|
+
return value if SandboxListSortField.all_vars.include?(value)
|
|
42
|
+
UNKNOWN_DEFAULT_OPEN_API
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
data/lib/daytona_api_client.rb
CHANGED
|
@@ -52,7 +52,6 @@ require 'daytona_api_client/models/create_session_request'
|
|
|
52
52
|
require 'daytona_api_client/models/create_snapshot'
|
|
53
53
|
require 'daytona_api_client/models/create_user'
|
|
54
54
|
require 'daytona_api_client/models/create_volume'
|
|
55
|
-
require 'daytona_api_client/models/create_workspace'
|
|
56
55
|
require 'daytona_api_client/models/daytona_configuration'
|
|
57
56
|
require 'daytona_api_client/models/display_info_response'
|
|
58
57
|
require 'daytona_api_client/models/docker_registry'
|
|
@@ -82,6 +81,7 @@ require 'daytona_api_client/models/keyboard_hotkey_request'
|
|
|
82
81
|
require 'daytona_api_client/models/keyboard_press_request'
|
|
83
82
|
require 'daytona_api_client/models/keyboard_type_request'
|
|
84
83
|
require 'daytona_api_client/models/list_branch_response'
|
|
84
|
+
require 'daytona_api_client/models/list_sandboxes_response'
|
|
85
85
|
require 'daytona_api_client/models/log_entry'
|
|
86
86
|
require 'daytona_api_client/models/lsp_completion_params'
|
|
87
87
|
require 'daytona_api_client/models/lsp_document_request'
|
|
@@ -113,7 +113,7 @@ require 'daytona_api_client/models/otel_config'
|
|
|
113
113
|
require 'daytona_api_client/models/paginated_audit_logs'
|
|
114
114
|
require 'daytona_api_client/models/paginated_jobs'
|
|
115
115
|
require 'daytona_api_client/models/paginated_logs'
|
|
116
|
-
require 'daytona_api_client/models/
|
|
116
|
+
require 'daytona_api_client/models/paginated_sandboxes_deprecated'
|
|
117
117
|
require 'daytona_api_client/models/paginated_snapshots'
|
|
118
118
|
require 'daytona_api_client/models/paginated_traces'
|
|
119
119
|
require 'daytona_api_client/models/poll_jobs_response'
|
|
@@ -154,8 +154,10 @@ require 'daytona_api_client/models/runner_state'
|
|
|
154
154
|
require 'daytona_api_client/models/sandbox'
|
|
155
155
|
require 'daytona_api_client/models/sandbox_class'
|
|
156
156
|
require 'daytona_api_client/models/sandbox_desired_state'
|
|
157
|
-
require 'daytona_api_client/models/sandbox_info'
|
|
158
157
|
require 'daytona_api_client/models/sandbox_labels'
|
|
158
|
+
require 'daytona_api_client/models/sandbox_list_item'
|
|
159
|
+
require 'daytona_api_client/models/sandbox_list_sort_direction'
|
|
160
|
+
require 'daytona_api_client/models/sandbox_list_sort_field'
|
|
159
161
|
require 'daytona_api_client/models/sandbox_state'
|
|
160
162
|
require 'daytona_api_client/models/sandbox_volume'
|
|
161
163
|
require 'daytona_api_client/models/screenshot_response'
|
|
@@ -197,8 +199,6 @@ require 'daytona_api_client/models/webhook_event'
|
|
|
197
199
|
require 'daytona_api_client/models/webhook_initialization_status'
|
|
198
200
|
require 'daytona_api_client/models/windows_response'
|
|
199
201
|
require 'daytona_api_client/models/work_dir_response'
|
|
200
|
-
require 'daytona_api_client/models/workspace'
|
|
201
|
-
require 'daytona_api_client/models/workspace_port_preview_url'
|
|
202
202
|
|
|
203
203
|
# APIs
|
|
204
204
|
require 'daytona_api_client/api/admin_api'
|
|
@@ -219,7 +219,6 @@ require 'daytona_api_client/api/toolbox_api'
|
|
|
219
219
|
require 'daytona_api_client/api/users_api'
|
|
220
220
|
require 'daytona_api_client/api/volumes_api'
|
|
221
221
|
require 'daytona_api_client/api/webhooks_api'
|
|
222
|
-
require 'daytona_api_client/api/workspace_api'
|
|
223
222
|
|
|
224
223
|
module DaytonaApiClient
|
|
225
224
|
class << self
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: daytona_api_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.180.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- daytonaio
|
|
@@ -84,7 +84,6 @@ files:
|
|
|
84
84
|
- lib/daytona_api_client/api/users_api.rb
|
|
85
85
|
- lib/daytona_api_client/api/volumes_api.rb
|
|
86
86
|
- lib/daytona_api_client/api/webhooks_api.rb
|
|
87
|
-
- lib/daytona_api_client/api/workspace_api.rb
|
|
88
87
|
- lib/daytona_api_client/api_client.rb
|
|
89
88
|
- lib/daytona_api_client/api_error.rb
|
|
90
89
|
- lib/daytona_api_client/api_model_base.rb
|
|
@@ -123,7 +122,6 @@ files:
|
|
|
123
122
|
- lib/daytona_api_client/models/create_snapshot.rb
|
|
124
123
|
- lib/daytona_api_client/models/create_user.rb
|
|
125
124
|
- lib/daytona_api_client/models/create_volume.rb
|
|
126
|
-
- lib/daytona_api_client/models/create_workspace.rb
|
|
127
125
|
- lib/daytona_api_client/models/daytona_configuration.rb
|
|
128
126
|
- lib/daytona_api_client/models/display_info_response.rb
|
|
129
127
|
- lib/daytona_api_client/models/docker_registry.rb
|
|
@@ -153,6 +151,7 @@ files:
|
|
|
153
151
|
- lib/daytona_api_client/models/keyboard_press_request.rb
|
|
154
152
|
- lib/daytona_api_client/models/keyboard_type_request.rb
|
|
155
153
|
- lib/daytona_api_client/models/list_branch_response.rb
|
|
154
|
+
- lib/daytona_api_client/models/list_sandboxes_response.rb
|
|
156
155
|
- lib/daytona_api_client/models/log_entry.rb
|
|
157
156
|
- lib/daytona_api_client/models/lsp_completion_params.rb
|
|
158
157
|
- lib/daytona_api_client/models/lsp_document_request.rb
|
|
@@ -184,7 +183,7 @@ files:
|
|
|
184
183
|
- lib/daytona_api_client/models/paginated_audit_logs.rb
|
|
185
184
|
- lib/daytona_api_client/models/paginated_jobs.rb
|
|
186
185
|
- lib/daytona_api_client/models/paginated_logs.rb
|
|
187
|
-
- lib/daytona_api_client/models/
|
|
186
|
+
- lib/daytona_api_client/models/paginated_sandboxes_deprecated.rb
|
|
188
187
|
- lib/daytona_api_client/models/paginated_snapshots.rb
|
|
189
188
|
- lib/daytona_api_client/models/paginated_traces.rb
|
|
190
189
|
- lib/daytona_api_client/models/poll_jobs_response.rb
|
|
@@ -225,8 +224,10 @@ files:
|
|
|
225
224
|
- lib/daytona_api_client/models/sandbox.rb
|
|
226
225
|
- lib/daytona_api_client/models/sandbox_class.rb
|
|
227
226
|
- lib/daytona_api_client/models/sandbox_desired_state.rb
|
|
228
|
-
- lib/daytona_api_client/models/sandbox_info.rb
|
|
229
227
|
- lib/daytona_api_client/models/sandbox_labels.rb
|
|
228
|
+
- lib/daytona_api_client/models/sandbox_list_item.rb
|
|
229
|
+
- lib/daytona_api_client/models/sandbox_list_sort_direction.rb
|
|
230
|
+
- lib/daytona_api_client/models/sandbox_list_sort_field.rb
|
|
230
231
|
- lib/daytona_api_client/models/sandbox_state.rb
|
|
231
232
|
- lib/daytona_api_client/models/sandbox_volume.rb
|
|
232
233
|
- lib/daytona_api_client/models/screenshot_response.rb
|
|
@@ -268,8 +269,6 @@ files:
|
|
|
268
269
|
- lib/daytona_api_client/models/webhook_initialization_status.rb
|
|
269
270
|
- lib/daytona_api_client/models/windows_response.rb
|
|
270
271
|
- lib/daytona_api_client/models/work_dir_response.rb
|
|
271
|
-
- lib/daytona_api_client/models/workspace.rb
|
|
272
|
-
- lib/daytona_api_client/models/workspace_port_preview_url.rb
|
|
273
272
|
- lib/daytona_api_client/version.rb
|
|
274
273
|
- project.json
|
|
275
274
|
homepage: https://github.com/daytonaio/daytona
|