daytona_api_client 0.200.1 → 0.201.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 -0
- data/lib/daytona_api_client/api/preview_api.rb +61 -0
- data/lib/daytona_api_client/api/sandbox_api.rb +147 -1
- data/lib/daytona_api_client/api/warm_pools_api.rb +286 -0
- data/lib/daytona_api_client/models/create_organization_region_quota.rb +25 -22
- data/lib/daytona_api_client/models/create_sandbox.rb +1 -1
- data/lib/daytona_api_client/models/create_warm_pool.rb +211 -0
- data/lib/daytona_api_client/models/region_quota.rb +28 -25
- data/lib/daytona_api_client/models/region_usage_overview.rb +28 -25
- data/lib/daytona_api_client/models/sandbox.rb +11 -1
- data/lib/daytona_api_client/models/sandbox_list_item.rb +11 -1
- data/lib/daytona_api_client/models/snapshot_state.rb +2 -1
- data/lib/daytona_api_client/models/storage_access_dto.rb +31 -4
- data/lib/daytona_api_client/models/update_last_activity.rb +148 -0
- data/lib/daytona_api_client/models/update_organization_region_quota.rb +25 -22
- data/lib/daytona_api_client/models/update_warm_pool.rb +174 -0
- data/lib/daytona_api_client/models/warm_pool.rb +490 -0
- data/lib/daytona_api_client/version.rb +1 -1
- data/lib/daytona_api_client.rb +5 -0
- metadata +6 -1
|
@@ -0,0 +1,490 @@
|
|
|
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 WarmPool < ApiModelBase
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
20
|
+
attr_accessor :organization_id
|
|
21
|
+
|
|
22
|
+
attr_accessor :snapshot
|
|
23
|
+
|
|
24
|
+
attr_accessor :target
|
|
25
|
+
|
|
26
|
+
# Desired number of warm sandboxes
|
|
27
|
+
attr_accessor :pool
|
|
28
|
+
|
|
29
|
+
# Current number of ready warm sandboxes in the pool
|
|
30
|
+
attr_accessor :current_size
|
|
31
|
+
|
|
32
|
+
attr_accessor :cpu
|
|
33
|
+
|
|
34
|
+
attr_accessor :mem
|
|
35
|
+
|
|
36
|
+
attr_accessor :disk
|
|
37
|
+
|
|
38
|
+
attr_accessor :os_user
|
|
39
|
+
|
|
40
|
+
attr_accessor :env
|
|
41
|
+
|
|
42
|
+
attr_accessor :error_reason
|
|
43
|
+
|
|
44
|
+
attr_accessor :created_at
|
|
45
|
+
|
|
46
|
+
attr_accessor :updated_at
|
|
47
|
+
|
|
48
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
|
+
def self.attribute_map
|
|
50
|
+
{
|
|
51
|
+
:'id' => :'id',
|
|
52
|
+
:'organization_id' => :'organizationId',
|
|
53
|
+
:'snapshot' => :'snapshot',
|
|
54
|
+
:'target' => :'target',
|
|
55
|
+
:'pool' => :'pool',
|
|
56
|
+
:'current_size' => :'currentSize',
|
|
57
|
+
:'cpu' => :'cpu',
|
|
58
|
+
:'mem' => :'mem',
|
|
59
|
+
:'disk' => :'disk',
|
|
60
|
+
:'os_user' => :'osUser',
|
|
61
|
+
:'env' => :'env',
|
|
62
|
+
:'error_reason' => :'errorReason',
|
|
63
|
+
:'created_at' => :'createdAt',
|
|
64
|
+
:'updated_at' => :'updatedAt'
|
|
65
|
+
}
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Returns attribute mapping this model knows about
|
|
69
|
+
def self.acceptable_attribute_map
|
|
70
|
+
attribute_map
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Returns all the JSON keys this model knows about
|
|
74
|
+
def self.acceptable_attributes
|
|
75
|
+
acceptable_attribute_map.values
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Attribute type mapping.
|
|
79
|
+
def self.openapi_types
|
|
80
|
+
{
|
|
81
|
+
:'id' => :'String',
|
|
82
|
+
:'organization_id' => :'String',
|
|
83
|
+
:'snapshot' => :'String',
|
|
84
|
+
:'target' => :'String',
|
|
85
|
+
:'pool' => :'Float',
|
|
86
|
+
:'current_size' => :'Float',
|
|
87
|
+
:'cpu' => :'Float',
|
|
88
|
+
:'mem' => :'Float',
|
|
89
|
+
:'disk' => :'Float',
|
|
90
|
+
:'os_user' => :'String',
|
|
91
|
+
:'env' => :'Hash<String, String>',
|
|
92
|
+
:'error_reason' => :'String',
|
|
93
|
+
:'created_at' => :'String',
|
|
94
|
+
:'updated_at' => :'String'
|
|
95
|
+
}
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# List of attributes with nullable: true
|
|
99
|
+
def self.openapi_nullable
|
|
100
|
+
Set.new([
|
|
101
|
+
:'error_reason',
|
|
102
|
+
])
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Initializes the object
|
|
106
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
107
|
+
def initialize(attributes = {})
|
|
108
|
+
if (!attributes.is_a?(Hash))
|
|
109
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DaytonaApiClient::WarmPool` initialize method"
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
113
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
114
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
115
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
116
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DaytonaApiClient::WarmPool`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
117
|
+
end
|
|
118
|
+
h[k.to_sym] = v
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'id')
|
|
122
|
+
self.id = attributes[:'id']
|
|
123
|
+
else
|
|
124
|
+
self.id = nil
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
if attributes.key?(:'organization_id')
|
|
128
|
+
self.organization_id = attributes[:'organization_id']
|
|
129
|
+
else
|
|
130
|
+
self.organization_id = nil
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if attributes.key?(:'snapshot')
|
|
134
|
+
self.snapshot = attributes[:'snapshot']
|
|
135
|
+
else
|
|
136
|
+
self.snapshot = nil
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
if attributes.key?(:'target')
|
|
140
|
+
self.target = attributes[:'target']
|
|
141
|
+
else
|
|
142
|
+
self.target = nil
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
if attributes.key?(:'pool')
|
|
146
|
+
self.pool = attributes[:'pool']
|
|
147
|
+
else
|
|
148
|
+
self.pool = nil
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if attributes.key?(:'current_size')
|
|
152
|
+
self.current_size = attributes[:'current_size']
|
|
153
|
+
else
|
|
154
|
+
self.current_size = nil
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
if attributes.key?(:'cpu')
|
|
158
|
+
self.cpu = attributes[:'cpu']
|
|
159
|
+
else
|
|
160
|
+
self.cpu = nil
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
if attributes.key?(:'mem')
|
|
164
|
+
self.mem = attributes[:'mem']
|
|
165
|
+
else
|
|
166
|
+
self.mem = nil
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
if attributes.key?(:'disk')
|
|
170
|
+
self.disk = attributes[:'disk']
|
|
171
|
+
else
|
|
172
|
+
self.disk = nil
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
if attributes.key?(:'os_user')
|
|
176
|
+
self.os_user = attributes[:'os_user']
|
|
177
|
+
else
|
|
178
|
+
self.os_user = nil
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
if attributes.key?(:'env')
|
|
182
|
+
if (value = attributes[:'env']).is_a?(Hash)
|
|
183
|
+
self.env = value
|
|
184
|
+
end
|
|
185
|
+
else
|
|
186
|
+
self.env = nil
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
if attributes.key?(:'error_reason')
|
|
190
|
+
self.error_reason = attributes[:'error_reason']
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
if attributes.key?(:'created_at')
|
|
194
|
+
self.created_at = attributes[:'created_at']
|
|
195
|
+
else
|
|
196
|
+
self.created_at = nil
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
if attributes.key?(:'updated_at')
|
|
200
|
+
self.updated_at = attributes[:'updated_at']
|
|
201
|
+
else
|
|
202
|
+
self.updated_at = nil
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
207
|
+
# @return Array for valid properties with the reasons
|
|
208
|
+
def list_invalid_properties
|
|
209
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
210
|
+
invalid_properties = Array.new
|
|
211
|
+
if @id.nil?
|
|
212
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
if @organization_id.nil?
|
|
216
|
+
invalid_properties.push('invalid value for "organization_id", organization_id cannot be nil.')
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
if @snapshot.nil?
|
|
220
|
+
invalid_properties.push('invalid value for "snapshot", snapshot cannot be nil.')
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
if @target.nil?
|
|
224
|
+
invalid_properties.push('invalid value for "target", target cannot be nil.')
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
if @pool.nil?
|
|
228
|
+
invalid_properties.push('invalid value for "pool", pool cannot be nil.')
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
if @current_size.nil?
|
|
232
|
+
invalid_properties.push('invalid value for "current_size", current_size cannot be nil.')
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
if @cpu.nil?
|
|
236
|
+
invalid_properties.push('invalid value for "cpu", cpu cannot be nil.')
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
if @mem.nil?
|
|
240
|
+
invalid_properties.push('invalid value for "mem", mem cannot be nil.')
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if @disk.nil?
|
|
244
|
+
invalid_properties.push('invalid value for "disk", disk cannot be nil.')
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
if @os_user.nil?
|
|
248
|
+
invalid_properties.push('invalid value for "os_user", os_user cannot be nil.')
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
if @env.nil?
|
|
252
|
+
invalid_properties.push('invalid value for "env", env cannot be nil.')
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
if @created_at.nil?
|
|
256
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
if @updated_at.nil?
|
|
260
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
invalid_properties
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
# Check to see if the all the properties in the model are valid
|
|
267
|
+
# @return true if the model is valid
|
|
268
|
+
def valid?
|
|
269
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
270
|
+
return false if @id.nil?
|
|
271
|
+
return false if @organization_id.nil?
|
|
272
|
+
return false if @snapshot.nil?
|
|
273
|
+
return false if @target.nil?
|
|
274
|
+
return false if @pool.nil?
|
|
275
|
+
return false if @current_size.nil?
|
|
276
|
+
return false if @cpu.nil?
|
|
277
|
+
return false if @mem.nil?
|
|
278
|
+
return false if @disk.nil?
|
|
279
|
+
return false if @os_user.nil?
|
|
280
|
+
return false if @env.nil?
|
|
281
|
+
return false if @created_at.nil?
|
|
282
|
+
return false if @updated_at.nil?
|
|
283
|
+
true
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# Custom attribute writer method with validation
|
|
287
|
+
# @param [Object] id Value to be assigned
|
|
288
|
+
def id=(id)
|
|
289
|
+
if id.nil?
|
|
290
|
+
fail ArgumentError, 'id cannot be nil'
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
@id = id
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
# Custom attribute writer method with validation
|
|
297
|
+
# @param [Object] organization_id Value to be assigned
|
|
298
|
+
def organization_id=(organization_id)
|
|
299
|
+
if organization_id.nil?
|
|
300
|
+
fail ArgumentError, 'organization_id cannot be nil'
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
@organization_id = organization_id
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
# Custom attribute writer method with validation
|
|
307
|
+
# @param [Object] snapshot Value to be assigned
|
|
308
|
+
def snapshot=(snapshot)
|
|
309
|
+
if snapshot.nil?
|
|
310
|
+
fail ArgumentError, 'snapshot cannot be nil'
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
@snapshot = snapshot
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# Custom attribute writer method with validation
|
|
317
|
+
# @param [Object] target Value to be assigned
|
|
318
|
+
def target=(target)
|
|
319
|
+
if target.nil?
|
|
320
|
+
fail ArgumentError, 'target cannot be nil'
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
@target = target
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
# Custom attribute writer method with validation
|
|
327
|
+
# @param [Object] pool Value to be assigned
|
|
328
|
+
def pool=(pool)
|
|
329
|
+
if pool.nil?
|
|
330
|
+
fail ArgumentError, 'pool cannot be nil'
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
@pool = pool
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# Custom attribute writer method with validation
|
|
337
|
+
# @param [Object] current_size Value to be assigned
|
|
338
|
+
def current_size=(current_size)
|
|
339
|
+
if current_size.nil?
|
|
340
|
+
fail ArgumentError, 'current_size cannot be nil'
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
@current_size = current_size
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
# Custom attribute writer method with validation
|
|
347
|
+
# @param [Object] cpu Value to be assigned
|
|
348
|
+
def cpu=(cpu)
|
|
349
|
+
if cpu.nil?
|
|
350
|
+
fail ArgumentError, 'cpu cannot be nil'
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
@cpu = cpu
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# Custom attribute writer method with validation
|
|
357
|
+
# @param [Object] mem Value to be assigned
|
|
358
|
+
def mem=(mem)
|
|
359
|
+
if mem.nil?
|
|
360
|
+
fail ArgumentError, 'mem cannot be nil'
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
@mem = mem
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# Custom attribute writer method with validation
|
|
367
|
+
# @param [Object] disk Value to be assigned
|
|
368
|
+
def disk=(disk)
|
|
369
|
+
if disk.nil?
|
|
370
|
+
fail ArgumentError, 'disk cannot be nil'
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
@disk = disk
|
|
374
|
+
end
|
|
375
|
+
|
|
376
|
+
# Custom attribute writer method with validation
|
|
377
|
+
# @param [Object] os_user Value to be assigned
|
|
378
|
+
def os_user=(os_user)
|
|
379
|
+
if os_user.nil?
|
|
380
|
+
fail ArgumentError, 'os_user cannot be nil'
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
@os_user = os_user
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# Custom attribute writer method with validation
|
|
387
|
+
# @param [Object] env Value to be assigned
|
|
388
|
+
def env=(env)
|
|
389
|
+
if env.nil?
|
|
390
|
+
fail ArgumentError, 'env cannot be nil'
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
@env = env
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
# Custom attribute writer method with validation
|
|
397
|
+
# @param [Object] created_at Value to be assigned
|
|
398
|
+
def created_at=(created_at)
|
|
399
|
+
if created_at.nil?
|
|
400
|
+
fail ArgumentError, 'created_at cannot be nil'
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
@created_at = created_at
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
# Custom attribute writer method with validation
|
|
407
|
+
# @param [Object] updated_at Value to be assigned
|
|
408
|
+
def updated_at=(updated_at)
|
|
409
|
+
if updated_at.nil?
|
|
410
|
+
fail ArgumentError, 'updated_at cannot be nil'
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
@updated_at = updated_at
|
|
414
|
+
end
|
|
415
|
+
|
|
416
|
+
# Checks equality by comparing each attribute.
|
|
417
|
+
# @param [Object] Object to be compared
|
|
418
|
+
def ==(o)
|
|
419
|
+
return true if self.equal?(o)
|
|
420
|
+
self.class == o.class &&
|
|
421
|
+
id == o.id &&
|
|
422
|
+
organization_id == o.organization_id &&
|
|
423
|
+
snapshot == o.snapshot &&
|
|
424
|
+
target == o.target &&
|
|
425
|
+
pool == o.pool &&
|
|
426
|
+
current_size == o.current_size &&
|
|
427
|
+
cpu == o.cpu &&
|
|
428
|
+
mem == o.mem &&
|
|
429
|
+
disk == o.disk &&
|
|
430
|
+
os_user == o.os_user &&
|
|
431
|
+
env == o.env &&
|
|
432
|
+
error_reason == o.error_reason &&
|
|
433
|
+
created_at == o.created_at &&
|
|
434
|
+
updated_at == o.updated_at
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# @see the `==` method
|
|
438
|
+
# @param [Object] Object to be compared
|
|
439
|
+
def eql?(o)
|
|
440
|
+
self == o
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# Calculates hash code according to all attributes.
|
|
444
|
+
# @return [Integer] Hash code
|
|
445
|
+
def hash
|
|
446
|
+
[id, organization_id, snapshot, target, pool, current_size, cpu, mem, disk, os_user, env, error_reason, created_at, updated_at].hash
|
|
447
|
+
end
|
|
448
|
+
|
|
449
|
+
# Builds the object from hash
|
|
450
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
451
|
+
# @return [Object] Returns the model itself
|
|
452
|
+
def self.build_from_hash(attributes)
|
|
453
|
+
return nil unless attributes.is_a?(Hash)
|
|
454
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
455
|
+
transformed_hash = {}
|
|
456
|
+
openapi_types.each_pair do |key, type|
|
|
457
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
458
|
+
transformed_hash["#{key}"] = nil
|
|
459
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
460
|
+
# check to ensure the input is an array given that the attribute
|
|
461
|
+
# is documented as an array but the input is not
|
|
462
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
463
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
464
|
+
end
|
|
465
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
466
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
467
|
+
end
|
|
468
|
+
end
|
|
469
|
+
new(transformed_hash)
|
|
470
|
+
end
|
|
471
|
+
|
|
472
|
+
# Returns the object in the form of hash
|
|
473
|
+
# @return [Hash] Returns the object in the form of hash
|
|
474
|
+
def to_hash
|
|
475
|
+
hash = {}
|
|
476
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
477
|
+
value = self.send(attr)
|
|
478
|
+
if value.nil?
|
|
479
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
480
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
hash[param] = _to_hash(value)
|
|
484
|
+
end
|
|
485
|
+
hash
|
|
486
|
+
end
|
|
487
|
+
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
end
|
data/lib/daytona_api_client.rb
CHANGED
|
@@ -47,6 +47,7 @@ require 'daytona_api_client/models/create_secret'
|
|
|
47
47
|
require 'daytona_api_client/models/create_snapshot'
|
|
48
48
|
require 'daytona_api_client/models/create_user'
|
|
49
49
|
require 'daytona_api_client/models/create_volume'
|
|
50
|
+
require 'daytona_api_client/models/create_warm_pool'
|
|
50
51
|
require 'daytona_api_client/models/date_filter'
|
|
51
52
|
require 'daytona_api_client/models/daytona_configuration'
|
|
52
53
|
require 'daytona_api_client/models/docker_registry'
|
|
@@ -128,6 +129,7 @@ require 'daytona_api_client/models/trace_span'
|
|
|
128
129
|
require 'daytona_api_client/models/trace_summary'
|
|
129
130
|
require 'daytona_api_client/models/update_docker_registry'
|
|
130
131
|
require 'daytona_api_client/models/update_job_status'
|
|
132
|
+
require 'daytona_api_client/models/update_last_activity'
|
|
131
133
|
require 'daytona_api_client/models/update_organization_default_region'
|
|
132
134
|
require 'daytona_api_client/models/update_organization_invitation'
|
|
133
135
|
require 'daytona_api_client/models/update_organization_member_access'
|
|
@@ -139,11 +141,13 @@ require 'daytona_api_client/models/update_sandbox_network_settings'
|
|
|
139
141
|
require 'daytona_api_client/models/update_sandbox_secrets'
|
|
140
142
|
require 'daytona_api_client/models/update_sandbox_state_dto'
|
|
141
143
|
require 'daytona_api_client/models/update_secret'
|
|
144
|
+
require 'daytona_api_client/models/update_warm_pool'
|
|
142
145
|
require 'daytona_api_client/models/url'
|
|
143
146
|
require 'daytona_api_client/models/user'
|
|
144
147
|
require 'daytona_api_client/models/user_public_key'
|
|
145
148
|
require 'daytona_api_client/models/volume_dto'
|
|
146
149
|
require 'daytona_api_client/models/volume_state'
|
|
150
|
+
require 'daytona_api_client/models/warm_pool'
|
|
147
151
|
require 'daytona_api_client/models/webhook_app_portal_access'
|
|
148
152
|
require 'daytona_api_client/models/webhook_event'
|
|
149
153
|
require 'daytona_api_client/models/webhook_initialization_status'
|
|
@@ -166,6 +170,7 @@ require 'daytona_api_client/api/secret_api'
|
|
|
166
170
|
require 'daytona_api_client/api/snapshots_api'
|
|
167
171
|
require 'daytona_api_client/api/users_api'
|
|
168
172
|
require 'daytona_api_client/api/volumes_api'
|
|
173
|
+
require 'daytona_api_client/api/warm_pools_api'
|
|
169
174
|
require 'daytona_api_client/api/webhooks_api'
|
|
170
175
|
|
|
171
176
|
module DaytonaApiClient
|
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.201.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- daytona
|
|
@@ -83,6 +83,7 @@ files:
|
|
|
83
83
|
- lib/daytona_api_client/api/snapshots_api.rb
|
|
84
84
|
- lib/daytona_api_client/api/users_api.rb
|
|
85
85
|
- lib/daytona_api_client/api/volumes_api.rb
|
|
86
|
+
- lib/daytona_api_client/api/warm_pools_api.rb
|
|
86
87
|
- lib/daytona_api_client/api/webhooks_api.rb
|
|
87
88
|
- lib/daytona_api_client/api_client.rb
|
|
88
89
|
- lib/daytona_api_client/api_error.rb
|
|
@@ -117,6 +118,7 @@ files:
|
|
|
117
118
|
- lib/daytona_api_client/models/create_snapshot.rb
|
|
118
119
|
- lib/daytona_api_client/models/create_user.rb
|
|
119
120
|
- lib/daytona_api_client/models/create_volume.rb
|
|
121
|
+
- lib/daytona_api_client/models/create_warm_pool.rb
|
|
120
122
|
- lib/daytona_api_client/models/date_filter.rb
|
|
121
123
|
- lib/daytona_api_client/models/daytona_configuration.rb
|
|
122
124
|
- lib/daytona_api_client/models/docker_registry.rb
|
|
@@ -198,6 +200,7 @@ files:
|
|
|
198
200
|
- lib/daytona_api_client/models/trace_summary.rb
|
|
199
201
|
- lib/daytona_api_client/models/update_docker_registry.rb
|
|
200
202
|
- lib/daytona_api_client/models/update_job_status.rb
|
|
203
|
+
- lib/daytona_api_client/models/update_last_activity.rb
|
|
201
204
|
- lib/daytona_api_client/models/update_organization_default_region.rb
|
|
202
205
|
- lib/daytona_api_client/models/update_organization_invitation.rb
|
|
203
206
|
- lib/daytona_api_client/models/update_organization_member_access.rb
|
|
@@ -209,11 +212,13 @@ files:
|
|
|
209
212
|
- lib/daytona_api_client/models/update_sandbox_secrets.rb
|
|
210
213
|
- lib/daytona_api_client/models/update_sandbox_state_dto.rb
|
|
211
214
|
- lib/daytona_api_client/models/update_secret.rb
|
|
215
|
+
- lib/daytona_api_client/models/update_warm_pool.rb
|
|
212
216
|
- lib/daytona_api_client/models/url.rb
|
|
213
217
|
- lib/daytona_api_client/models/user.rb
|
|
214
218
|
- lib/daytona_api_client/models/user_public_key.rb
|
|
215
219
|
- lib/daytona_api_client/models/volume_dto.rb
|
|
216
220
|
- lib/daytona_api_client/models/volume_state.rb
|
|
221
|
+
- lib/daytona_api_client/models/warm_pool.rb
|
|
217
222
|
- lib/daytona_api_client/models/webhook_app_portal_access.rb
|
|
218
223
|
- lib/daytona_api_client/models/webhook_event.rb
|
|
219
224
|
- lib/daytona_api_client/models/webhook_initialization_status.rb
|