daytona_api_client 0.220.0 → 0.223.0.alpha.2
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: 666b63cae5c6ba5249b329ecba4156b79cc01acf8696925dd7e9a021e5f0b1c3
|
|
4
|
+
data.tar.gz: 07550e8bda1d9f86ce90f8419eac9500cc3e81497c0f1c287e7cb7cfa2964a9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83a1f4e15791da85ab8e892871313245243dfe4bc05d25c935852aa0a9953c7ef4c354579499bc87c5ffe608d77567a74e0957106af10b96538daed03258d061
|
|
7
|
+
data.tar.gz: 4e0c14eff212285707dc1992dfb8ec2553fd2967475f93a23cf92ddb602897f3998b1250311622aa40b0353b7900e1b9d2332fc01f717acdbff593a57916d76b
|
|
@@ -623,7 +623,7 @@ module DaytonaApiClient
|
|
|
623
623
|
return false if @disk.nil?
|
|
624
624
|
backup_state_validator = EnumAttributeValidator.new('String', ["None", "Pending", "InProgress", "Completed", "Error", "unknown_default_open_api"])
|
|
625
625
|
return false unless backup_state_validator.valid?(@backup_state)
|
|
626
|
-
sandbox_class_validator = EnumAttributeValidator.new('String', ["linux-vm", "container", "
|
|
626
|
+
sandbox_class_validator = EnumAttributeValidator.new('String', ["linux-vm", "container", "windows", "unknown_default_open_api"])
|
|
627
627
|
return false unless sandbox_class_validator.valid?(@sandbox_class)
|
|
628
628
|
return false if @toolbox_proxy_url.nil?
|
|
629
629
|
true
|
|
@@ -782,7 +782,7 @@ module DaytonaApiClient
|
|
|
782
782
|
# Custom attribute writer method checking allowed values (enum).
|
|
783
783
|
# @param [Object] sandbox_class Object to be assigned
|
|
784
784
|
def sandbox_class=(sandbox_class)
|
|
785
|
-
validator = EnumAttributeValidator.new('String', ["linux-vm", "container", "
|
|
785
|
+
validator = EnumAttributeValidator.new('String', ["linux-vm", "container", "windows", "unknown_default_open_api"])
|
|
786
786
|
unless validator.valid?(sandbox_class)
|
|
787
787
|
fail ArgumentError, "invalid value for \"sandbox_class\", must be one of #{validator.allowable_values}."
|
|
788
788
|
end
|
|
@@ -17,12 +17,11 @@ module DaytonaApiClient
|
|
|
17
17
|
class SandboxClass
|
|
18
18
|
LINUX_VM = "linux-vm".freeze
|
|
19
19
|
CONTAINER = "container".freeze
|
|
20
|
-
ANDROID = "android".freeze
|
|
21
20
|
WINDOWS = "windows".freeze
|
|
22
21
|
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze
|
|
23
22
|
|
|
24
23
|
def self.all_vars
|
|
25
|
-
@all_vars ||= [LINUX_VM, CONTAINER,
|
|
24
|
+
@all_vars ||= [LINUX_VM, CONTAINER, WINDOWS, UNKNOWN_DEFAULT_OPEN_API].freeze
|
|
26
25
|
end
|
|
27
26
|
|
|
28
27
|
# Builds the enum from string
|
|
@@ -374,7 +374,7 @@ module DaytonaApiClient
|
|
|
374
374
|
return false if @disk.nil?
|
|
375
375
|
return false if @created_at.nil?
|
|
376
376
|
return false if @updated_at.nil?
|
|
377
|
-
sandbox_class_validator = EnumAttributeValidator.new('String', ["linux-vm", "container", "
|
|
377
|
+
sandbox_class_validator = EnumAttributeValidator.new('String', ["linux-vm", "container", "windows", "unknown_default_open_api"])
|
|
378
378
|
return false unless sandbox_class_validator.valid?(@sandbox_class)
|
|
379
379
|
true
|
|
380
380
|
end
|
|
@@ -482,7 +482,7 @@ module DaytonaApiClient
|
|
|
482
482
|
# Custom attribute writer method checking allowed values (enum).
|
|
483
483
|
# @param [Object] sandbox_class Object to be assigned
|
|
484
484
|
def sandbox_class=(sandbox_class)
|
|
485
|
-
validator = EnumAttributeValidator.new('String', ["linux-vm", "container", "
|
|
485
|
+
validator = EnumAttributeValidator.new('String', ["linux-vm", "container", "windows", "unknown_default_open_api"])
|
|
486
486
|
unless validator.valid?(sandbox_class)
|
|
487
487
|
fail ArgumentError, "invalid value for \"sandbox_class\", must be one of #{validator.allowable_values}."
|
|
488
488
|
end
|
data/project.json
CHANGED
|
@@ -51,8 +51,7 @@
|
|
|
51
51
|
"options": {
|
|
52
52
|
"cwd": "{projectRoot}",
|
|
53
53
|
"commands": [
|
|
54
|
-
"
|
|
55
|
-
"gem push daytona_api_client-*.gem --key rubygems --host https://rubygems.org"
|
|
54
|
+
"gem push daytona_api_client-*.gem --host https://rubygems.org"
|
|
56
55
|
],
|
|
57
56
|
"parallel": false
|
|
58
57
|
},
|