daytona_api_client 0.180.0.alpha.1 → 0.180.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: 3b0291744c96aa39595ecfb2d1d44804a8b5ead68bdd3a1c0bd5095472a3beff
4
- data.tar.gz: 173a6f49a2ba37611f899e49944e578b846ecb77a5a81e293010c73abbeb02ec
3
+ metadata.gz: 7e10e9f8dec0d68af59040b804ec5edd633278a6f9acfe88b6eed2cbf2c50bb0
4
+ data.tar.gz: 7cb8b760271a42d01ece7725bb17adaa023e10dd84e7ab1f7ad79eac3e04f183
5
5
  SHA512:
6
- metadata.gz: 947019277c3d9d30f97d7d175c7259a628b345543f845f73d0ba31f649677ea519e3d841c99d216525d07ddac6b299076b3c3c03a003832404728bf7e372e33e
7
- data.tar.gz: f5a3c174bfa39fb3cb5979cef0a20fde4a7cb166309a67cd0af756c8f852979eddda01a0c7d3d6416d11ac206cdeb10dd53c15c2f51ac818dc813e2ed97580ec
6
+ metadata.gz: 249d2b2f30a5fd1b21ffe15899989f188fec9c0d8c14fd05a84fe8b9ed99afd1ff8ebcb5117e012b7c4d2ecab1037bf315a603f016f8431f87e15361e73ea0af
7
+ data.tar.gz: 12889377e4e6308525c3b663dc3de75a6334ec1d032f5bdd6104ca8c81fd834ba19660bd0a65d7ea90b5a6b25226866b7bf588a1f8e89ea949070349a66ebe3e
@@ -31,7 +31,7 @@ module DaytonaApiClient
31
31
  attr_accessor :runner_id
32
32
 
33
33
  # The class of the sandbox
34
- attr_accessor :_class
34
+ attr_accessor :sandbox_class
35
35
 
36
36
  # The state of the sandbox
37
37
  attr_accessor :state
@@ -126,7 +126,7 @@ module DaytonaApiClient
126
126
  :'name' => :'name',
127
127
  :'target' => :'target',
128
128
  :'runner_id' => :'runnerId',
129
- :'_class' => :'class',
129
+ :'sandbox_class' => :'sandboxClass',
130
130
  :'state' => :'state',
131
131
  :'desired_state' => :'desiredState',
132
132
  :'snapshot' => :'snapshot',
@@ -169,7 +169,7 @@ module DaytonaApiClient
169
169
  :'name' => :'String',
170
170
  :'target' => :'String',
171
171
  :'runner_id' => :'String',
172
- :'_class' => :'String',
172
+ :'sandbox_class' => :'String',
173
173
  :'state' => :'SandboxState',
174
174
  :'desired_state' => :'SandboxDesiredState',
175
175
  :'snapshot' => :'String',
@@ -244,8 +244,8 @@ module DaytonaApiClient
244
244
  self.runner_id = attributes[:'runner_id']
245
245
  end
246
246
 
247
- if attributes.key?(:'_class')
248
- self._class = attributes[:'_class']
247
+ if attributes.key?(:'sandbox_class')
248
+ self.sandbox_class = attributes[:'sandbox_class']
249
249
  end
250
250
 
251
251
  if attributes.key?(:'state')
@@ -415,8 +415,8 @@ module DaytonaApiClient
415
415
  return false if @organization_id.nil?
416
416
  return false if @name.nil?
417
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)
418
+ sandbox_class_validator = EnumAttributeValidator.new('String', ["small", "medium", "large", "unknown_default_open_api"])
419
+ return false unless sandbox_class_validator.valid?(@sandbox_class)
420
420
  return false if @user.nil?
421
421
  return false if @public.nil?
422
422
  return false if @cpu.nil?
@@ -471,13 +471,13 @@ module DaytonaApiClient
471
471
  end
472
472
 
473
473
  # Custom attribute writer method checking allowed values (enum).
474
- # @param [Object] _class Object to be assigned
475
- def _class=(_class)
474
+ # @param [Object] sandbox_class Object to be assigned
475
+ def sandbox_class=(sandbox_class)
476
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}."
477
+ unless validator.valid?(sandbox_class)
478
+ fail ArgumentError, "invalid value for \"sandbox_class\", must be one of #{validator.allowable_values}."
479
479
  end
480
- @_class = _class
480
+ @sandbox_class = sandbox_class
481
481
  end
482
482
 
483
483
  # Custom attribute writer method with validation
@@ -580,7 +580,7 @@ module DaytonaApiClient
580
580
  name == o.name &&
581
581
  target == o.target &&
582
582
  runner_id == o.runner_id &&
583
- _class == o._class &&
583
+ sandbox_class == o.sandbox_class &&
584
584
  state == o.state &&
585
585
  desired_state == o.desired_state &&
586
586
  snapshot == o.snapshot &&
@@ -613,7 +613,7 @@ module DaytonaApiClient
613
613
  # Calculates hash code according to all attributes.
614
614
  # @return [Integer] Hash code
615
615
  def 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
616
+ [id, organization_id, name, target, runner_id, sandbox_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
617
617
  end
618
618
 
619
619
  # 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.alpha.1'
14
+ VERSION = '0.180.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.alpha.1
4
+ version: 0.180.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio