daytona_api_client 0.149.0.alpha.2 → 0.149.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 810a49fc27a6db1b5ef8d68b50b1dfe21fc6d06cd842b01b2a949d95608cf659
|
|
4
|
+
data.tar.gz: d4a97cf59af864031fe3d8b5e58628c3dd65380b52637dc1067fa619d1e46da7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63bd86d9d0f814d3fb0166164f62b19c2bd050150c021122738376540c111d4c0ab02399de24b5f2cd2b0a0f6e69925df492c1057bc240a9e1280d7570707c0e
|
|
7
|
+
data.tar.gz: f3633db9ccbedf84d4fd2ecd1a41cf4fa8a9c0aa0066d3bb744fd14be3dbe249992d3e2402027390ad40f73b0177feef54f1fdc5e91aab1076a3190a0b9f0c86
|
|
@@ -57,6 +57,9 @@ module DaytonaApiClient
|
|
|
57
57
|
# Max disk per sandbox
|
|
58
58
|
attr_accessor :max_disk_per_sandbox
|
|
59
59
|
|
|
60
|
+
# Time in minutes before an unused snapshot is deactivated
|
|
61
|
+
attr_accessor :snapshot_deactivation_timeout_minutes
|
|
62
|
+
|
|
60
63
|
# Sandbox default network block all
|
|
61
64
|
attr_accessor :sandbox_limited_network_egress
|
|
62
65
|
|
|
@@ -101,6 +104,7 @@ module DaytonaApiClient
|
|
|
101
104
|
:'max_cpu_per_sandbox' => :'maxCpuPerSandbox',
|
|
102
105
|
:'max_memory_per_sandbox' => :'maxMemoryPerSandbox',
|
|
103
106
|
:'max_disk_per_sandbox' => :'maxDiskPerSandbox',
|
|
107
|
+
:'snapshot_deactivation_timeout_minutes' => :'snapshotDeactivationTimeoutMinutes',
|
|
104
108
|
:'sandbox_limited_network_egress' => :'sandboxLimitedNetworkEgress',
|
|
105
109
|
:'default_region_id' => :'defaultRegionId',
|
|
106
110
|
:'authenticated_rate_limit' => :'authenticatedRateLimit',
|
|
@@ -140,6 +144,7 @@ module DaytonaApiClient
|
|
|
140
144
|
:'max_cpu_per_sandbox' => :'Float',
|
|
141
145
|
:'max_memory_per_sandbox' => :'Float',
|
|
142
146
|
:'max_disk_per_sandbox' => :'Float',
|
|
147
|
+
:'snapshot_deactivation_timeout_minutes' => :'Float',
|
|
143
148
|
:'sandbox_limited_network_egress' => :'Boolean',
|
|
144
149
|
:'default_region_id' => :'String',
|
|
145
150
|
:'authenticated_rate_limit' => :'Float',
|
|
@@ -264,6 +269,12 @@ module DaytonaApiClient
|
|
|
264
269
|
self.max_disk_per_sandbox = nil
|
|
265
270
|
end
|
|
266
271
|
|
|
272
|
+
if attributes.key?(:'snapshot_deactivation_timeout_minutes')
|
|
273
|
+
self.snapshot_deactivation_timeout_minutes = attributes[:'snapshot_deactivation_timeout_minutes']
|
|
274
|
+
else
|
|
275
|
+
self.snapshot_deactivation_timeout_minutes = 20160
|
|
276
|
+
end
|
|
277
|
+
|
|
267
278
|
if attributes.key?(:'sandbox_limited_network_egress')
|
|
268
279
|
self.sandbox_limited_network_egress = attributes[:'sandbox_limited_network_egress']
|
|
269
280
|
else
|
|
@@ -378,6 +389,10 @@ module DaytonaApiClient
|
|
|
378
389
|
invalid_properties.push('invalid value for "max_disk_per_sandbox", max_disk_per_sandbox cannot be nil.')
|
|
379
390
|
end
|
|
380
391
|
|
|
392
|
+
if @snapshot_deactivation_timeout_minutes.nil?
|
|
393
|
+
invalid_properties.push('invalid value for "snapshot_deactivation_timeout_minutes", snapshot_deactivation_timeout_minutes cannot be nil.')
|
|
394
|
+
end
|
|
395
|
+
|
|
381
396
|
if @sandbox_limited_network_egress.nil?
|
|
382
397
|
invalid_properties.push('invalid value for "sandbox_limited_network_egress", sandbox_limited_network_egress cannot be nil.')
|
|
383
398
|
end
|
|
@@ -407,6 +422,7 @@ module DaytonaApiClient
|
|
|
407
422
|
return false if @max_cpu_per_sandbox.nil?
|
|
408
423
|
return false if @max_memory_per_sandbox.nil?
|
|
409
424
|
return false if @max_disk_per_sandbox.nil?
|
|
425
|
+
return false if @snapshot_deactivation_timeout_minutes.nil?
|
|
410
426
|
return false if @sandbox_limited_network_egress.nil?
|
|
411
427
|
return false if @experimental_config.nil?
|
|
412
428
|
true
|
|
@@ -552,6 +568,16 @@ module DaytonaApiClient
|
|
|
552
568
|
@max_disk_per_sandbox = max_disk_per_sandbox
|
|
553
569
|
end
|
|
554
570
|
|
|
571
|
+
# Custom attribute writer method with validation
|
|
572
|
+
# @param [Object] snapshot_deactivation_timeout_minutes Value to be assigned
|
|
573
|
+
def snapshot_deactivation_timeout_minutes=(snapshot_deactivation_timeout_minutes)
|
|
574
|
+
if snapshot_deactivation_timeout_minutes.nil?
|
|
575
|
+
fail ArgumentError, 'snapshot_deactivation_timeout_minutes cannot be nil'
|
|
576
|
+
end
|
|
577
|
+
|
|
578
|
+
@snapshot_deactivation_timeout_minutes = snapshot_deactivation_timeout_minutes
|
|
579
|
+
end
|
|
580
|
+
|
|
555
581
|
# Custom attribute writer method with validation
|
|
556
582
|
# @param [Object] sandbox_limited_network_egress Value to be assigned
|
|
557
583
|
def sandbox_limited_network_egress=(sandbox_limited_network_egress)
|
|
@@ -591,6 +617,7 @@ module DaytonaApiClient
|
|
|
591
617
|
max_cpu_per_sandbox == o.max_cpu_per_sandbox &&
|
|
592
618
|
max_memory_per_sandbox == o.max_memory_per_sandbox &&
|
|
593
619
|
max_disk_per_sandbox == o.max_disk_per_sandbox &&
|
|
620
|
+
snapshot_deactivation_timeout_minutes == o.snapshot_deactivation_timeout_minutes &&
|
|
594
621
|
sandbox_limited_network_egress == o.sandbox_limited_network_egress &&
|
|
595
622
|
default_region_id == o.default_region_id &&
|
|
596
623
|
authenticated_rate_limit == o.authenticated_rate_limit &&
|
|
@@ -611,7 +638,7 @@ module DaytonaApiClient
|
|
|
611
638
|
# Calculates hash code according to all attributes.
|
|
612
639
|
# @return [Integer] Hash code
|
|
613
640
|
def hash
|
|
614
|
-
[id, name, created_by, personal, created_at, updated_at, suspended, suspended_at, suspension_reason, suspended_until, suspension_cleanup_grace_period_hours, max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, sandbox_limited_network_egress, default_region_id, authenticated_rate_limit, sandbox_create_rate_limit, sandbox_lifecycle_rate_limit, experimental_config, authenticated_rate_limit_ttl_seconds, sandbox_create_rate_limit_ttl_seconds, sandbox_lifecycle_rate_limit_ttl_seconds].hash
|
|
641
|
+
[id, name, created_by, personal, created_at, updated_at, suspended, suspended_at, suspension_reason, suspended_until, suspension_cleanup_grace_period_hours, max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, snapshot_deactivation_timeout_minutes, sandbox_limited_network_egress, default_region_id, authenticated_rate_limit, sandbox_create_rate_limit, sandbox_lifecycle_rate_limit, experimental_config, authenticated_rate_limit_ttl_seconds, sandbox_create_rate_limit_ttl_seconds, sandbox_lifecycle_rate_limit_ttl_seconds].hash
|
|
615
642
|
end
|
|
616
643
|
|
|
617
644
|
# Builds the object from hash
|
|
@@ -39,6 +39,9 @@ module DaytonaApiClient
|
|
|
39
39
|
|
|
40
40
|
attr_accessor :sandbox_lifecycle_rate_limit_ttl_seconds
|
|
41
41
|
|
|
42
|
+
# Time in minutes before an unused snapshot is deactivated
|
|
43
|
+
attr_accessor :snapshot_deactivation_timeout_minutes
|
|
44
|
+
|
|
42
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
46
|
def self.attribute_map
|
|
44
47
|
{
|
|
@@ -53,7 +56,8 @@ module DaytonaApiClient
|
|
|
53
56
|
:'sandbox_lifecycle_rate_limit' => :'sandboxLifecycleRateLimit',
|
|
54
57
|
:'authenticated_rate_limit_ttl_seconds' => :'authenticatedRateLimitTtlSeconds',
|
|
55
58
|
:'sandbox_create_rate_limit_ttl_seconds' => :'sandboxCreateRateLimitTtlSeconds',
|
|
56
|
-
:'sandbox_lifecycle_rate_limit_ttl_seconds' => :'sandboxLifecycleRateLimitTtlSeconds'
|
|
59
|
+
:'sandbox_lifecycle_rate_limit_ttl_seconds' => :'sandboxLifecycleRateLimitTtlSeconds',
|
|
60
|
+
:'snapshot_deactivation_timeout_minutes' => :'snapshotDeactivationTimeoutMinutes'
|
|
57
61
|
}
|
|
58
62
|
end
|
|
59
63
|
|
|
@@ -81,7 +85,8 @@ module DaytonaApiClient
|
|
|
81
85
|
:'sandbox_lifecycle_rate_limit' => :'Float',
|
|
82
86
|
:'authenticated_rate_limit_ttl_seconds' => :'Float',
|
|
83
87
|
:'sandbox_create_rate_limit_ttl_seconds' => :'Float',
|
|
84
|
-
:'sandbox_lifecycle_rate_limit_ttl_seconds' => :'Float'
|
|
88
|
+
:'sandbox_lifecycle_rate_limit_ttl_seconds' => :'Float',
|
|
89
|
+
:'snapshot_deactivation_timeout_minutes' => :'Float'
|
|
85
90
|
}
|
|
86
91
|
end
|
|
87
92
|
|
|
@@ -99,7 +104,8 @@ module DaytonaApiClient
|
|
|
99
104
|
:'sandbox_lifecycle_rate_limit',
|
|
100
105
|
:'authenticated_rate_limit_ttl_seconds',
|
|
101
106
|
:'sandbox_create_rate_limit_ttl_seconds',
|
|
102
|
-
:'sandbox_lifecycle_rate_limit_ttl_seconds'
|
|
107
|
+
:'sandbox_lifecycle_rate_limit_ttl_seconds',
|
|
108
|
+
:'snapshot_deactivation_timeout_minutes'
|
|
103
109
|
])
|
|
104
110
|
end
|
|
105
111
|
|
|
@@ -190,6 +196,12 @@ module DaytonaApiClient
|
|
|
190
196
|
else
|
|
191
197
|
self.sandbox_lifecycle_rate_limit_ttl_seconds = nil
|
|
192
198
|
end
|
|
199
|
+
|
|
200
|
+
if attributes.key?(:'snapshot_deactivation_timeout_minutes')
|
|
201
|
+
self.snapshot_deactivation_timeout_minutes = attributes[:'snapshot_deactivation_timeout_minutes']
|
|
202
|
+
else
|
|
203
|
+
self.snapshot_deactivation_timeout_minutes = nil
|
|
204
|
+
end
|
|
193
205
|
end
|
|
194
206
|
|
|
195
207
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -223,7 +235,8 @@ module DaytonaApiClient
|
|
|
223
235
|
sandbox_lifecycle_rate_limit == o.sandbox_lifecycle_rate_limit &&
|
|
224
236
|
authenticated_rate_limit_ttl_seconds == o.authenticated_rate_limit_ttl_seconds &&
|
|
225
237
|
sandbox_create_rate_limit_ttl_seconds == o.sandbox_create_rate_limit_ttl_seconds &&
|
|
226
|
-
sandbox_lifecycle_rate_limit_ttl_seconds == o.sandbox_lifecycle_rate_limit_ttl_seconds
|
|
238
|
+
sandbox_lifecycle_rate_limit_ttl_seconds == o.sandbox_lifecycle_rate_limit_ttl_seconds &&
|
|
239
|
+
snapshot_deactivation_timeout_minutes == o.snapshot_deactivation_timeout_minutes
|
|
227
240
|
end
|
|
228
241
|
|
|
229
242
|
# @see the `==` method
|
|
@@ -235,7 +248,7 @@ module DaytonaApiClient
|
|
|
235
248
|
# Calculates hash code according to all attributes.
|
|
236
249
|
# @return [Integer] Hash code
|
|
237
250
|
def hash
|
|
238
|
-
[max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, snapshot_quota, max_snapshot_size, volume_quota, authenticated_rate_limit, sandbox_create_rate_limit, sandbox_lifecycle_rate_limit, authenticated_rate_limit_ttl_seconds, sandbox_create_rate_limit_ttl_seconds, sandbox_lifecycle_rate_limit_ttl_seconds].hash
|
|
251
|
+
[max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, snapshot_quota, max_snapshot_size, volume_quota, authenticated_rate_limit, sandbox_create_rate_limit, sandbox_lifecycle_rate_limit, authenticated_rate_limit_ttl_seconds, sandbox_create_rate_limit_ttl_seconds, sandbox_lifecycle_rate_limit_ttl_seconds, snapshot_deactivation_timeout_minutes].hash
|
|
239
252
|
end
|
|
240
253
|
|
|
241
254
|
# Builds the object from hash
|
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: daytona_api_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.149.0
|
|
4
|
+
version: 0.149.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- daytonaio
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: bin
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-03-05 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: typhoeus
|
|
@@ -270,6 +271,7 @@ homepage: https://github.com/daytonaio/daytona
|
|
|
270
271
|
licenses:
|
|
271
272
|
- Unlicense
|
|
272
273
|
metadata: {}
|
|
274
|
+
post_install_message:
|
|
273
275
|
rdoc_options: []
|
|
274
276
|
require_paths:
|
|
275
277
|
- lib
|
|
@@ -284,7 +286,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
284
286
|
- !ruby/object:Gem::Version
|
|
285
287
|
version: '0'
|
|
286
288
|
requirements: []
|
|
287
|
-
rubygems_version: 3.
|
|
289
|
+
rubygems_version: 3.4.19
|
|
290
|
+
signing_key:
|
|
288
291
|
specification_version: 4
|
|
289
292
|
summary: Daytona Ruby Gem
|
|
290
293
|
test_files: []
|