daytona_api_client 0.180.0.alpha.1 → 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/lib/daytona_api_client/models/sandbox_list_item.rb +14 -14
- data/lib/daytona_api_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e10e9f8dec0d68af59040b804ec5edd633278a6f9acfe88b6eed2cbf2c50bb0
|
|
4
|
+
data.tar.gz: 7cb8b760271a42d01ece7725bb17adaa023e10dd84e7ab1f7ad79eac3e04f183
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 249d2b2f30a5fd1b21ffe15899989f188fec9c0d8c14fd05a84fe8b9ed99afd1ff8ebcb5117e012b7c4d2ecab1037bf315a603f016f8431f87e15361e73ea0af
|
|
7
|
+
data.tar.gz: 12889377e4e6308525c3b663dc3de75a6334ec1d032f5bdd6104ca8c81fd834ba19660bd0a65d7ea90b5a6b25226866b7bf588a1f8e89ea949070349a66ebe3e
|
|
@@ -31,7 +31,7 @@ module DaytonaApiClient
|
|
|
31
31
|
attr_accessor :runner_id
|
|
32
32
|
|
|
33
33
|
# The class of the sandbox
|
|
34
|
-
attr_accessor :
|
|
34
|
+
attr_accessor :sandbox_class
|
|
35
35
|
|
|
36
36
|
# The state of the sandbox
|
|
37
37
|
attr_accessor :state
|
|
@@ -126,7 +126,7 @@ module DaytonaApiClient
|
|
|
126
126
|
:'name' => :'name',
|
|
127
127
|
:'target' => :'target',
|
|
128
128
|
:'runner_id' => :'runnerId',
|
|
129
|
-
:'
|
|
129
|
+
:'sandbox_class' => :'sandboxClass',
|
|
130
130
|
:'state' => :'state',
|
|
131
131
|
:'desired_state' => :'desiredState',
|
|
132
132
|
:'snapshot' => :'snapshot',
|
|
@@ -169,7 +169,7 @@ module DaytonaApiClient
|
|
|
169
169
|
:'name' => :'String',
|
|
170
170
|
:'target' => :'String',
|
|
171
171
|
:'runner_id' => :'String',
|
|
172
|
-
:'
|
|
172
|
+
:'sandbox_class' => :'String',
|
|
173
173
|
:'state' => :'SandboxState',
|
|
174
174
|
:'desired_state' => :'SandboxDesiredState',
|
|
175
175
|
:'snapshot' => :'String',
|
|
@@ -244,8 +244,8 @@ module DaytonaApiClient
|
|
|
244
244
|
self.runner_id = attributes[:'runner_id']
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
-
if attributes.key?(:'
|
|
248
|
-
self.
|
|
247
|
+
if attributes.key?(:'sandbox_class')
|
|
248
|
+
self.sandbox_class = attributes[:'sandbox_class']
|
|
249
249
|
end
|
|
250
250
|
|
|
251
251
|
if attributes.key?(:'state')
|
|
@@ -415,8 +415,8 @@ module DaytonaApiClient
|
|
|
415
415
|
return false if @organization_id.nil?
|
|
416
416
|
return false if @name.nil?
|
|
417
417
|
return false if @target.nil?
|
|
418
|
-
|
|
419
|
-
return false unless
|
|
418
|
+
sandbox_class_validator = EnumAttributeValidator.new('String', ["small", "medium", "large", "unknown_default_open_api"])
|
|
419
|
+
return false unless sandbox_class_validator.valid?(@sandbox_class)
|
|
420
420
|
return false if @user.nil?
|
|
421
421
|
return false if @public.nil?
|
|
422
422
|
return false if @cpu.nil?
|
|
@@ -471,13 +471,13 @@ module DaytonaApiClient
|
|
|
471
471
|
end
|
|
472
472
|
|
|
473
473
|
# Custom attribute writer method checking allowed values (enum).
|
|
474
|
-
# @param [Object]
|
|
475
|
-
def
|
|
474
|
+
# @param [Object] sandbox_class Object to be assigned
|
|
475
|
+
def sandbox_class=(sandbox_class)
|
|
476
476
|
validator = EnumAttributeValidator.new('String', ["small", "medium", "large", "unknown_default_open_api"])
|
|
477
|
-
unless validator.valid?(
|
|
478
|
-
fail ArgumentError, "invalid value for \"
|
|
477
|
+
unless validator.valid?(sandbox_class)
|
|
478
|
+
fail ArgumentError, "invalid value for \"sandbox_class\", must be one of #{validator.allowable_values}."
|
|
479
479
|
end
|
|
480
|
-
@
|
|
480
|
+
@sandbox_class = sandbox_class
|
|
481
481
|
end
|
|
482
482
|
|
|
483
483
|
# Custom attribute writer method with validation
|
|
@@ -580,7 +580,7 @@ module DaytonaApiClient
|
|
|
580
580
|
name == o.name &&
|
|
581
581
|
target == o.target &&
|
|
582
582
|
runner_id == o.runner_id &&
|
|
583
|
-
|
|
583
|
+
sandbox_class == o.sandbox_class &&
|
|
584
584
|
state == o.state &&
|
|
585
585
|
desired_state == o.desired_state &&
|
|
586
586
|
snapshot == o.snapshot &&
|
|
@@ -613,7 +613,7 @@ module DaytonaApiClient
|
|
|
613
613
|
# Calculates hash code according to all attributes.
|
|
614
614
|
# @return [Integer] Hash code
|
|
615
615
|
def hash
|
|
616
|
-
[id, organization_id, name, target, runner_id,
|
|
616
|
+
[id, organization_id, name, target, runner_id, sandbox_class, state, desired_state, snapshot, user, error_reason, recoverable, public, cpu, gpu, memory, disk, labels, backup_state, auto_stop_interval, auto_archive_interval, auto_delete_interval, created_at, updated_at, last_activity_at, daemon_version, toolbox_proxy_url].hash
|
|
617
617
|
end
|
|
618
618
|
|
|
619
619
|
# Builds the object from hash
|