daytona_toolbox_api_client 0.183.0 → 0.184.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: 24d2461ea0c4973b99dd12a320961f8606ce6580a8d76d70559095f1448a6f0b
4
- data.tar.gz: 4181e92e6885bfb328907866446f8e4356810425ccea1a8807a1bfbe3127adbd
3
+ metadata.gz: 79beb5c8405f065a446098bcc26ea150fffa25235192e9a7dfadb53a86f27d48
4
+ data.tar.gz: '097dd49e9dc499edda35fa8a373c2c5ed4348600f8a4f750a1b844d236dbce9a'
5
5
  SHA512:
6
- metadata.gz: 71f466a039d077fedb97b08fb6945ca8fc89174bcd8841e676e0e82d5b6d2462ade06fc4d3c3051d9f8c83d0d402e7f20246577af47a4bbeea886bc5cac3b611
7
- data.tar.gz: bba9a2c021b5bdc51743dd6f339e76129f5234a81de9a62a77c423e8e58452643f3981fde63b3187998dc3f3d2ff00a1e45c55f95eef3058561124ff72136236
6
+ metadata.gz: d1539d2290d96b2cc5c0adda70f538e6e22e78a856355ee798931c95f676e98f2175028735975ca9987669d1e116bd2b7438f0b472651e74e61d72eb4a0e1567
7
+ data.tar.gz: bed30bbdae6cc0e3260fde74b94d8e7e74ac04532d4fc7cb4fed7e16e31fee02aeecde1d2bb61699ff40fac75a120b462057055fc91c678fafde75a92d6f5aa4
@@ -19,10 +19,13 @@ module DaytonaToolboxApiClient
19
19
 
20
20
  attr_accessor :is_dir
21
21
 
22
+ # Deprecated: ModTime uses Go's time.String() layout which is not a standard format. Use ModifiedAt instead, which is serialized as ISO 8601 / RFC 3339.
22
23
  attr_accessor :mod_time
23
24
 
24
25
  attr_accessor :mode
25
26
 
27
+ attr_accessor :modified_at
28
+
26
29
  attr_accessor :name
27
30
 
28
31
  attr_accessor :owner
@@ -38,6 +41,7 @@ module DaytonaToolboxApiClient
38
41
  :'is_dir' => :'isDir',
39
42
  :'mod_time' => :'modTime',
40
43
  :'mode' => :'mode',
44
+ :'modified_at' => :'modifiedAt',
41
45
  :'name' => :'name',
42
46
  :'owner' => :'owner',
43
47
  :'permissions' => :'permissions',
@@ -62,6 +66,7 @@ module DaytonaToolboxApiClient
62
66
  :'is_dir' => :'Boolean',
63
67
  :'mod_time' => :'String',
64
68
  :'mode' => :'String',
69
+ :'modified_at' => :'String',
65
70
  :'name' => :'String',
66
71
  :'owner' => :'String',
67
72
  :'permissions' => :'String',
@@ -115,6 +120,12 @@ module DaytonaToolboxApiClient
115
120
  self.mode = nil
116
121
  end
117
122
 
123
+ if attributes.key?(:'modified_at')
124
+ self.modified_at = attributes[:'modified_at']
125
+ else
126
+ self.modified_at = nil
127
+ end
128
+
118
129
  if attributes.key?(:'name')
119
130
  self.name = attributes[:'name']
120
131
  else
@@ -161,6 +172,10 @@ module DaytonaToolboxApiClient
161
172
  invalid_properties.push('invalid value for "mode", mode cannot be nil.')
162
173
  end
163
174
 
175
+ if @modified_at.nil?
176
+ invalid_properties.push('invalid value for "modified_at", modified_at cannot be nil.')
177
+ end
178
+
164
179
  if @name.nil?
165
180
  invalid_properties.push('invalid value for "name", name cannot be nil.')
166
181
  end
@@ -188,6 +203,7 @@ module DaytonaToolboxApiClient
188
203
  return false if @is_dir.nil?
189
204
  return false if @mod_time.nil?
190
205
  return false if @mode.nil?
206
+ return false if @modified_at.nil?
191
207
  return false if @name.nil?
192
208
  return false if @owner.nil?
193
209
  return false if @permissions.nil?
@@ -235,6 +251,16 @@ module DaytonaToolboxApiClient
235
251
  @mode = mode
236
252
  end
237
253
 
254
+ # Custom attribute writer method with validation
255
+ # @param [Object] modified_at Value to be assigned
256
+ def modified_at=(modified_at)
257
+ if modified_at.nil?
258
+ fail ArgumentError, 'modified_at cannot be nil'
259
+ end
260
+
261
+ @modified_at = modified_at
262
+ end
263
+
238
264
  # Custom attribute writer method with validation
239
265
  # @param [Object] name Value to be assigned
240
266
  def name=(name)
@@ -284,6 +310,7 @@ module DaytonaToolboxApiClient
284
310
  is_dir == o.is_dir &&
285
311
  mod_time == o.mod_time &&
286
312
  mode == o.mode &&
313
+ modified_at == o.modified_at &&
287
314
  name == o.name &&
288
315
  owner == o.owner &&
289
316
  permissions == o.permissions &&
@@ -299,7 +326,7 @@ module DaytonaToolboxApiClient
299
326
  # Calculates hash code according to all attributes.
300
327
  # @return [Integer] Hash code
301
328
  def hash
302
- [group, is_dir, mod_time, mode, name, owner, permissions, size].hash
329
+ [group, is_dir, mod_time, mode, modified_at, name, owner, permissions, size].hash
303
330
  end
304
331
 
305
332
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.21.0
11
11
  =end
12
12
 
13
13
  module DaytonaToolboxApiClient
14
- VERSION = '0.183.0'
14
+ VERSION = '0.184.0'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daytona_toolbox_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.183.0
4
+ version: 0.184.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio