daytona_api_client 0.167.0 → 0.168.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: f16932a527ef05b5c8c07b63c1808f8b0b2fd0d96cce3f066446cef0f9b581d6
4
- data.tar.gz: 39732d253938319823767fbd7e578164c0421eb17acbd9b26921775eb528ceea
3
+ metadata.gz: 768cff5f2f3fee243afec7ae3e5c31c0f96e035908b3eada847c5baf2f6a3544
4
+ data.tar.gz: 7e2991694e9b9d956cb87a91efc160318cc0eae5d9c4e907eb2efb666c3fef24
5
5
  SHA512:
6
- metadata.gz: '05597517f67542dd6627b868395468a318cdc75013871da07485e986335b7fa15a6ebccdae8c712a608359caa9a3c443b5d7188034099d227157fb163341e9b8'
7
- data.tar.gz: 005e12c96bf9a2e1024f554221637fcf4db5fc8ada5bad9c012f459bf97af329b26e970b6afc04ec38db7612661ac04368489f83f6cd52a67e7a2dba74dc8ae1
6
+ metadata.gz: f4f8caf7eabc95046d651a9e648337b48f67d23285d64d33688ba875261d721950bcc3b77669d286db337712690433941c021c850f670783842eb67dac20e8f4
7
+ data.tar.gz: e281bd6624dbf6b97d98789c09fdff9c27c773c3bdc6b7c3bfc8e752f13fd5e39ccb3b72a6e4dc0f914c3cf411245a6fc08e7159414025c32ae5593f215dc657
@@ -1858,7 +1858,7 @@ module DaytonaApiClient
1858
1858
  fail ArgumentError, 'invalid value for "opts[:"max_disk_gi_b"]" when calling SandboxApi.list_sandboxes_paginated, must be greater than or equal to 1.'
1859
1859
  end
1860
1860
 
1861
- allowable_values = ["id", "name", "state", "snapshot", "region", "updatedAt", "createdAt"]
1861
+ allowable_values = ["id", "name", "state", "snapshot", "region", "updatedAt", "createdAt", "lastActivityAt"]
1862
1862
  if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
1863
1863
  fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
1864
1864
  end
@@ -29,6 +29,14 @@ module DaytonaApiClient
29
29
 
30
30
  attr_accessor :current_disk_usage
31
31
 
32
+ attr_accessor :max_cpu_per_sandbox
33
+
34
+ attr_accessor :max_memory_per_sandbox
35
+
36
+ attr_accessor :max_disk_per_sandbox
37
+
38
+ attr_accessor :max_disk_per_non_ephemeral_sandbox
39
+
32
40
  # Attribute mapping from ruby-style variable name to JSON key.
33
41
  def self.attribute_map
34
42
  {
@@ -38,7 +46,11 @@ module DaytonaApiClient
38
46
  :'total_memory_quota' => :'totalMemoryQuota',
39
47
  :'current_memory_usage' => :'currentMemoryUsage',
40
48
  :'total_disk_quota' => :'totalDiskQuota',
41
- :'current_disk_usage' => :'currentDiskUsage'
49
+ :'current_disk_usage' => :'currentDiskUsage',
50
+ :'max_cpu_per_sandbox' => :'maxCpuPerSandbox',
51
+ :'max_memory_per_sandbox' => :'maxMemoryPerSandbox',
52
+ :'max_disk_per_sandbox' => :'maxDiskPerSandbox',
53
+ :'max_disk_per_non_ephemeral_sandbox' => :'maxDiskPerNonEphemeralSandbox'
42
54
  }
43
55
  end
44
56
 
@@ -61,13 +73,21 @@ module DaytonaApiClient
61
73
  :'total_memory_quota' => :'Float',
62
74
  :'current_memory_usage' => :'Float',
63
75
  :'total_disk_quota' => :'Float',
64
- :'current_disk_usage' => :'Float'
76
+ :'current_disk_usage' => :'Float',
77
+ :'max_cpu_per_sandbox' => :'Float',
78
+ :'max_memory_per_sandbox' => :'Float',
79
+ :'max_disk_per_sandbox' => :'Float',
80
+ :'max_disk_per_non_ephemeral_sandbox' => :'Float'
65
81
  }
66
82
  end
67
83
 
68
84
  # List of attributes with nullable: true
69
85
  def self.openapi_nullable
70
86
  Set.new([
87
+ :'max_cpu_per_sandbox',
88
+ :'max_memory_per_sandbox',
89
+ :'max_disk_per_sandbox',
90
+ :'max_disk_per_non_ephemeral_sandbox'
71
91
  ])
72
92
  end
73
93
 
@@ -128,6 +148,30 @@ module DaytonaApiClient
128
148
  else
129
149
  self.current_disk_usage = nil
130
150
  end
151
+
152
+ if attributes.key?(:'max_cpu_per_sandbox')
153
+ self.max_cpu_per_sandbox = attributes[:'max_cpu_per_sandbox']
154
+ else
155
+ self.max_cpu_per_sandbox = nil
156
+ end
157
+
158
+ if attributes.key?(:'max_memory_per_sandbox')
159
+ self.max_memory_per_sandbox = attributes[:'max_memory_per_sandbox']
160
+ else
161
+ self.max_memory_per_sandbox = nil
162
+ end
163
+
164
+ if attributes.key?(:'max_disk_per_sandbox')
165
+ self.max_disk_per_sandbox = attributes[:'max_disk_per_sandbox']
166
+ else
167
+ self.max_disk_per_sandbox = nil
168
+ end
169
+
170
+ if attributes.key?(:'max_disk_per_non_ephemeral_sandbox')
171
+ self.max_disk_per_non_ephemeral_sandbox = attributes[:'max_disk_per_non_ephemeral_sandbox']
172
+ else
173
+ self.max_disk_per_non_ephemeral_sandbox = nil
174
+ end
131
175
  end
132
176
 
133
177
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -261,7 +305,11 @@ module DaytonaApiClient
261
305
  total_memory_quota == o.total_memory_quota &&
262
306
  current_memory_usage == o.current_memory_usage &&
263
307
  total_disk_quota == o.total_disk_quota &&
264
- current_disk_usage == o.current_disk_usage
308
+ current_disk_usage == o.current_disk_usage &&
309
+ max_cpu_per_sandbox == o.max_cpu_per_sandbox &&
310
+ max_memory_per_sandbox == o.max_memory_per_sandbox &&
311
+ max_disk_per_sandbox == o.max_disk_per_sandbox &&
312
+ max_disk_per_non_ephemeral_sandbox == o.max_disk_per_non_ephemeral_sandbox
265
313
  end
266
314
 
267
315
  # @see the `==` method
@@ -273,7 +321,7 @@ module DaytonaApiClient
273
321
  # Calculates hash code according to all attributes.
274
322
  # @return [Integer] Hash code
275
323
  def hash
276
- [region_id, total_cpu_quota, current_cpu_usage, total_memory_quota, current_memory_usage, total_disk_quota, current_disk_usage].hash
324
+ [region_id, total_cpu_quota, current_cpu_usage, total_memory_quota, current_memory_usage, total_disk_quota, current_disk_usage, max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, max_disk_per_non_ephemeral_sandbox].hash
277
325
  end
278
326
 
279
327
  # Builds the object from hash
@@ -99,6 +99,9 @@ module DaytonaApiClient
99
99
  # The last update timestamp of the sandbox
100
100
  attr_accessor :updated_at
101
101
 
102
+ # The last activity timestamp of the sandbox
103
+ attr_accessor :last_activity_at
104
+
102
105
  # The class of the sandbox
103
106
  attr_accessor :_class
104
107
 
@@ -164,6 +167,7 @@ module DaytonaApiClient
164
167
  :'build_info' => :'buildInfo',
165
168
  :'created_at' => :'createdAt',
166
169
  :'updated_at' => :'updatedAt',
170
+ :'last_activity_at' => :'lastActivityAt',
167
171
  :'_class' => :'class',
168
172
  :'daemon_version' => :'daemonVersion',
169
173
  :'runner_id' => :'runnerId',
@@ -212,6 +216,7 @@ module DaytonaApiClient
212
216
  :'build_info' => :'BuildInfo',
213
217
  :'created_at' => :'String',
214
218
  :'updated_at' => :'String',
219
+ :'last_activity_at' => :'String',
215
220
  :'_class' => :'String',
216
221
  :'daemon_version' => :'String',
217
222
  :'runner_id' => :'String',
@@ -385,6 +390,10 @@ module DaytonaApiClient
385
390
  self.updated_at = attributes[:'updated_at']
386
391
  end
387
392
 
393
+ if attributes.key?(:'last_activity_at')
394
+ self.last_activity_at = attributes[:'last_activity_at']
395
+ end
396
+
388
397
  if attributes.key?(:'_class')
389
398
  self._class = attributes[:'_class']
390
399
  end
@@ -686,6 +695,7 @@ module DaytonaApiClient
686
695
  build_info == o.build_info &&
687
696
  created_at == o.created_at &&
688
697
  updated_at == o.updated_at &&
698
+ last_activity_at == o.last_activity_at &&
689
699
  _class == o._class &&
690
700
  daemon_version == o.daemon_version &&
691
701
  runner_id == o.runner_id &&
@@ -701,7 +711,7 @@ module DaytonaApiClient
701
711
  # Calculates hash code according to all attributes.
702
712
  # @return [Integer] Hash code
703
713
  def hash
704
- [id, organization_id, name, snapshot, user, env, labels, public, network_block_all, network_allow_list, target, cpu, gpu, memory, disk, state, desired_state, error_reason, recoverable, backup_state, backup_created_at, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info, created_at, updated_at, _class, daemon_version, runner_id, toolbox_proxy_url].hash
714
+ [id, organization_id, name, snapshot, user, env, labels, public, network_block_all, network_allow_list, target, cpu, gpu, memory, disk, state, desired_state, error_reason, recoverable, backup_state, backup_created_at, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info, created_at, updated_at, last_activity_at, _class, daemon_version, runner_id, toolbox_proxy_url].hash
705
715
  end
706
716
 
707
717
  # Builds the object from hash
@@ -99,6 +99,9 @@ module DaytonaApiClient
99
99
  # The last update timestamp of the sandbox
100
100
  attr_accessor :updated_at
101
101
 
102
+ # The last activity timestamp of the sandbox
103
+ attr_accessor :last_activity_at
104
+
102
105
  # The class of the sandbox
103
106
  attr_accessor :_class
104
107
 
@@ -176,6 +179,7 @@ module DaytonaApiClient
176
179
  :'build_info' => :'buildInfo',
177
180
  :'created_at' => :'createdAt',
178
181
  :'updated_at' => :'updatedAt',
182
+ :'last_activity_at' => :'lastActivityAt',
179
183
  :'_class' => :'class',
180
184
  :'daemon_version' => :'daemonVersion',
181
185
  :'runner_id' => :'runnerId',
@@ -228,6 +232,7 @@ module DaytonaApiClient
228
232
  :'build_info' => :'BuildInfo',
229
233
  :'created_at' => :'String',
230
234
  :'updated_at' => :'String',
235
+ :'last_activity_at' => :'String',
231
236
  :'_class' => :'String',
232
237
  :'daemon_version' => :'String',
233
238
  :'runner_id' => :'String',
@@ -405,6 +410,10 @@ module DaytonaApiClient
405
410
  self.updated_at = attributes[:'updated_at']
406
411
  end
407
412
 
413
+ if attributes.key?(:'last_activity_at')
414
+ self.last_activity_at = attributes[:'last_activity_at']
415
+ end
416
+
408
417
  if attributes.key?(:'_class')
409
418
  self._class = attributes[:'_class']
410
419
  end
@@ -734,6 +743,7 @@ module DaytonaApiClient
734
743
  build_info == o.build_info &&
735
744
  created_at == o.created_at &&
736
745
  updated_at == o.updated_at &&
746
+ last_activity_at == o.last_activity_at &&
737
747
  _class == o._class &&
738
748
  daemon_version == o.daemon_version &&
739
749
  runner_id == o.runner_id &&
@@ -753,7 +763,7 @@ module DaytonaApiClient
753
763
  # Calculates hash code according to all attributes.
754
764
  # @return [Integer] Hash code
755
765
  def hash
756
- [id, organization_id, name, snapshot, user, env, labels, public, network_block_all, network_allow_list, target, cpu, gpu, memory, disk, state, desired_state, error_reason, recoverable, backup_state, backup_created_at, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info, created_at, updated_at, _class, daemon_version, runner_id, toolbox_proxy_url, image, snapshot_state, snapshot_created_at, info].hash
766
+ [id, organization_id, name, snapshot, user, env, labels, public, network_block_all, network_allow_list, target, cpu, gpu, memory, disk, state, desired_state, error_reason, recoverable, backup_state, backup_created_at, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info, created_at, updated_at, last_activity_at, _class, daemon_version, runner_id, toolbox_proxy_url, image, snapshot_state, snapshot_created_at, info].hash
757
767
  end
758
768
 
759
769
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.12.0
11
11
  =end
12
12
 
13
13
  module DaytonaApiClient
14
- VERSION = '0.167.0'
14
+ VERSION = '0.168.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.167.0
4
+ version: 0.168.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio