daytona_api_client 0.185.0 → 0.186.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/create_sandbox_snapshot.rb +16 -4
- data/lib/daytona_api_client/models/runner.rb +1 -1
- data/lib/daytona_api_client/models/runner_class.rb +1 -2
- data/lib/daytona_api_client/models/runner_full.rb +1 -1
- data/lib/daytona_api_client/models/sandbox_volume.rb +1 -1
- 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: 893eb5b565d2686e4783cbe1c565b62c54e69f4e16db9dee4d440d085e8b6c2c
|
|
4
|
+
data.tar.gz: 2f729a54a55d41c582c100d7b811adcf498b85cc3ccfa5c6db2431610a1027de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ec638b0fb8bec7f358837764b92c6f43bfd0089053d75a5690c88d5d7920cd233417197bfdbb00d13052e1b188db105d63dfc09e907147a68a014c6333b34da
|
|
7
|
+
data.tar.gz: 27189331cd08ba3a981d9f4466d75acbd32453ea3460c6c3b96e5c97d06f4be0d502c9c4f1dbfb14d3c5da0e5943081edff91b16fe3fba9c3b6f7c696235edda
|
|
@@ -18,10 +18,14 @@ module DaytonaApiClient
|
|
|
18
18
|
# Name for the new snapshot
|
|
19
19
|
attr_accessor :name
|
|
20
20
|
|
|
21
|
+
# Include the VM's memory in the snapshot. VM sandboxes only. When true the sandbox must be STARTED; when false (default) VM sandboxes must be STOPPED. Container sandboxes do not support memory snapshots.
|
|
22
|
+
attr_accessor :include_memory
|
|
23
|
+
|
|
21
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
25
|
def self.attribute_map
|
|
23
26
|
{
|
|
24
|
-
:'name' => :'name'
|
|
27
|
+
:'name' => :'name',
|
|
28
|
+
:'include_memory' => :'includeMemory'
|
|
25
29
|
}
|
|
26
30
|
end
|
|
27
31
|
|
|
@@ -38,7 +42,8 @@ module DaytonaApiClient
|
|
|
38
42
|
# Attribute type mapping.
|
|
39
43
|
def self.openapi_types
|
|
40
44
|
{
|
|
41
|
-
:'name' => :'String'
|
|
45
|
+
:'name' => :'String',
|
|
46
|
+
:'include_memory' => :'Boolean'
|
|
42
47
|
}
|
|
43
48
|
end
|
|
44
49
|
|
|
@@ -69,6 +74,12 @@ module DaytonaApiClient
|
|
|
69
74
|
else
|
|
70
75
|
self.name = nil
|
|
71
76
|
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'include_memory')
|
|
79
|
+
self.include_memory = attributes[:'include_memory']
|
|
80
|
+
else
|
|
81
|
+
self.include_memory = false
|
|
82
|
+
end
|
|
72
83
|
end
|
|
73
84
|
|
|
74
85
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -106,7 +117,8 @@ module DaytonaApiClient
|
|
|
106
117
|
def ==(o)
|
|
107
118
|
return true if self.equal?(o)
|
|
108
119
|
self.class == o.class &&
|
|
109
|
-
name == o.name
|
|
120
|
+
name == o.name &&
|
|
121
|
+
include_memory == o.include_memory
|
|
110
122
|
end
|
|
111
123
|
|
|
112
124
|
# @see the `==` method
|
|
@@ -118,7 +130,7 @@ module DaytonaApiClient
|
|
|
118
130
|
# Calculates hash code according to all attributes.
|
|
119
131
|
# @return [Integer] Hash code
|
|
120
132
|
def hash
|
|
121
|
-
[name].hash
|
|
133
|
+
[name, include_memory].hash
|
|
122
134
|
end
|
|
123
135
|
|
|
124
136
|
# Builds the object from hash
|
|
@@ -102,7 +102,7 @@ module DaytonaApiClient
|
|
|
102
102
|
# The api version of the runner
|
|
103
103
|
attr_accessor :api_version
|
|
104
104
|
|
|
105
|
-
# The class of the runner
|
|
105
|
+
# The class of the runner. Deprecated and always returns \"container\" for backward compatibility - use sandboxClass instead.
|
|
106
106
|
attr_accessor :runner_class
|
|
107
107
|
|
|
108
108
|
# The app version of the runner
|
|
@@ -16,11 +16,10 @@ require 'time'
|
|
|
16
16
|
module DaytonaApiClient
|
|
17
17
|
class RunnerClass
|
|
18
18
|
CONTAINER = "container".freeze
|
|
19
|
-
VM = "vm".freeze
|
|
20
19
|
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze
|
|
21
20
|
|
|
22
21
|
def self.all_vars
|
|
23
|
-
@all_vars ||= [CONTAINER,
|
|
22
|
+
@all_vars ||= [CONTAINER, UNKNOWN_DEFAULT_OPEN_API].freeze
|
|
24
23
|
end
|
|
25
24
|
|
|
26
25
|
# Builds the enum from string
|
|
@@ -102,7 +102,7 @@ module DaytonaApiClient
|
|
|
102
102
|
# The api version of the runner
|
|
103
103
|
attr_accessor :api_version
|
|
104
104
|
|
|
105
|
-
# The class of the runner
|
|
105
|
+
# The class of the runner. Deprecated and always returns \"container\" for backward compatibility - use sandboxClass instead.
|
|
106
106
|
attr_accessor :runner_class
|
|
107
107
|
|
|
108
108
|
# The app version of the runner
|