daytona_api_client 0.134.0.alpha.1 → 1.0.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.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +101 -0
  4. data/daytona_api_client.gemspec +2 -2
  5. data/lib/daytona_api_client/api/audit_api.rb +66 -18
  6. data/lib/daytona_api_client/api/docker_registry_api.rb +0 -3
  7. data/lib/daytona_api_client/api/organizations_api.rb +29 -754
  8. data/lib/daytona_api_client/api/preview_api.rb +5 -74
  9. data/lib/daytona_api_client/api/runners_api.rb +20 -343
  10. data/lib/daytona_api_client/api/sandbox_api.rb +194 -558
  11. data/lib/daytona_api_client/api/snapshots_api.rb +0 -66
  12. data/lib/daytona_api_client/api/toolbox_api.rb +711 -711
  13. data/lib/daytona_api_client/api/workspace_api.rb +3 -3
  14. data/lib/daytona_api_client/models/build_info.rb +4 -31
  15. data/lib/daytona_api_client/models/{job.rb → create_audit_log.rb} +79 -166
  16. data/lib/daytona_api_client/models/create_organization.rb +4 -31
  17. data/lib/daytona_api_client/models/create_runner.rb +315 -31
  18. data/lib/daytona_api_client/models/create_sandbox.rb +1 -11
  19. data/lib/daytona_api_client/models/create_snapshot.rb +4 -14
  20. data/lib/daytona_api_client/models/create_user.rb +1 -10
  21. data/lib/daytona_api_client/models/daytona_configuration.rb +4 -41
  22. data/lib/daytona_api_client/models/organization.rb +85 -53
  23. data/lib/daytona_api_client/models/organization_usage_overview.rb +146 -18
  24. data/lib/daytona_api_client/models/paginated_audit_logs.rb +4 -14
  25. data/lib/daytona_api_client/models/{paginated_jobs.rb → paginated_snapshots_dto.rb} +4 -4
  26. data/lib/daytona_api_client/models/port_preview_url.rb +14 -31
  27. data/lib/daytona_api_client/models/region.rb +4 -178
  28. data/lib/daytona_api_client/models/runner.rb +117 -79
  29. data/lib/daytona_api_client/models/runner_snapshot_dto.rb +17 -0
  30. data/lib/daytona_api_client/models/sandbox.rb +14 -51
  31. data/lib/daytona_api_client/models/sandbox_volume.rb +4 -14
  32. data/lib/daytona_api_client/models/snapshot_dto.rb +4 -36
  33. data/lib/daytona_api_client/models/snapshot_state.rb +4 -1
  34. data/lib/daytona_api_client/models/ssh_access_dto.rb +4 -31
  35. data/lib/daytona_api_client/models/ssh_access_validation_dto.rb +24 -4
  36. data/lib/daytona_api_client/models/update_organization_quota.rb +41 -41
  37. data/lib/daytona_api_client/models/update_sandbox_state_dto.rb +4 -24
  38. data/lib/daytona_api_client/models/workspace.rb +35 -45
  39. data/lib/daytona_api_client/version.rb +1 -1
  40. data/lib/daytona_api_client.rb +1 -30
  41. data/project.json +6 -34
  42. metadata +5 -38
  43. data/.gitignore +0 -39
  44. data/.openapi-generator/FILES +0 -194
  45. data/.openapi-generator/VERSION +0 -1
  46. data/.openapi-generator-ignore +0 -31
  47. data/.rspec +0 -2
  48. data/.rubocop.yml +0 -148
  49. data/fix-gemspec.sh +0 -11
  50. data/lib/daytona_api_client/api/admin_api.rb +0 -325
  51. data/lib/daytona_api_client/api/jobs_api.rb +0 -299
  52. data/lib/daytona_api_client/api/regions_api.rb +0 -77
  53. data/lib/daytona_api_client/models/admin_create_runner.rb +0 -385
  54. data/lib/daytona_api_client/models/create_region.rb +0 -269
  55. data/lib/daytona_api_client/models/create_region_response.rb +0 -280
  56. data/lib/daytona_api_client/models/create_runner_response.rb +0 -263
  57. data/lib/daytona_api_client/models/job_status.rb +0 -42
  58. data/lib/daytona_api_client/models/job_type.rb +0 -49
  59. data/lib/daytona_api_client/models/poll_jobs_response.rb +0 -238
  60. data/lib/daytona_api_client/models/rate_limit_config.rb +0 -249
  61. data/lib/daytona_api_client/models/rate_limit_entry.rb +0 -229
  62. data/lib/daytona_api_client/models/regenerate_api_key_response.rb +0 -236
  63. data/lib/daytona_api_client/models/region_quota.rb +0 -339
  64. data/lib/daytona_api_client/models/region_type.rb +0 -41
  65. data/lib/daytona_api_client/models/region_usage_overview.rb +0 -391
  66. data/lib/daytona_api_client/models/runner_full.rb +0 -779
  67. data/lib/daytona_api_client/models/runner_health_metrics.rb +0 -533
  68. data/lib/daytona_api_client/models/runner_healthcheck.rb +0 -276
  69. data/lib/daytona_api_client/models/signed_port_preview_url.rb +0 -317
  70. data/lib/daytona_api_client/models/snapshot_manager_credentials.rb +0 -263
  71. data/lib/daytona_api_client/models/toolbox_proxy_url.rb +0 -236
  72. data/lib/daytona_api_client/models/update_job_status.rb +0 -278
  73. data/lib/daytona_api_client/models/update_organization_default_region.rb +0 -236
  74. data/lib/daytona_api_client/models/update_organization_region_quota.rb +0 -245
  75. data/lib/daytona_api_client/models/update_region.rb +0 -242
  76. data/lib/daytona_api_client/models/url.rb +0 -236
  77. data/lib/daytona_api_client/models/workspace_port_preview_url.rb +0 -263
@@ -15,15 +15,67 @@ require 'time'
15
15
 
16
16
  module DaytonaApiClient
17
17
  class CreateRunner
18
- attr_accessor :region_id
18
+ attr_accessor :domain
19
19
 
20
- attr_accessor :name
20
+ attr_accessor :api_url
21
+
22
+ attr_accessor :proxy_url
23
+
24
+ attr_accessor :api_key
25
+
26
+ attr_accessor :cpu
27
+
28
+ attr_accessor :memory_gi_b
29
+
30
+ attr_accessor :disk_gi_b
31
+
32
+ attr_accessor :gpu
33
+
34
+ attr_accessor :gpu_type
35
+
36
+ attr_accessor :_class
37
+
38
+ attr_accessor :region
39
+
40
+ attr_accessor :version
41
+
42
+ class EnumAttributeValidator
43
+ attr_reader :datatype
44
+ attr_reader :allowable_values
45
+
46
+ def initialize(datatype, allowable_values)
47
+ @allowable_values = allowable_values.map do |value|
48
+ case datatype.to_s
49
+ when /Integer/i
50
+ value.to_i
51
+ when /Float/i
52
+ value.to_f
53
+ else
54
+ value
55
+ end
56
+ end
57
+ end
58
+
59
+ def valid?(value)
60
+ !value || allowable_values.include?(value)
61
+ end
62
+ end
21
63
 
22
64
  # Attribute mapping from ruby-style variable name to JSON key.
23
65
  def self.attribute_map
24
66
  {
25
- :'region_id' => :'regionId',
26
- :'name' => :'name'
67
+ :'domain' => :'domain',
68
+ :'api_url' => :'apiUrl',
69
+ :'proxy_url' => :'proxyUrl',
70
+ :'api_key' => :'apiKey',
71
+ :'cpu' => :'cpu',
72
+ :'memory_gi_b' => :'memoryGiB',
73
+ :'disk_gi_b' => :'diskGiB',
74
+ :'gpu' => :'gpu',
75
+ :'gpu_type' => :'gpuType',
76
+ :'_class' => :'class',
77
+ :'region' => :'region',
78
+ :'version' => :'version'
27
79
  }
28
80
  end
29
81
 
@@ -40,8 +92,18 @@ module DaytonaApiClient
40
92
  # Attribute type mapping.
41
93
  def self.openapi_types
42
94
  {
43
- :'region_id' => :'String',
44
- :'name' => :'String'
95
+ :'domain' => :'String',
96
+ :'api_url' => :'String',
97
+ :'proxy_url' => :'String',
98
+ :'api_key' => :'String',
99
+ :'cpu' => :'Float',
100
+ :'memory_gi_b' => :'Float',
101
+ :'disk_gi_b' => :'Float',
102
+ :'gpu' => :'Float',
103
+ :'gpu_type' => :'String',
104
+ :'_class' => :'String',
105
+ :'region' => :'String',
106
+ :'version' => :'String'
45
107
  }
46
108
  end
47
109
 
@@ -67,16 +129,76 @@ module DaytonaApiClient
67
129
  h[k.to_sym] = v
68
130
  }
69
131
 
70
- if attributes.key?(:'region_id')
71
- self.region_id = attributes[:'region_id']
132
+ if attributes.key?(:'domain')
133
+ self.domain = attributes[:'domain']
134
+ else
135
+ self.domain = nil
136
+ end
137
+
138
+ if attributes.key?(:'api_url')
139
+ self.api_url = attributes[:'api_url']
140
+ else
141
+ self.api_url = nil
142
+ end
143
+
144
+ if attributes.key?(:'proxy_url')
145
+ self.proxy_url = attributes[:'proxy_url']
146
+ else
147
+ self.proxy_url = nil
148
+ end
149
+
150
+ if attributes.key?(:'api_key')
151
+ self.api_key = attributes[:'api_key']
152
+ else
153
+ self.api_key = nil
154
+ end
155
+
156
+ if attributes.key?(:'cpu')
157
+ self.cpu = attributes[:'cpu']
158
+ else
159
+ self.cpu = nil
160
+ end
161
+
162
+ if attributes.key?(:'memory_gi_b')
163
+ self.memory_gi_b = attributes[:'memory_gi_b']
72
164
  else
73
- self.region_id = nil
165
+ self.memory_gi_b = nil
74
166
  end
75
167
 
76
- if attributes.key?(:'name')
77
- self.name = attributes[:'name']
168
+ if attributes.key?(:'disk_gi_b')
169
+ self.disk_gi_b = attributes[:'disk_gi_b']
78
170
  else
79
- self.name = nil
171
+ self.disk_gi_b = nil
172
+ end
173
+
174
+ if attributes.key?(:'gpu')
175
+ self.gpu = attributes[:'gpu']
176
+ else
177
+ self.gpu = nil
178
+ end
179
+
180
+ if attributes.key?(:'gpu_type')
181
+ self.gpu_type = attributes[:'gpu_type']
182
+ else
183
+ self.gpu_type = nil
184
+ end
185
+
186
+ if attributes.key?(:'_class')
187
+ self._class = attributes[:'_class']
188
+ else
189
+ self._class = nil
190
+ end
191
+
192
+ if attributes.key?(:'region')
193
+ self.region = attributes[:'region']
194
+ else
195
+ self.region = nil
196
+ end
197
+
198
+ if attributes.key?(:'version')
199
+ self.version = attributes[:'version']
200
+ else
201
+ self.version = nil
80
202
  end
81
203
  end
82
204
 
@@ -85,12 +207,52 @@ module DaytonaApiClient
85
207
  def list_invalid_properties
86
208
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
87
209
  invalid_properties = Array.new
88
- if @region_id.nil?
89
- invalid_properties.push('invalid value for "region_id", region_id cannot be nil.')
210
+ if @domain.nil?
211
+ invalid_properties.push('invalid value for "domain", domain cannot be nil.')
212
+ end
213
+
214
+ if @api_url.nil?
215
+ invalid_properties.push('invalid value for "api_url", api_url cannot be nil.')
216
+ end
217
+
218
+ if @proxy_url.nil?
219
+ invalid_properties.push('invalid value for "proxy_url", proxy_url cannot be nil.')
220
+ end
221
+
222
+ if @api_key.nil?
223
+ invalid_properties.push('invalid value for "api_key", api_key cannot be nil.')
224
+ end
225
+
226
+ if @cpu.nil?
227
+ invalid_properties.push('invalid value for "cpu", cpu cannot be nil.')
228
+ end
229
+
230
+ if @memory_gi_b.nil?
231
+ invalid_properties.push('invalid value for "memory_gi_b", memory_gi_b cannot be nil.')
90
232
  end
91
233
 
92
- if @name.nil?
93
- invalid_properties.push('invalid value for "name", name cannot be nil.')
234
+ if @disk_gi_b.nil?
235
+ invalid_properties.push('invalid value for "disk_gi_b", disk_gi_b cannot be nil.')
236
+ end
237
+
238
+ if @gpu.nil?
239
+ invalid_properties.push('invalid value for "gpu", gpu cannot be nil.')
240
+ end
241
+
242
+ if @gpu_type.nil?
243
+ invalid_properties.push('invalid value for "gpu_type", gpu_type cannot be nil.')
244
+ end
245
+
246
+ if @_class.nil?
247
+ invalid_properties.push('invalid value for "_class", _class cannot be nil.')
248
+ end
249
+
250
+ if @region.nil?
251
+ invalid_properties.push('invalid value for "region", region cannot be nil.')
252
+ end
253
+
254
+ if @version.nil?
255
+ invalid_properties.push('invalid value for "version", version cannot be nil.')
94
256
  end
95
257
 
96
258
  invalid_properties
@@ -100,29 +262,141 @@ module DaytonaApiClient
100
262
  # @return true if the model is valid
101
263
  def valid?
102
264
  warn '[DEPRECATED] the `valid?` method is obsolete'
103
- return false if @region_id.nil?
104
- return false if @name.nil?
265
+ return false if @domain.nil?
266
+ return false if @api_url.nil?
267
+ return false if @proxy_url.nil?
268
+ return false if @api_key.nil?
269
+ return false if @cpu.nil?
270
+ return false if @memory_gi_b.nil?
271
+ return false if @disk_gi_b.nil?
272
+ return false if @gpu.nil?
273
+ return false if @gpu_type.nil?
274
+ return false if @_class.nil?
275
+ _class_validator = EnumAttributeValidator.new('String', ["small", "medium", "large"])
276
+ return false unless _class_validator.valid?(@_class)
277
+ return false if @region.nil?
278
+ return false if @version.nil?
105
279
  true
106
280
  end
107
281
 
108
282
  # Custom attribute writer method with validation
109
- # @param [Object] region_id Value to be assigned
110
- def region_id=(region_id)
111
- if region_id.nil?
112
- fail ArgumentError, 'region_id cannot be nil'
283
+ # @param [Object] domain Value to be assigned
284
+ def domain=(domain)
285
+ if domain.nil?
286
+ fail ArgumentError, 'domain cannot be nil'
287
+ end
288
+
289
+ @domain = domain
290
+ end
291
+
292
+ # Custom attribute writer method with validation
293
+ # @param [Object] api_url Value to be assigned
294
+ def api_url=(api_url)
295
+ if api_url.nil?
296
+ fail ArgumentError, 'api_url cannot be nil'
297
+ end
298
+
299
+ @api_url = api_url
300
+ end
301
+
302
+ # Custom attribute writer method with validation
303
+ # @param [Object] proxy_url Value to be assigned
304
+ def proxy_url=(proxy_url)
305
+ if proxy_url.nil?
306
+ fail ArgumentError, 'proxy_url cannot be nil'
307
+ end
308
+
309
+ @proxy_url = proxy_url
310
+ end
311
+
312
+ # Custom attribute writer method with validation
313
+ # @param [Object] api_key Value to be assigned
314
+ def api_key=(api_key)
315
+ if api_key.nil?
316
+ fail ArgumentError, 'api_key cannot be nil'
317
+ end
318
+
319
+ @api_key = api_key
320
+ end
321
+
322
+ # Custom attribute writer method with validation
323
+ # @param [Object] cpu Value to be assigned
324
+ def cpu=(cpu)
325
+ if cpu.nil?
326
+ fail ArgumentError, 'cpu cannot be nil'
327
+ end
328
+
329
+ @cpu = cpu
330
+ end
331
+
332
+ # Custom attribute writer method with validation
333
+ # @param [Object] memory_gi_b Value to be assigned
334
+ def memory_gi_b=(memory_gi_b)
335
+ if memory_gi_b.nil?
336
+ fail ArgumentError, 'memory_gi_b cannot be nil'
337
+ end
338
+
339
+ @memory_gi_b = memory_gi_b
340
+ end
341
+
342
+ # Custom attribute writer method with validation
343
+ # @param [Object] disk_gi_b Value to be assigned
344
+ def disk_gi_b=(disk_gi_b)
345
+ if disk_gi_b.nil?
346
+ fail ArgumentError, 'disk_gi_b cannot be nil'
347
+ end
348
+
349
+ @disk_gi_b = disk_gi_b
350
+ end
351
+
352
+ # Custom attribute writer method with validation
353
+ # @param [Object] gpu Value to be assigned
354
+ def gpu=(gpu)
355
+ if gpu.nil?
356
+ fail ArgumentError, 'gpu cannot be nil'
357
+ end
358
+
359
+ @gpu = gpu
360
+ end
361
+
362
+ # Custom attribute writer method with validation
363
+ # @param [Object] gpu_type Value to be assigned
364
+ def gpu_type=(gpu_type)
365
+ if gpu_type.nil?
366
+ fail ArgumentError, 'gpu_type cannot be nil'
367
+ end
368
+
369
+ @gpu_type = gpu_type
370
+ end
371
+
372
+ # Custom attribute writer method checking allowed values (enum).
373
+ # @param [Object] _class Object to be assigned
374
+ def _class=(_class)
375
+ validator = EnumAttributeValidator.new('String', ["small", "medium", "large"])
376
+ unless validator.valid?(_class)
377
+ fail ArgumentError, "invalid value for \"_class\", must be one of #{validator.allowable_values}."
378
+ end
379
+ @_class = _class
380
+ end
381
+
382
+ # Custom attribute writer method with validation
383
+ # @param [Object] region Value to be assigned
384
+ def region=(region)
385
+ if region.nil?
386
+ fail ArgumentError, 'region cannot be nil'
113
387
  end
114
388
 
115
- @region_id = region_id
389
+ @region = region
116
390
  end
117
391
 
118
392
  # Custom attribute writer method with validation
119
- # @param [Object] name Value to be assigned
120
- def name=(name)
121
- if name.nil?
122
- fail ArgumentError, 'name cannot be nil'
393
+ # @param [Object] version Value to be assigned
394
+ def version=(version)
395
+ if version.nil?
396
+ fail ArgumentError, 'version cannot be nil'
123
397
  end
124
398
 
125
- @name = name
399
+ @version = version
126
400
  end
127
401
 
128
402
  # Checks equality by comparing each attribute.
@@ -130,8 +404,18 @@ module DaytonaApiClient
130
404
  def ==(o)
131
405
  return true if self.equal?(o)
132
406
  self.class == o.class &&
133
- region_id == o.region_id &&
134
- name == o.name
407
+ domain == o.domain &&
408
+ api_url == o.api_url &&
409
+ proxy_url == o.proxy_url &&
410
+ api_key == o.api_key &&
411
+ cpu == o.cpu &&
412
+ memory_gi_b == o.memory_gi_b &&
413
+ disk_gi_b == o.disk_gi_b &&
414
+ gpu == o.gpu &&
415
+ gpu_type == o.gpu_type &&
416
+ _class == o._class &&
417
+ region == o.region &&
418
+ version == o.version
135
419
  end
136
420
 
137
421
  # @see the `==` method
@@ -143,7 +427,7 @@ module DaytonaApiClient
143
427
  # Calculates hash code according to all attributes.
144
428
  # @return [Integer] Hash code
145
429
  def hash
146
- [region_id, name].hash
430
+ [domain, api_url, proxy_url, api_key, cpu, memory_gi_b, disk_gi_b, gpu, gpu_type, _class, region, version].hash
147
431
  end
148
432
 
149
433
  # Builds the object from hash
@@ -15,9 +15,6 @@ require 'time'
15
15
 
16
16
  module DaytonaApiClient
17
17
  class CreateSandbox
18
- # The name of the sandbox. If not provided, the sandbox ID will be used as the name
19
- attr_accessor :name
20
-
21
18
  # The ID or name of the snapshot used for the sandbox
22
19
  attr_accessor :snapshot
23
20
 
@@ -97,7 +94,6 @@ module DaytonaApiClient
97
94
  # Attribute mapping from ruby-style variable name to JSON key.
98
95
  def self.attribute_map
99
96
  {
100
- :'name' => :'name',
101
97
  :'snapshot' => :'snapshot',
102
98
  :'user' => :'user',
103
99
  :'env' => :'env',
@@ -132,7 +128,6 @@ module DaytonaApiClient
132
128
  # Attribute type mapping.
133
129
  def self.openapi_types
134
130
  {
135
- :'name' => :'String',
136
131
  :'snapshot' => :'String',
137
132
  :'user' => :'String',
138
133
  :'env' => :'Hash<String, String>',
@@ -176,10 +171,6 @@ module DaytonaApiClient
176
171
  h[k.to_sym] = v
177
172
  }
178
173
 
179
- if attributes.key?(:'name')
180
- self.name = attributes[:'name']
181
- end
182
-
183
174
  if attributes.key?(:'snapshot')
184
175
  self.snapshot = attributes[:'snapshot']
185
176
  end
@@ -291,7 +282,6 @@ module DaytonaApiClient
291
282
  def ==(o)
292
283
  return true if self.equal?(o)
293
284
  self.class == o.class &&
294
- name == o.name &&
295
285
  snapshot == o.snapshot &&
296
286
  user == o.user &&
297
287
  env == o.env &&
@@ -321,7 +311,7 @@ module DaytonaApiClient
321
311
  # Calculates hash code according to all attributes.
322
312
  # @return [Integer] Hash code
323
313
  def hash
324
- [name, snapshot, user, env, labels, public, network_block_all, network_allow_list, _class, target, cpu, gpu, memory, disk, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info].hash
314
+ [snapshot, user, env, labels, public, network_block_all, network_allow_list, _class, target, cpu, gpu, memory, disk, auto_stop_interval, auto_archive_interval, auto_delete_interval, volumes, build_info].hash
325
315
  end
326
316
 
327
317
  # Builds the object from hash
@@ -42,9 +42,6 @@ module DaytonaApiClient
42
42
  # Build information for the snapshot
43
43
  attr_accessor :build_info
44
44
 
45
- # ID of the region where the snapshot will be available. Defaults to organization default region if not specified.
46
- attr_accessor :region_id
47
-
48
45
  # Attribute mapping from ruby-style variable name to JSON key.
49
46
  def self.attribute_map
50
47
  {
@@ -56,8 +53,7 @@ module DaytonaApiClient
56
53
  :'gpu' => :'gpu',
57
54
  :'memory' => :'memory',
58
55
  :'disk' => :'disk',
59
- :'build_info' => :'buildInfo',
60
- :'region_id' => :'regionId'
56
+ :'build_info' => :'buildInfo'
61
57
  }
62
58
  end
63
59
 
@@ -82,8 +78,7 @@ module DaytonaApiClient
82
78
  :'gpu' => :'Integer',
83
79
  :'memory' => :'Integer',
84
80
  :'disk' => :'Integer',
85
- :'build_info' => :'CreateBuildInfo',
86
- :'region_id' => :'String'
81
+ :'build_info' => :'CreateBuildInfo'
87
82
  }
88
83
  end
89
84
 
@@ -148,10 +143,6 @@ module DaytonaApiClient
148
143
  if attributes.key?(:'build_info')
149
144
  self.build_info = attributes[:'build_info']
150
145
  end
151
-
152
- if attributes.key?(:'region_id')
153
- self.region_id = attributes[:'region_id']
154
- end
155
146
  end
156
147
 
157
148
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -197,8 +188,7 @@ module DaytonaApiClient
197
188
  gpu == o.gpu &&
198
189
  memory == o.memory &&
199
190
  disk == o.disk &&
200
- build_info == o.build_info &&
201
- region_id == o.region_id
191
+ build_info == o.build_info
202
192
  end
203
193
 
204
194
  # @see the `==` method
@@ -210,7 +200,7 @@ module DaytonaApiClient
210
200
  # Calculates hash code according to all attributes.
211
201
  # @return [Integer] Hash code
212
202
  def hash
213
- [name, image_name, entrypoint, general, cpu, gpu, memory, disk, build_info, region_id].hash
203
+ [name, image_name, entrypoint, general, cpu, gpu, memory, disk, build_info].hash
214
204
  end
215
205
 
216
206
  # Builds the object from hash
@@ -23,8 +23,6 @@ module DaytonaApiClient
23
23
 
24
24
  attr_accessor :personal_organization_quota
25
25
 
26
- attr_accessor :personal_organization_default_region_id
27
-
28
26
  attr_accessor :role
29
27
 
30
28
  attr_accessor :email_verified
@@ -58,7 +56,6 @@ module DaytonaApiClient
58
56
  :'name' => :'name',
59
57
  :'email' => :'email',
60
58
  :'personal_organization_quota' => :'personalOrganizationQuota',
61
- :'personal_organization_default_region_id' => :'personalOrganizationDefaultRegionId',
62
59
  :'role' => :'role',
63
60
  :'email_verified' => :'emailVerified'
64
61
  }
@@ -81,7 +78,6 @@ module DaytonaApiClient
81
78
  :'name' => :'String',
82
79
  :'email' => :'String',
83
80
  :'personal_organization_quota' => :'CreateOrganizationQuota',
84
- :'personal_organization_default_region_id' => :'String',
85
81
  :'role' => :'String',
86
82
  :'email_verified' => :'Boolean'
87
83
  }
@@ -129,10 +125,6 @@ module DaytonaApiClient
129
125
  self.personal_organization_quota = attributes[:'personal_organization_quota']
130
126
  end
131
127
 
132
- if attributes.key?(:'personal_organization_default_region_id')
133
- self.personal_organization_default_region_id = attributes[:'personal_organization_default_region_id']
134
- end
135
-
136
128
  if attributes.key?(:'role')
137
129
  self.role = attributes[:'role']
138
130
  end
@@ -208,7 +200,6 @@ module DaytonaApiClient
208
200
  name == o.name &&
209
201
  email == o.email &&
210
202
  personal_organization_quota == o.personal_organization_quota &&
211
- personal_organization_default_region_id == o.personal_organization_default_region_id &&
212
203
  role == o.role &&
213
204
  email_verified == o.email_verified
214
205
  end
@@ -222,7 +213,7 @@ module DaytonaApiClient
222
213
  # Calculates hash code according to all attributes.
223
214
  # @return [Integer] Hash code
224
215
  def hash
225
- [id, name, email, personal_organization_quota, personal_organization_default_region_id, role, email_verified].hash
216
+ [id, name, email, personal_organization_quota, role, email_verified].hash
226
217
  end
227
218
 
228
219
  # Builds the object from hash