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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76aff43eeeb68f455bb0438c2117702915474ed4ce334164d5ee1d523af6588c
4
- data.tar.gz: 9e33e58deb3cd9cfaf1667b99ef6a196a2dbdbd163d426625a3fc9aeb2198f14
3
+ metadata.gz: 893eb5b565d2686e4783cbe1c565b62c54e69f4e16db9dee4d440d085e8b6c2c
4
+ data.tar.gz: 2f729a54a55d41c582c100d7b811adcf498b85cc3ccfa5c6db2431610a1027de
5
5
  SHA512:
6
- metadata.gz: 0aa62a435dd570f49c573cd1736b87324d3dcd6c493a0f7dc09e08bbe4758d9f0a4dac951f797ced929cc82c7def64d247b80eb70095fd3ae2d25d3f5ad0fe1e
7
- data.tar.gz: 66e4c263bd38ed566ca59d419a5e45cbae1b59191acce1a1f66688625d006db64595fd4d4822e22f8bf7acc5a1288b5c5e0327f0ee54238926b73caa83511990
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, VM, UNKNOWN_DEFAULT_OPEN_API].freeze
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
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module DaytonaApiClient
17
17
  class SandboxVolume < ApiModelBase
18
- # The ID of the volume
18
+ # The ID or name of the volume. Resolved to the volume ID on sandbox create.
19
19
  attr_accessor :volume_id
20
20
 
21
21
  # The mount path for the volume
@@ -11,5 +11,5 @@ Generator version: 7.21.0
11
11
  =end
12
12
 
13
13
  module DaytonaApiClient
14
- VERSION = '0.185.0'
14
+ VERSION = '0.186.0'
15
15
  end
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.185.0
4
+ version: 0.186.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio