daytona_api_client 0.167.0.alpha.1 → 0.167.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: c24aec27f6ad389602ce82aad99d81a23180a8bd2b2446babdb8a93af78c2562
4
- data.tar.gz: e8c099edc59c6b72165cfbd9beb3607e5fd2b2cc19737d9a27571e47548e59bc
3
+ metadata.gz: f16932a527ef05b5c8c07b63c1808f8b0b2fd0d96cce3f066446cef0f9b581d6
4
+ data.tar.gz: 39732d253938319823767fbd7e578164c0421eb17acbd9b26921775eb528ceea
5
5
  SHA512:
6
- metadata.gz: b4b1100a086b14d95aadc9882962d8d43a69e94824e018ae04bc083f4ad4828a1d02109829b65799e0f8a824cd0d01f1f4f04e2129077ada8ff21f2e0bd54b0d
7
- data.tar.gz: 84e526306d2249782d9a6bfb7b4f19f0b0a493b440133ddbb208679ee922a14f06ba103dd737598b3b9c9b41fb44325bd24c4e0492684085a51689499d715611
6
+ metadata.gz: '05597517f67542dd6627b868395468a318cdc75013871da07485e986335b7fa15a6ebccdae8c712a608359caa9a3c443b5d7188034099d227157fb163341e9b8'
7
+ data.tar.gz: 005e12c96bf9a2e1024f554221637fcf4db5fc8ada5bad9c012f459bf97af329b26e970b6afc04ec38db7612661ac04368489f83f6cd52a67e7a2dba74dc8ae1
@@ -25,6 +25,14 @@ module DaytonaApiClient
25
25
 
26
26
  attr_accessor :total_disk_quota
27
27
 
28
+ attr_accessor :max_cpu_per_sandbox
29
+
30
+ attr_accessor :max_memory_per_sandbox
31
+
32
+ attr_accessor :max_disk_per_sandbox
33
+
34
+ attr_accessor :max_disk_per_non_ephemeral_sandbox
35
+
28
36
  # Attribute mapping from ruby-style variable name to JSON key.
29
37
  def self.attribute_map
30
38
  {
@@ -32,7 +40,11 @@ module DaytonaApiClient
32
40
  :'region_id' => :'regionId',
33
41
  :'total_cpu_quota' => :'totalCpuQuota',
34
42
  :'total_memory_quota' => :'totalMemoryQuota',
35
- :'total_disk_quota' => :'totalDiskQuota'
43
+ :'total_disk_quota' => :'totalDiskQuota',
44
+ :'max_cpu_per_sandbox' => :'maxCpuPerSandbox',
45
+ :'max_memory_per_sandbox' => :'maxMemoryPerSandbox',
46
+ :'max_disk_per_sandbox' => :'maxDiskPerSandbox',
47
+ :'max_disk_per_non_ephemeral_sandbox' => :'maxDiskPerNonEphemeralSandbox'
36
48
  }
37
49
  end
38
50
 
@@ -53,13 +65,21 @@ module DaytonaApiClient
53
65
  :'region_id' => :'String',
54
66
  :'total_cpu_quota' => :'Float',
55
67
  :'total_memory_quota' => :'Float',
56
- :'total_disk_quota' => :'Float'
68
+ :'total_disk_quota' => :'Float',
69
+ :'max_cpu_per_sandbox' => :'Float',
70
+ :'max_memory_per_sandbox' => :'Float',
71
+ :'max_disk_per_sandbox' => :'Float',
72
+ :'max_disk_per_non_ephemeral_sandbox' => :'Float'
57
73
  }
58
74
  end
59
75
 
60
76
  # List of attributes with nullable: true
61
77
  def self.openapi_nullable
62
78
  Set.new([
79
+ :'max_cpu_per_sandbox',
80
+ :'max_memory_per_sandbox',
81
+ :'max_disk_per_sandbox',
82
+ :'max_disk_per_non_ephemeral_sandbox'
63
83
  ])
64
84
  end
65
85
 
@@ -108,6 +128,30 @@ module DaytonaApiClient
108
128
  else
109
129
  self.total_disk_quota = nil
110
130
  end
131
+
132
+ if attributes.key?(:'max_cpu_per_sandbox')
133
+ self.max_cpu_per_sandbox = attributes[:'max_cpu_per_sandbox']
134
+ else
135
+ self.max_cpu_per_sandbox = nil
136
+ end
137
+
138
+ if attributes.key?(:'max_memory_per_sandbox')
139
+ self.max_memory_per_sandbox = attributes[:'max_memory_per_sandbox']
140
+ else
141
+ self.max_memory_per_sandbox = nil
142
+ end
143
+
144
+ if attributes.key?(:'max_disk_per_sandbox')
145
+ self.max_disk_per_sandbox = attributes[:'max_disk_per_sandbox']
146
+ else
147
+ self.max_disk_per_sandbox = nil
148
+ end
149
+
150
+ if attributes.key?(:'max_disk_per_non_ephemeral_sandbox')
151
+ self.max_disk_per_non_ephemeral_sandbox = attributes[:'max_disk_per_non_ephemeral_sandbox']
152
+ else
153
+ self.max_disk_per_non_ephemeral_sandbox = nil
154
+ end
111
155
  end
112
156
 
113
157
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -209,7 +253,11 @@ module DaytonaApiClient
209
253
  region_id == o.region_id &&
210
254
  total_cpu_quota == o.total_cpu_quota &&
211
255
  total_memory_quota == o.total_memory_quota &&
212
- total_disk_quota == o.total_disk_quota
256
+ total_disk_quota == o.total_disk_quota &&
257
+ max_cpu_per_sandbox == o.max_cpu_per_sandbox &&
258
+ max_memory_per_sandbox == o.max_memory_per_sandbox &&
259
+ max_disk_per_sandbox == o.max_disk_per_sandbox &&
260
+ max_disk_per_non_ephemeral_sandbox == o.max_disk_per_non_ephemeral_sandbox
213
261
  end
214
262
 
215
263
  # @see the `==` method
@@ -221,7 +269,7 @@ module DaytonaApiClient
221
269
  # Calculates hash code according to all attributes.
222
270
  # @return [Integer] Hash code
223
271
  def hash
224
- [organization_id, region_id, total_cpu_quota, total_memory_quota, total_disk_quota].hash
272
+ [organization_id, region_id, total_cpu_quota, total_memory_quota, total_disk_quota, max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, max_disk_per_non_ephemeral_sandbox].hash
225
273
  end
226
274
 
227
275
  # Builds the object from hash
@@ -21,12 +21,24 @@ module DaytonaApiClient
21
21
 
22
22
  attr_accessor :total_disk_quota
23
23
 
24
+ attr_accessor :max_cpu_per_sandbox
25
+
26
+ attr_accessor :max_memory_per_sandbox
27
+
28
+ attr_accessor :max_disk_per_sandbox
29
+
30
+ attr_accessor :max_disk_per_non_ephemeral_sandbox
31
+
24
32
  # Attribute mapping from ruby-style variable name to JSON key.
25
33
  def self.attribute_map
26
34
  {
27
35
  :'total_cpu_quota' => :'totalCpuQuota',
28
36
  :'total_memory_quota' => :'totalMemoryQuota',
29
- :'total_disk_quota' => :'totalDiskQuota'
37
+ :'total_disk_quota' => :'totalDiskQuota',
38
+ :'max_cpu_per_sandbox' => :'maxCpuPerSandbox',
39
+ :'max_memory_per_sandbox' => :'maxMemoryPerSandbox',
40
+ :'max_disk_per_sandbox' => :'maxDiskPerSandbox',
41
+ :'max_disk_per_non_ephemeral_sandbox' => :'maxDiskPerNonEphemeralSandbox'
30
42
  }
31
43
  end
32
44
 
@@ -45,7 +57,11 @@ module DaytonaApiClient
45
57
  {
46
58
  :'total_cpu_quota' => :'Float',
47
59
  :'total_memory_quota' => :'Float',
48
- :'total_disk_quota' => :'Float'
60
+ :'total_disk_quota' => :'Float',
61
+ :'max_cpu_per_sandbox' => :'Float',
62
+ :'max_memory_per_sandbox' => :'Float',
63
+ :'max_disk_per_sandbox' => :'Float',
64
+ :'max_disk_per_non_ephemeral_sandbox' => :'Float'
49
65
  }
50
66
  end
51
67
 
@@ -54,7 +70,11 @@ module DaytonaApiClient
54
70
  Set.new([
55
71
  :'total_cpu_quota',
56
72
  :'total_memory_quota',
57
- :'total_disk_quota'
73
+ :'total_disk_quota',
74
+ :'max_cpu_per_sandbox',
75
+ :'max_memory_per_sandbox',
76
+ :'max_disk_per_sandbox',
77
+ :'max_disk_per_non_ephemeral_sandbox'
58
78
  ])
59
79
  end
60
80
 
@@ -91,6 +111,22 @@ module DaytonaApiClient
91
111
  else
92
112
  self.total_disk_quota = nil
93
113
  end
114
+
115
+ if attributes.key?(:'max_cpu_per_sandbox')
116
+ self.max_cpu_per_sandbox = attributes[:'max_cpu_per_sandbox']
117
+ end
118
+
119
+ if attributes.key?(:'max_memory_per_sandbox')
120
+ self.max_memory_per_sandbox = attributes[:'max_memory_per_sandbox']
121
+ end
122
+
123
+ if attributes.key?(:'max_disk_per_sandbox')
124
+ self.max_disk_per_sandbox = attributes[:'max_disk_per_sandbox']
125
+ end
126
+
127
+ if attributes.key?(:'max_disk_per_non_ephemeral_sandbox')
128
+ self.max_disk_per_non_ephemeral_sandbox = attributes[:'max_disk_per_non_ephemeral_sandbox']
129
+ end
94
130
  end
95
131
 
96
132
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -115,7 +151,11 @@ module DaytonaApiClient
115
151
  self.class == o.class &&
116
152
  total_cpu_quota == o.total_cpu_quota &&
117
153
  total_memory_quota == o.total_memory_quota &&
118
- total_disk_quota == o.total_disk_quota
154
+ total_disk_quota == o.total_disk_quota &&
155
+ max_cpu_per_sandbox == o.max_cpu_per_sandbox &&
156
+ max_memory_per_sandbox == o.max_memory_per_sandbox &&
157
+ max_disk_per_sandbox == o.max_disk_per_sandbox &&
158
+ max_disk_per_non_ephemeral_sandbox == o.max_disk_per_non_ephemeral_sandbox
119
159
  end
120
160
 
121
161
  # @see the `==` method
@@ -127,7 +167,7 @@ module DaytonaApiClient
127
167
  # Calculates hash code according to all attributes.
128
168
  # @return [Integer] Hash code
129
169
  def hash
130
- [total_cpu_quota, total_memory_quota, total_disk_quota].hash
170
+ [total_cpu_quota, total_memory_quota, total_disk_quota, max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, max_disk_per_non_ephemeral_sandbox].hash
131
171
  end
132
172
 
133
173
  # 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.alpha.1'
14
+ VERSION = '0.167.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.alpha.1
4
+ version: 0.167.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio