daytona_api_client 0.180.0 → 0.181.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: 7e10e9f8dec0d68af59040b804ec5edd633278a6f9acfe88b6eed2cbf2c50bb0
4
- data.tar.gz: 7cb8b760271a42d01ece7725bb17adaa023e10dd84e7ab1f7ad79eac3e04f183
3
+ metadata.gz: d3d4b11ce7d5f38366bd0c126bf802d98d3f79ea0afa3dfb8ba4a982fb459a82
4
+ data.tar.gz: 8ecb222bbddac8e141f94cd4cd412b6b2f3f54d7a663b64a8a489b6e13b9d0ae
5
5
  SHA512:
6
- metadata.gz: 249d2b2f30a5fd1b21ffe15899989f188fec9c0d8c14fd05a84fe8b9ed99afd1ff8ebcb5117e012b7c4d2ecab1037bf315a603f016f8431f87e15361e73ea0af
7
- data.tar.gz: 12889377e4e6308525c3b663dc3de75a6334ec1d032f5bdd6104ca8c81fd834ba19660bd0a65d7ea90b5a6b25226866b7bf588a1f8e89ea949070349a66ebe3e
6
+ metadata.gz: 70210cdfcc00819c5b0f70af73d0679bc454396a4bd907f7305d7cebebfcbdd89973cbc5d4ea0ad82f9767335879f971f15f823a6b3fbad4a12a7e7c79875de4
7
+ data.tar.gz: 04d5e589f7ad2b0a74eda6a55814a9574c079e1b0a46c1babbc5f5bcf74a7d9c81c21c0437c7c630140110aae0be163348b65c8fa14558f4f72edff2de8a018d
@@ -51,6 +51,12 @@ module DaytonaApiClient
51
51
  # Total disk space in GiB on the runner
52
52
  attr_accessor :disk_gi_b
53
53
 
54
+ # Total number of GPUs on the runner
55
+ attr_accessor :gpu
56
+
57
+ # GPU model name
58
+ attr_accessor :gpu_type
59
+
54
60
  # Attribute mapping from ruby-style variable name to JSON key.
55
61
  def self.attribute_map
56
62
  {
@@ -65,7 +71,9 @@ module DaytonaApiClient
65
71
  :'current_started_sandboxes' => :'currentStartedSandboxes',
66
72
  :'cpu' => :'cpu',
67
73
  :'memory_gi_b' => :'memoryGiB',
68
- :'disk_gi_b' => :'diskGiB'
74
+ :'disk_gi_b' => :'diskGiB',
75
+ :'gpu' => :'gpu',
76
+ :'gpu_type' => :'gpuType'
69
77
  }
70
78
  end
71
79
 
@@ -93,7 +101,9 @@ module DaytonaApiClient
93
101
  :'current_started_sandboxes' => :'Float',
94
102
  :'cpu' => :'Float',
95
103
  :'memory_gi_b' => :'Float',
96
- :'disk_gi_b' => :'Float'
104
+ :'disk_gi_b' => :'Float',
105
+ :'gpu' => :'Float',
106
+ :'gpu_type' => :'String'
97
107
  }
98
108
  end
99
109
 
@@ -190,6 +200,14 @@ module DaytonaApiClient
190
200
  else
191
201
  self.disk_gi_b = nil
192
202
  end
203
+
204
+ if attributes.key?(:'gpu')
205
+ self.gpu = attributes[:'gpu']
206
+ end
207
+
208
+ if attributes.key?(:'gpu_type')
209
+ self.gpu_type = attributes[:'gpu_type']
210
+ end
193
211
  end
194
212
 
195
213
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -403,7 +421,9 @@ module DaytonaApiClient
403
421
  current_started_sandboxes == o.current_started_sandboxes &&
404
422
  cpu == o.cpu &&
405
423
  memory_gi_b == o.memory_gi_b &&
406
- disk_gi_b == o.disk_gi_b
424
+ disk_gi_b == o.disk_gi_b &&
425
+ gpu == o.gpu &&
426
+ gpu_type == o.gpu_type
407
427
  end
408
428
 
409
429
  # @see the `==` method
@@ -415,7 +435,7 @@ module DaytonaApiClient
415
435
  # Calculates hash code according to all attributes.
416
436
  # @return [Integer] Hash code
417
437
  def hash
418
- [current_cpu_load_average, current_cpu_usage_percentage, current_memory_usage_percentage, current_disk_usage_percentage, current_allocated_cpu, current_allocated_memory_gi_b, current_allocated_disk_gi_b, current_snapshot_count, current_started_sandboxes, cpu, memory_gi_b, disk_gi_b].hash
438
+ [current_cpu_load_average, current_cpu_usage_percentage, current_memory_usage_percentage, current_disk_usage_percentage, current_allocated_cpu, current_allocated_memory_gi_b, current_allocated_disk_gi_b, current_snapshot_count, current_started_sandboxes, cpu, memory_gi_b, disk_gi_b, gpu, gpu_type].hash
419
439
  end
420
440
 
421
441
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.21.0
11
11
  =end
12
12
 
13
13
  module DaytonaApiClient
14
- VERSION = '0.180.0'
14
+ VERSION = '0.181.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.180.0
4
+ version: 0.181.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio