daytona_api_client 0.179.0 → 0.180.0.alpha.1

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.
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module DaytonaApiClient
17
- class Workspace < ApiModelBase
17
+ class SandboxListItem < ApiModelBase
18
18
  # The ID of the sandbox
19
19
  attr_accessor :id
20
20
 
@@ -24,30 +24,36 @@ module DaytonaApiClient
24
24
  # The name of the sandbox
25
25
  attr_accessor :name
26
26
 
27
+ # The target environment for the sandbox
28
+ attr_accessor :target
29
+
30
+ # The runner ID of the sandbox
31
+ attr_accessor :runner_id
32
+
33
+ # The class of the sandbox
34
+ attr_accessor :_class
35
+
36
+ # The state of the sandbox
37
+ attr_accessor :state
38
+
39
+ # The desired state of the sandbox
40
+ attr_accessor :desired_state
41
+
27
42
  # The snapshot used for the sandbox
28
43
  attr_accessor :snapshot
29
44
 
30
45
  # The user associated with the project
31
46
  attr_accessor :user
32
47
 
33
- # Environment variables for the sandbox
34
- attr_accessor :env
48
+ # The error reason of the sandbox
49
+ attr_accessor :error_reason
35
50
 
36
- # Labels for the sandbox
37
- attr_accessor :labels
51
+ # Whether the sandbox error is recoverable.
52
+ attr_accessor :recoverable
38
53
 
39
54
  # Whether the sandbox http preview is public
40
55
  attr_accessor :public
41
56
 
42
- # Whether to block all network access for the sandbox
43
- attr_accessor :network_block_all
44
-
45
- # Comma-separated list of allowed CIDR network addresses for the sandbox
46
- attr_accessor :network_allow_list
47
-
48
- # The target environment for the sandbox
49
- attr_accessor :target
50
-
51
57
  # The CPU quota for the sandbox
52
58
  attr_accessor :cpu
53
59
 
@@ -60,24 +66,12 @@ module DaytonaApiClient
60
66
  # The disk quota for the sandbox
61
67
  attr_accessor :disk
62
68
 
63
- # The state of the sandbox
64
- attr_accessor :state
65
-
66
- # The desired state of the sandbox
67
- attr_accessor :desired_state
68
-
69
- # The error reason of the sandbox
70
- attr_accessor :error_reason
71
-
72
- # Whether the sandbox error is recoverable.
73
- attr_accessor :recoverable
69
+ # Labels for the sandbox
70
+ attr_accessor :labels
74
71
 
75
72
  # The state of the backup
76
73
  attr_accessor :backup_state
77
74
 
78
- # The creation timestamp of the last backup
79
- attr_accessor :backup_created_at
80
-
81
75
  # Auto-stop interval in minutes (0 means disabled)
82
76
  attr_accessor :auto_stop_interval
83
77
 
@@ -87,12 +81,6 @@ module DaytonaApiClient
87
81
  # Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
88
82
  attr_accessor :auto_delete_interval
89
83
 
90
- # Array of volumes attached to the sandbox
91
- attr_accessor :volumes
92
-
93
- # Build information for the sandbox
94
- attr_accessor :build_info
95
-
96
84
  # The creation timestamp of the sandbox
97
85
  attr_accessor :created_at
98
86
 
@@ -102,30 +90,12 @@ module DaytonaApiClient
102
90
  # The last activity timestamp of the sandbox
103
91
  attr_accessor :last_activity_at
104
92
 
105
- # The class of the sandbox
106
- attr_accessor :_class
107
-
108
93
  # The version of the daemon running in the sandbox
109
94
  attr_accessor :daemon_version
110
95
 
111
- # The runner ID of the sandbox
112
- attr_accessor :runner_id
113
-
114
96
  # The toolbox proxy URL for the sandbox
115
97
  attr_accessor :toolbox_proxy_url
116
98
 
117
- # The image used for the workspace
118
- attr_accessor :image
119
-
120
- # The state of the snapshot
121
- attr_accessor :snapshot_state
122
-
123
- # The creation timestamp of the last snapshot
124
- attr_accessor :snapshot_created_at
125
-
126
- # Additional information about the sandbox
127
- attr_accessor :info
128
-
129
99
  class EnumAttributeValidator
130
100
  attr_reader :datatype
131
101
  attr_reader :allowable_values
@@ -154,40 +124,30 @@ module DaytonaApiClient
154
124
  :'id' => :'id',
155
125
  :'organization_id' => :'organizationId',
156
126
  :'name' => :'name',
127
+ :'target' => :'target',
128
+ :'runner_id' => :'runnerId',
129
+ :'_class' => :'class',
130
+ :'state' => :'state',
131
+ :'desired_state' => :'desiredState',
157
132
  :'snapshot' => :'snapshot',
158
133
  :'user' => :'user',
159
- :'env' => :'env',
160
- :'labels' => :'labels',
134
+ :'error_reason' => :'errorReason',
135
+ :'recoverable' => :'recoverable',
161
136
  :'public' => :'public',
162
- :'network_block_all' => :'networkBlockAll',
163
- :'network_allow_list' => :'networkAllowList',
164
- :'target' => :'target',
165
137
  :'cpu' => :'cpu',
166
138
  :'gpu' => :'gpu',
167
139
  :'memory' => :'memory',
168
140
  :'disk' => :'disk',
169
- :'state' => :'state',
170
- :'desired_state' => :'desiredState',
171
- :'error_reason' => :'errorReason',
172
- :'recoverable' => :'recoverable',
141
+ :'labels' => :'labels',
173
142
  :'backup_state' => :'backupState',
174
- :'backup_created_at' => :'backupCreatedAt',
175
143
  :'auto_stop_interval' => :'autoStopInterval',
176
144
  :'auto_archive_interval' => :'autoArchiveInterval',
177
145
  :'auto_delete_interval' => :'autoDeleteInterval',
178
- :'volumes' => :'volumes',
179
- :'build_info' => :'buildInfo',
180
146
  :'created_at' => :'createdAt',
181
147
  :'updated_at' => :'updatedAt',
182
148
  :'last_activity_at' => :'lastActivityAt',
183
- :'_class' => :'class',
184
149
  :'daemon_version' => :'daemonVersion',
185
- :'runner_id' => :'runnerId',
186
- :'toolbox_proxy_url' => :'toolboxProxyUrl',
187
- :'image' => :'image',
188
- :'snapshot_state' => :'snapshotState',
189
- :'snapshot_created_at' => :'snapshotCreatedAt',
190
- :'info' => :'info'
150
+ :'toolbox_proxy_url' => :'toolboxProxyUrl'
191
151
  }
192
152
  end
193
153
 
@@ -207,40 +167,30 @@ module DaytonaApiClient
207
167
  :'id' => :'String',
208
168
  :'organization_id' => :'String',
209
169
  :'name' => :'String',
170
+ :'target' => :'String',
171
+ :'runner_id' => :'String',
172
+ :'_class' => :'String',
173
+ :'state' => :'SandboxState',
174
+ :'desired_state' => :'SandboxDesiredState',
210
175
  :'snapshot' => :'String',
211
176
  :'user' => :'String',
212
- :'env' => :'Hash<String, String>',
213
- :'labels' => :'Hash<String, String>',
177
+ :'error_reason' => :'String',
178
+ :'recoverable' => :'Boolean',
214
179
  :'public' => :'Boolean',
215
- :'network_block_all' => :'Boolean',
216
- :'network_allow_list' => :'String',
217
- :'target' => :'String',
218
180
  :'cpu' => :'Float',
219
181
  :'gpu' => :'Float',
220
182
  :'memory' => :'Float',
221
183
  :'disk' => :'Float',
222
- :'state' => :'SandboxState',
223
- :'desired_state' => :'SandboxDesiredState',
224
- :'error_reason' => :'String',
225
- :'recoverable' => :'Boolean',
184
+ :'labels' => :'Hash<String, String>',
226
185
  :'backup_state' => :'String',
227
- :'backup_created_at' => :'String',
228
186
  :'auto_stop_interval' => :'Float',
229
187
  :'auto_archive_interval' => :'Float',
230
188
  :'auto_delete_interval' => :'Float',
231
- :'volumes' => :'Array<SandboxVolume>',
232
- :'build_info' => :'BuildInfo',
233
189
  :'created_at' => :'String',
234
190
  :'updated_at' => :'String',
235
191
  :'last_activity_at' => :'String',
236
- :'_class' => :'String',
237
192
  :'daemon_version' => :'String',
238
- :'runner_id' => :'String',
239
- :'toolbox_proxy_url' => :'String',
240
- :'image' => :'String',
241
- :'snapshot_state' => :'String',
242
- :'snapshot_created_at' => :'String',
243
- :'info' => :'SandboxInfo'
193
+ :'toolbox_proxy_url' => :'String'
244
194
  }
245
195
  end
246
196
 
@@ -254,14 +204,14 @@ module DaytonaApiClient
254
204
  # @param [Hash] attributes Model attributes in the form of hash
255
205
  def initialize(attributes = {})
256
206
  if (!attributes.is_a?(Hash))
257
- fail ArgumentError, "The input argument (attributes) must be a hash in `DaytonaApiClient::Workspace` initialize method"
207
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DaytonaApiClient::SandboxListItem` initialize method"
258
208
  end
259
209
 
260
210
  # check to see if the attribute exists and convert string to symbol for hash key
261
211
  acceptable_attribute_map = self.class.acceptable_attribute_map
262
212
  attributes = attributes.each_with_object({}) { |(k, v), h|
263
213
  if (!acceptable_attribute_map.key?(k.to_sym))
264
- fail ArgumentError, "`#{k}` is not a valid attribute in `DaytonaApiClient::Workspace`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
214
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DaytonaApiClient::SandboxListItem`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
265
215
  end
266
216
  h[k.to_sym] = v
267
217
  }
@@ -284,6 +234,28 @@ module DaytonaApiClient
284
234
  self.name = nil
285
235
  end
286
236
 
237
+ if attributes.key?(:'target')
238
+ self.target = attributes[:'target']
239
+ else
240
+ self.target = nil
241
+ end
242
+
243
+ if attributes.key?(:'runner_id')
244
+ self.runner_id = attributes[:'runner_id']
245
+ end
246
+
247
+ if attributes.key?(:'_class')
248
+ self._class = attributes[:'_class']
249
+ end
250
+
251
+ if attributes.key?(:'state')
252
+ self.state = attributes[:'state']
253
+ end
254
+
255
+ if attributes.key?(:'desired_state')
256
+ self.desired_state = attributes[:'desired_state']
257
+ end
258
+
287
259
  if attributes.key?(:'snapshot')
288
260
  self.snapshot = attributes[:'snapshot']
289
261
  end
@@ -294,20 +266,12 @@ module DaytonaApiClient
294
266
  self.user = nil
295
267
  end
296
268
 
297
- if attributes.key?(:'env')
298
- if (value = attributes[:'env']).is_a?(Hash)
299
- self.env = value
300
- end
301
- else
302
- self.env = nil
269
+ if attributes.key?(:'error_reason')
270
+ self.error_reason = attributes[:'error_reason']
303
271
  end
304
272
 
305
- if attributes.key?(:'labels')
306
- if (value = attributes[:'labels']).is_a?(Hash)
307
- self.labels = value
308
- end
309
- else
310
- self.labels = nil
273
+ if attributes.key?(:'recoverable')
274
+ self.recoverable = attributes[:'recoverable']
311
275
  end
312
276
 
313
277
  if attributes.key?(:'public')
@@ -316,22 +280,6 @@ module DaytonaApiClient
316
280
  self.public = nil
317
281
  end
318
282
 
319
- if attributes.key?(:'network_block_all')
320
- self.network_block_all = attributes[:'network_block_all']
321
- else
322
- self.network_block_all = nil
323
- end
324
-
325
- if attributes.key?(:'network_allow_list')
326
- self.network_allow_list = attributes[:'network_allow_list']
327
- end
328
-
329
- if attributes.key?(:'target')
330
- self.target = attributes[:'target']
331
- else
332
- self.target = nil
333
- end
334
-
335
283
  if attributes.key?(:'cpu')
336
284
  self.cpu = attributes[:'cpu']
337
285
  else
@@ -356,30 +304,18 @@ module DaytonaApiClient
356
304
  self.disk = nil
357
305
  end
358
306
 
359
- if attributes.key?(:'state')
360
- self.state = attributes[:'state']
361
- end
362
-
363
- if attributes.key?(:'desired_state')
364
- self.desired_state = attributes[:'desired_state']
365
- end
366
-
367
- if attributes.key?(:'error_reason')
368
- self.error_reason = attributes[:'error_reason']
369
- end
370
-
371
- if attributes.key?(:'recoverable')
372
- self.recoverable = attributes[:'recoverable']
307
+ if attributes.key?(:'labels')
308
+ if (value = attributes[:'labels']).is_a?(Hash)
309
+ self.labels = value
310
+ end
311
+ else
312
+ self.labels = nil
373
313
  end
374
314
 
375
315
  if attributes.key?(:'backup_state')
376
316
  self.backup_state = attributes[:'backup_state']
377
317
  end
378
318
 
379
- if attributes.key?(:'backup_created_at')
380
- self.backup_created_at = attributes[:'backup_created_at']
381
- end
382
-
383
319
  if attributes.key?(:'auto_stop_interval')
384
320
  self.auto_stop_interval = attributes[:'auto_stop_interval']
385
321
  end
@@ -392,16 +328,6 @@ module DaytonaApiClient
392
328
  self.auto_delete_interval = attributes[:'auto_delete_interval']
393
329
  end
394
330
 
395
- if attributes.key?(:'volumes')
396
- if (value = attributes[:'volumes']).is_a?(Array)
397
- self.volumes = value
398
- end
399
- end
400
-
401
- if attributes.key?(:'build_info')
402
- self.build_info = attributes[:'build_info']
403
- end
404
-
405
331
  if attributes.key?(:'created_at')
406
332
  self.created_at = attributes[:'created_at']
407
333
  end
@@ -414,39 +340,15 @@ module DaytonaApiClient
414
340
  self.last_activity_at = attributes[:'last_activity_at']
415
341
  end
416
342
 
417
- if attributes.key?(:'_class')
418
- self._class = attributes[:'_class']
419
- end
420
-
421
343
  if attributes.key?(:'daemon_version')
422
344
  self.daemon_version = attributes[:'daemon_version']
423
345
  end
424
346
 
425
- if attributes.key?(:'runner_id')
426
- self.runner_id = attributes[:'runner_id']
427
- end
428
-
429
347
  if attributes.key?(:'toolbox_proxy_url')
430
348
  self.toolbox_proxy_url = attributes[:'toolbox_proxy_url']
431
349
  else
432
350
  self.toolbox_proxy_url = nil
433
351
  end
434
-
435
- if attributes.key?(:'image')
436
- self.image = attributes[:'image']
437
- end
438
-
439
- if attributes.key?(:'snapshot_state')
440
- self.snapshot_state = attributes[:'snapshot_state']
441
- end
442
-
443
- if attributes.key?(:'snapshot_created_at')
444
- self.snapshot_created_at = attributes[:'snapshot_created_at']
445
- end
446
-
447
- if attributes.key?(:'info')
448
- self.info = attributes[:'info']
449
- end
450
352
  end
451
353
 
452
354
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -466,30 +368,18 @@ module DaytonaApiClient
466
368
  invalid_properties.push('invalid value for "name", name cannot be nil.')
467
369
  end
468
370
 
469
- if @user.nil?
470
- invalid_properties.push('invalid value for "user", user cannot be nil.')
471
- end
472
-
473
- if @env.nil?
474
- invalid_properties.push('invalid value for "env", env cannot be nil.')
371
+ if @target.nil?
372
+ invalid_properties.push('invalid value for "target", target cannot be nil.')
475
373
  end
476
374
 
477
- if @labels.nil?
478
- invalid_properties.push('invalid value for "labels", labels cannot be nil.')
375
+ if @user.nil?
376
+ invalid_properties.push('invalid value for "user", user cannot be nil.')
479
377
  end
480
378
 
481
379
  if @public.nil?
482
380
  invalid_properties.push('invalid value for "public", public cannot be nil.')
483
381
  end
484
382
 
485
- if @network_block_all.nil?
486
- invalid_properties.push('invalid value for "network_block_all", network_block_all cannot be nil.')
487
- end
488
-
489
- if @target.nil?
490
- invalid_properties.push('invalid value for "target", target cannot be nil.')
491
- end
492
-
493
383
  if @cpu.nil?
494
384
  invalid_properties.push('invalid value for "cpu", cpu cannot be nil.')
495
385
  end
@@ -506,6 +396,10 @@ module DaytonaApiClient
506
396
  invalid_properties.push('invalid value for "disk", disk cannot be nil.')
507
397
  end
508
398
 
399
+ if @labels.nil?
400
+ invalid_properties.push('invalid value for "labels", labels cannot be nil.')
401
+ end
402
+
509
403
  if @toolbox_proxy_url.nil?
510
404
  invalid_properties.push('invalid value for "toolbox_proxy_url", toolbox_proxy_url cannot be nil.')
511
405
  end
@@ -520,23 +414,19 @@ module DaytonaApiClient
520
414
  return false if @id.nil?
521
415
  return false if @organization_id.nil?
522
416
  return false if @name.nil?
417
+ return false if @target.nil?
418
+ _class_validator = EnumAttributeValidator.new('String', ["small", "medium", "large", "unknown_default_open_api"])
419
+ return false unless _class_validator.valid?(@_class)
523
420
  return false if @user.nil?
524
- return false if @env.nil?
525
- return false if @labels.nil?
526
421
  return false if @public.nil?
527
- return false if @network_block_all.nil?
528
- return false if @target.nil?
529
422
  return false if @cpu.nil?
530
423
  return false if @gpu.nil?
531
424
  return false if @memory.nil?
532
425
  return false if @disk.nil?
426
+ return false if @labels.nil?
533
427
  backup_state_validator = EnumAttributeValidator.new('String', ["None", "Pending", "InProgress", "Completed", "Error", "unknown_default_open_api"])
534
428
  return false unless backup_state_validator.valid?(@backup_state)
535
- _class_validator = EnumAttributeValidator.new('String', ["small", "medium", "large", "unknown_default_open_api"])
536
- return false unless _class_validator.valid?(@_class)
537
429
  return false if @toolbox_proxy_url.nil?
538
- snapshot_state_validator = EnumAttributeValidator.new('String', ["None", "Pending", "InProgress", "Completed", "Error", "unknown_default_open_api"])
539
- return false unless snapshot_state_validator.valid?(@snapshot_state)
540
430
  true
541
431
  end
542
432
 
@@ -571,33 +461,33 @@ module DaytonaApiClient
571
461
  end
572
462
 
573
463
  # Custom attribute writer method with validation
574
- # @param [Object] user Value to be assigned
575
- def user=(user)
576
- if user.nil?
577
- fail ArgumentError, 'user cannot be nil'
464
+ # @param [Object] target Value to be assigned
465
+ def target=(target)
466
+ if target.nil?
467
+ fail ArgumentError, 'target cannot be nil'
578
468
  end
579
469
 
580
- @user = user
470
+ @target = target
581
471
  end
582
472
 
583
- # Custom attribute writer method with validation
584
- # @param [Object] env Value to be assigned
585
- def env=(env)
586
- if env.nil?
587
- fail ArgumentError, 'env cannot be nil'
473
+ # Custom attribute writer method checking allowed values (enum).
474
+ # @param [Object] _class Object to be assigned
475
+ def _class=(_class)
476
+ validator = EnumAttributeValidator.new('String', ["small", "medium", "large", "unknown_default_open_api"])
477
+ unless validator.valid?(_class)
478
+ fail ArgumentError, "invalid value for \"_class\", must be one of #{validator.allowable_values}."
588
479
  end
589
-
590
- @env = env
480
+ @_class = _class
591
481
  end
592
482
 
593
483
  # Custom attribute writer method with validation
594
- # @param [Object] labels Value to be assigned
595
- def labels=(labels)
596
- if labels.nil?
597
- fail ArgumentError, 'labels cannot be nil'
484
+ # @param [Object] user Value to be assigned
485
+ def user=(user)
486
+ if user.nil?
487
+ fail ArgumentError, 'user cannot be nil'
598
488
  end
599
489
 
600
- @labels = labels
490
+ @user = user
601
491
  end
602
492
 
603
493
  # Custom attribute writer method with validation
@@ -610,26 +500,6 @@ module DaytonaApiClient
610
500
  @public = public
611
501
  end
612
502
 
613
- # Custom attribute writer method with validation
614
- # @param [Object] network_block_all Value to be assigned
615
- def network_block_all=(network_block_all)
616
- if network_block_all.nil?
617
- fail ArgumentError, 'network_block_all cannot be nil'
618
- end
619
-
620
- @network_block_all = network_block_all
621
- end
622
-
623
- # Custom attribute writer method with validation
624
- # @param [Object] target Value to be assigned
625
- def target=(target)
626
- if target.nil?
627
- fail ArgumentError, 'target cannot be nil'
628
- end
629
-
630
- @target = target
631
- end
632
-
633
503
  # Custom attribute writer method with validation
634
504
  # @param [Object] cpu Value to be assigned
635
505
  def cpu=(cpu)
@@ -670,6 +540,16 @@ module DaytonaApiClient
670
540
  @disk = disk
671
541
  end
672
542
 
543
+ # Custom attribute writer method with validation
544
+ # @param [Object] labels Value to be assigned
545
+ def labels=(labels)
546
+ if labels.nil?
547
+ fail ArgumentError, 'labels cannot be nil'
548
+ end
549
+
550
+ @labels = labels
551
+ end
552
+
673
553
  # Custom attribute writer method checking allowed values (enum).
674
554
  # @param [Object] backup_state Object to be assigned
675
555
  def backup_state=(backup_state)
@@ -680,16 +560,6 @@ module DaytonaApiClient
680
560
  @backup_state = backup_state
681
561
  end
682
562
 
683
- # Custom attribute writer method checking allowed values (enum).
684
- # @param [Object] _class Object to be assigned
685
- def _class=(_class)
686
- validator = EnumAttributeValidator.new('String', ["small", "medium", "large", "unknown_default_open_api"])
687
- unless validator.valid?(_class)
688
- fail ArgumentError, "invalid value for \"_class\", must be one of #{validator.allowable_values}."
689
- end
690
- @_class = _class
691
- end
692
-
693
563
  # Custom attribute writer method with validation
694
564
  # @param [Object] toolbox_proxy_url Value to be assigned
695
565
  def toolbox_proxy_url=(toolbox_proxy_url)
@@ -700,16 +570,6 @@ module DaytonaApiClient
700
570
  @toolbox_proxy_url = toolbox_proxy_url
701
571
  end
702
572
 
703
- # Custom attribute writer method checking allowed values (enum).
704
- # @param [Object] snapshot_state Object to be assigned
705
- def snapshot_state=(snapshot_state)
706
- validator = EnumAttributeValidator.new('String', ["None", "Pending", "InProgress", "Completed", "Error", "unknown_default_open_api"])
707
- unless validator.valid?(snapshot_state)
708
- fail ArgumentError, "invalid value for \"snapshot_state\", must be one of #{validator.allowable_values}."
709
- end
710
- @snapshot_state = snapshot_state
711
- end
712
-
713
573
  # Checks equality by comparing each attribute.
714
574
  # @param [Object] Object to be compared
715
575
  def ==(o)
@@ -718,40 +578,30 @@ module DaytonaApiClient
718
578
  id == o.id &&
719
579
  organization_id == o.organization_id &&
720
580
  name == o.name &&
581
+ target == o.target &&
582
+ runner_id == o.runner_id &&
583
+ _class == o._class &&
584
+ state == o.state &&
585
+ desired_state == o.desired_state &&
721
586
  snapshot == o.snapshot &&
722
587
  user == o.user &&
723
- env == o.env &&
724
- labels == o.labels &&
588
+ error_reason == o.error_reason &&
589
+ recoverable == o.recoverable &&
725
590
  public == o.public &&
726
- network_block_all == o.network_block_all &&
727
- network_allow_list == o.network_allow_list &&
728
- target == o.target &&
729
591
  cpu == o.cpu &&
730
592
  gpu == o.gpu &&
731
593
  memory == o.memory &&
732
594
  disk == o.disk &&
733
- state == o.state &&
734
- desired_state == o.desired_state &&
735
- error_reason == o.error_reason &&
736
- recoverable == o.recoverable &&
595
+ labels == o.labels &&
737
596
  backup_state == o.backup_state &&
738
- backup_created_at == o.backup_created_at &&
739
597
  auto_stop_interval == o.auto_stop_interval &&
740
598
  auto_archive_interval == o.auto_archive_interval &&
741
599
  auto_delete_interval == o.auto_delete_interval &&
742
- volumes == o.volumes &&
743
- build_info == o.build_info &&
744
600
  created_at == o.created_at &&
745
601
  updated_at == o.updated_at &&
746
602
  last_activity_at == o.last_activity_at &&
747
- _class == o._class &&
748
603
  daemon_version == o.daemon_version &&
749
- runner_id == o.runner_id &&
750
- toolbox_proxy_url == o.toolbox_proxy_url &&
751
- image == o.image &&
752
- snapshot_state == o.snapshot_state &&
753
- snapshot_created_at == o.snapshot_created_at &&
754
- info == o.info
604
+ toolbox_proxy_url == o.toolbox_proxy_url
755
605
  end
756
606
 
757
607
  # @see the `==` method
@@ -763,7 +613,7 @@ module DaytonaApiClient
763
613
  # Calculates hash code according to all attributes.
764
614
  # @return [Integer] Hash code
765
615
  def 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
616
+ [id, organization_id, name, target, runner_id, _class, state, desired_state, snapshot, user, error_reason, recoverable, public, cpu, gpu, memory, disk, labels, backup_state, auto_stop_interval, auto_archive_interval, auto_delete_interval, created_at, updated_at, last_activity_at, daemon_version, toolbox_proxy_url].hash
767
617
  end
768
618
 
769
619
  # Builds the object from hash