daytona_toolbox_api_client 0.126.0.pre.alpha.5 → 0.134.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.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-generator/FILES +0 -1
  3. data/.openapi-generator-ignore +1 -0
  4. data/daytona_toolbox_api_client.gemspec +4 -4
  5. data/fix-gemspec.sh +1 -1
  6. data/lib/daytona_toolbox_api_client/api/computer_use_api.rb +2 -2
  7. data/lib/daytona_toolbox_api_client/api/file_system_api.rb +2 -2
  8. data/lib/daytona_toolbox_api_client/api/git_api.rb +2 -2
  9. data/lib/daytona_toolbox_api_client/api/info_api.rb +2 -2
  10. data/lib/daytona_toolbox_api_client/api/interpreter_api.rb +2 -2
  11. data/lib/daytona_toolbox_api_client/api/lsp_api.rb +2 -2
  12. data/lib/daytona_toolbox_api_client/api/port_api.rb +2 -2
  13. data/lib/daytona_toolbox_api_client/api/process_api.rb +2 -2
  14. data/lib/daytona_toolbox_api_client/api_client.rb +2 -2
  15. data/lib/daytona_toolbox_api_client/api_error.rb +2 -2
  16. data/lib/daytona_toolbox_api_client/configuration.rb +2 -2
  17. data/lib/daytona_toolbox_api_client/models/command.rb +2 -2
  18. data/lib/daytona_toolbox_api_client/models/completion_context.rb +2 -2
  19. data/lib/daytona_toolbox_api_client/models/completion_item.rb +2 -2
  20. data/lib/daytona_toolbox_api_client/models/completion_list.rb +2 -2
  21. data/lib/daytona_toolbox_api_client/models/computer_use_start_response.rb +2 -2
  22. data/lib/daytona_toolbox_api_client/models/computer_use_status_response.rb +2 -2
  23. data/lib/daytona_toolbox_api_client/models/computer_use_stop_response.rb +2 -2
  24. data/lib/daytona_toolbox_api_client/models/create_context_request.rb +2 -2
  25. data/lib/daytona_toolbox_api_client/models/create_session_request.rb +2 -2
  26. data/lib/daytona_toolbox_api_client/models/display_info.rb +2 -2
  27. data/lib/daytona_toolbox_api_client/models/display_info_response.rb +2 -2
  28. data/lib/daytona_toolbox_api_client/models/execute_request.rb +2 -2
  29. data/lib/daytona_toolbox_api_client/models/execute_response.rb +2 -2
  30. data/lib/daytona_toolbox_api_client/models/file_info.rb +2 -2
  31. data/lib/daytona_toolbox_api_client/models/file_status.rb +2 -2
  32. data/lib/daytona_toolbox_api_client/models/files_download_request.rb +2 -2
  33. data/lib/daytona_toolbox_api_client/models/git_add_request.rb +2 -2
  34. data/lib/daytona_toolbox_api_client/models/git_branch_request.rb +2 -2
  35. data/lib/daytona_toolbox_api_client/models/git_checkout_request.rb +2 -2
  36. data/lib/daytona_toolbox_api_client/models/git_clone_request.rb +2 -2
  37. data/lib/daytona_toolbox_api_client/models/git_commit_info.rb +2 -2
  38. data/lib/daytona_toolbox_api_client/models/git_commit_request.rb +2 -2
  39. data/lib/daytona_toolbox_api_client/models/git_commit_response.rb +2 -2
  40. data/lib/daytona_toolbox_api_client/models/git_git_delete_branch_request.rb +2 -2
  41. data/lib/daytona_toolbox_api_client/models/git_repo_request.rb +2 -2
  42. data/lib/daytona_toolbox_api_client/models/git_status.rb +2 -2
  43. data/lib/daytona_toolbox_api_client/models/interpreter_context.rb +2 -2
  44. data/lib/daytona_toolbox_api_client/models/is_port_in_use_response.rb +2 -2
  45. data/lib/daytona_toolbox_api_client/models/keyboard_hotkey_request.rb +2 -2
  46. data/lib/daytona_toolbox_api_client/models/keyboard_press_request.rb +2 -2
  47. data/lib/daytona_toolbox_api_client/models/keyboard_type_request.rb +2 -2
  48. data/lib/daytona_toolbox_api_client/models/list_branch_response.rb +2 -2
  49. data/lib/daytona_toolbox_api_client/models/list_contexts_response.rb +2 -2
  50. data/lib/daytona_toolbox_api_client/models/lsp_completion_params.rb +2 -2
  51. data/lib/daytona_toolbox_api_client/models/lsp_document_request.rb +2 -2
  52. data/lib/daytona_toolbox_api_client/models/lsp_location.rb +2 -2
  53. data/lib/daytona_toolbox_api_client/models/lsp_position.rb +2 -2
  54. data/lib/daytona_toolbox_api_client/models/lsp_range.rb +2 -2
  55. data/lib/daytona_toolbox_api_client/models/lsp_server_request.rb +2 -2
  56. data/lib/daytona_toolbox_api_client/models/lsp_symbol.rb +2 -2
  57. data/lib/daytona_toolbox_api_client/models/match.rb +2 -2
  58. data/lib/daytona_toolbox_api_client/models/mouse_click_request.rb +2 -2
  59. data/lib/daytona_toolbox_api_client/models/mouse_click_response.rb +2 -2
  60. data/lib/daytona_toolbox_api_client/models/mouse_drag_request.rb +2 -2
  61. data/lib/daytona_toolbox_api_client/models/mouse_drag_response.rb +2 -2
  62. data/lib/daytona_toolbox_api_client/models/mouse_move_request.rb +2 -2
  63. data/lib/daytona_toolbox_api_client/models/mouse_position_response.rb +2 -2
  64. data/lib/daytona_toolbox_api_client/models/mouse_scroll_request.rb +2 -2
  65. data/lib/daytona_toolbox_api_client/models/port_list.rb +2 -2
  66. data/lib/daytona_toolbox_api_client/models/position.rb +2 -2
  67. data/lib/daytona_toolbox_api_client/models/process_errors_response.rb +2 -2
  68. data/lib/daytona_toolbox_api_client/models/process_logs_response.rb +2 -2
  69. data/lib/daytona_toolbox_api_client/models/process_restart_response.rb +2 -2
  70. data/lib/daytona_toolbox_api_client/models/process_status.rb +2 -2
  71. data/lib/daytona_toolbox_api_client/models/process_status_response.rb +2 -2
  72. data/lib/daytona_toolbox_api_client/models/pty_create_request.rb +2 -2
  73. data/lib/daytona_toolbox_api_client/models/pty_create_response.rb +19 -2
  74. data/lib/daytona_toolbox_api_client/models/pty_list_response.rb +19 -2
  75. data/lib/daytona_toolbox_api_client/models/pty_resize_request.rb +2 -2
  76. data/lib/daytona_toolbox_api_client/models/pty_session_info.rb +138 -2
  77. data/lib/daytona_toolbox_api_client/models/replace_request.rb +2 -2
  78. data/lib/daytona_toolbox_api_client/models/replace_result.rb +2 -2
  79. data/lib/daytona_toolbox_api_client/models/screenshot_response.rb +2 -2
  80. data/lib/daytona_toolbox_api_client/models/scroll_response.rb +2 -2
  81. data/lib/daytona_toolbox_api_client/models/search_files_response.rb +2 -2
  82. data/lib/daytona_toolbox_api_client/models/session.rb +2 -2
  83. data/lib/daytona_toolbox_api_client/models/session_execute_request.rb +2 -2
  84. data/lib/daytona_toolbox_api_client/models/session_execute_response.rb +19 -2
  85. data/lib/daytona_toolbox_api_client/models/status.rb +2 -2
  86. data/lib/daytona_toolbox_api_client/models/user_home_dir_response.rb +19 -2
  87. data/lib/daytona_toolbox_api_client/models/window_info.rb +2 -2
  88. data/lib/daytona_toolbox_api_client/models/windows_response.rb +2 -2
  89. data/lib/daytona_toolbox_api_client/models/work_dir_response.rb +19 -2
  90. data/lib/daytona_toolbox_api_client/version.rb +3 -3
  91. data/lib/daytona_toolbox_api_client.rb +2 -2
  92. data/project.json +10 -4
  93. metadata +2 -4
  94. data/Gemfile +0 -9
  95. data/Gemfile.lock +0 -101
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -65,6 +65,8 @@ module DaytonaToolboxApiClient
65
65
 
66
66
  if attributes.key?(:'session_id')
67
67
  self.session_id = attributes[:'session_id']
68
+ else
69
+ self.session_id = nil
68
70
  end
69
71
  end
70
72
 
@@ -73,6 +75,10 @@ module DaytonaToolboxApiClient
73
75
  def list_invalid_properties
74
76
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
75
77
  invalid_properties = Array.new
78
+ if @session_id.nil?
79
+ invalid_properties.push('invalid value for "session_id", session_id cannot be nil.')
80
+ end
81
+
76
82
  invalid_properties
77
83
  end
78
84
 
@@ -80,9 +86,20 @@ module DaytonaToolboxApiClient
80
86
  # @return true if the model is valid
81
87
  def valid?
82
88
  warn '[DEPRECATED] the `valid?` method is obsolete'
89
+ return false if @session_id.nil?
83
90
  true
84
91
  end
85
92
 
93
+ # Custom attribute writer method with validation
94
+ # @param [Object] session_id Value to be assigned
95
+ def session_id=(session_id)
96
+ if session_id.nil?
97
+ fail ArgumentError, 'session_id cannot be nil'
98
+ end
99
+
100
+ @session_id = session_id
101
+ end
102
+
86
103
  # Checks equality by comparing each attribute.
87
104
  # @param [Object] Object to be compared
88
105
  def ==(o)
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -67,6 +67,8 @@ module DaytonaToolboxApiClient
67
67
  if (value = attributes[:'sessions']).is_a?(Array)
68
68
  self.sessions = value
69
69
  end
70
+ else
71
+ self.sessions = nil
70
72
  end
71
73
  end
72
74
 
@@ -75,6 +77,10 @@ module DaytonaToolboxApiClient
75
77
  def list_invalid_properties
76
78
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
77
79
  invalid_properties = Array.new
80
+ if @sessions.nil?
81
+ invalid_properties.push('invalid value for "sessions", sessions cannot be nil.')
82
+ end
83
+
78
84
  invalid_properties
79
85
  end
80
86
 
@@ -82,9 +88,20 @@ module DaytonaToolboxApiClient
82
88
  # @return true if the model is valid
83
89
  def valid?
84
90
  warn '[DEPRECATED] the `valid?` method is obsolete'
91
+ return false if @sessions.nil?
85
92
  true
86
93
  end
87
94
 
95
+ # Custom attribute writer method with validation
96
+ # @param [Object] sessions Value to be assigned
97
+ def sessions=(sessions)
98
+ if sessions.nil?
99
+ fail ArgumentError, 'sessions cannot be nil'
100
+ end
101
+
102
+ @sessions = sessions
103
+ end
104
+
88
105
  # Checks equality by comparing each attribute.
89
106
  # @param [Object] Object to be compared
90
107
  def ==(o)
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -94,36 +94,52 @@ module DaytonaToolboxApiClient
94
94
 
95
95
  if attributes.key?(:'active')
96
96
  self.active = attributes[:'active']
97
+ else
98
+ self.active = nil
97
99
  end
98
100
 
99
101
  if attributes.key?(:'cols')
100
102
  self.cols = attributes[:'cols']
103
+ else
104
+ self.cols = nil
101
105
  end
102
106
 
103
107
  if attributes.key?(:'created_at')
104
108
  self.created_at = attributes[:'created_at']
109
+ else
110
+ self.created_at = nil
105
111
  end
106
112
 
107
113
  if attributes.key?(:'cwd')
108
114
  self.cwd = attributes[:'cwd']
115
+ else
116
+ self.cwd = nil
109
117
  end
110
118
 
111
119
  if attributes.key?(:'envs')
112
120
  if (value = attributes[:'envs']).is_a?(Hash)
113
121
  self.envs = value
114
122
  end
123
+ else
124
+ self.envs = nil
115
125
  end
116
126
 
117
127
  if attributes.key?(:'id')
118
128
  self.id = attributes[:'id']
129
+ else
130
+ self.id = nil
119
131
  end
120
132
 
121
133
  if attributes.key?(:'lazy_start')
122
134
  self.lazy_start = attributes[:'lazy_start']
135
+ else
136
+ self.lazy_start = nil
123
137
  end
124
138
 
125
139
  if attributes.key?(:'rows')
126
140
  self.rows = attributes[:'rows']
141
+ else
142
+ self.rows = nil
127
143
  end
128
144
  end
129
145
 
@@ -132,6 +148,38 @@ module DaytonaToolboxApiClient
132
148
  def list_invalid_properties
133
149
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
134
150
  invalid_properties = Array.new
151
+ if @active.nil?
152
+ invalid_properties.push('invalid value for "active", active cannot be nil.')
153
+ end
154
+
155
+ if @cols.nil?
156
+ invalid_properties.push('invalid value for "cols", cols cannot be nil.')
157
+ end
158
+
159
+ if @created_at.nil?
160
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
161
+ end
162
+
163
+ if @cwd.nil?
164
+ invalid_properties.push('invalid value for "cwd", cwd cannot be nil.')
165
+ end
166
+
167
+ if @envs.nil?
168
+ invalid_properties.push('invalid value for "envs", envs cannot be nil.')
169
+ end
170
+
171
+ if @id.nil?
172
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
173
+ end
174
+
175
+ if @lazy_start.nil?
176
+ invalid_properties.push('invalid value for "lazy_start", lazy_start cannot be nil.')
177
+ end
178
+
179
+ if @rows.nil?
180
+ invalid_properties.push('invalid value for "rows", rows cannot be nil.')
181
+ end
182
+
135
183
  invalid_properties
136
184
  end
137
185
 
@@ -139,9 +187,97 @@ module DaytonaToolboxApiClient
139
187
  # @return true if the model is valid
140
188
  def valid?
141
189
  warn '[DEPRECATED] the `valid?` method is obsolete'
190
+ return false if @active.nil?
191
+ return false if @cols.nil?
192
+ return false if @created_at.nil?
193
+ return false if @cwd.nil?
194
+ return false if @envs.nil?
195
+ return false if @id.nil?
196
+ return false if @lazy_start.nil?
197
+ return false if @rows.nil?
142
198
  true
143
199
  end
144
200
 
201
+ # Custom attribute writer method with validation
202
+ # @param [Object] active Value to be assigned
203
+ def active=(active)
204
+ if active.nil?
205
+ fail ArgumentError, 'active cannot be nil'
206
+ end
207
+
208
+ @active = active
209
+ end
210
+
211
+ # Custom attribute writer method with validation
212
+ # @param [Object] cols Value to be assigned
213
+ def cols=(cols)
214
+ if cols.nil?
215
+ fail ArgumentError, 'cols cannot be nil'
216
+ end
217
+
218
+ @cols = cols
219
+ end
220
+
221
+ # Custom attribute writer method with validation
222
+ # @param [Object] created_at Value to be assigned
223
+ def created_at=(created_at)
224
+ if created_at.nil?
225
+ fail ArgumentError, 'created_at cannot be nil'
226
+ end
227
+
228
+ @created_at = created_at
229
+ end
230
+
231
+ # Custom attribute writer method with validation
232
+ # @param [Object] cwd Value to be assigned
233
+ def cwd=(cwd)
234
+ if cwd.nil?
235
+ fail ArgumentError, 'cwd cannot be nil'
236
+ end
237
+
238
+ @cwd = cwd
239
+ end
240
+
241
+ # Custom attribute writer method with validation
242
+ # @param [Object] envs Value to be assigned
243
+ def envs=(envs)
244
+ if envs.nil?
245
+ fail ArgumentError, 'envs cannot be nil'
246
+ end
247
+
248
+ @envs = envs
249
+ end
250
+
251
+ # Custom attribute writer method with validation
252
+ # @param [Object] id Value to be assigned
253
+ def id=(id)
254
+ if id.nil?
255
+ fail ArgumentError, 'id cannot be nil'
256
+ end
257
+
258
+ @id = id
259
+ end
260
+
261
+ # Custom attribute writer method with validation
262
+ # @param [Object] lazy_start Value to be assigned
263
+ def lazy_start=(lazy_start)
264
+ if lazy_start.nil?
265
+ fail ArgumentError, 'lazy_start cannot be nil'
266
+ end
267
+
268
+ @lazy_start = lazy_start
269
+ end
270
+
271
+ # Custom attribute writer method with validation
272
+ # @param [Object] rows Value to be assigned
273
+ def rows=(rows)
274
+ if rows.nil?
275
+ fail ArgumentError, 'rows cannot be nil'
276
+ end
277
+
278
+ @rows = rows
279
+ end
280
+
145
281
  # Checks equality by comparing each attribute.
146
282
  # @param [Object] Object to be compared
147
283
  def ==(o)
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -81,6 +81,8 @@ module DaytonaToolboxApiClient
81
81
 
82
82
  if attributes.key?(:'cmd_id')
83
83
  self.cmd_id = attributes[:'cmd_id']
84
+ else
85
+ self.cmd_id = nil
84
86
  end
85
87
 
86
88
  if attributes.key?(:'exit_code')
@@ -105,6 +107,10 @@ module DaytonaToolboxApiClient
105
107
  def list_invalid_properties
106
108
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
107
109
  invalid_properties = Array.new
110
+ if @cmd_id.nil?
111
+ invalid_properties.push('invalid value for "cmd_id", cmd_id cannot be nil.')
112
+ end
113
+
108
114
  invalid_properties
109
115
  end
110
116
 
@@ -112,9 +118,20 @@ module DaytonaToolboxApiClient
112
118
  # @return true if the model is valid
113
119
  def valid?
114
120
  warn '[DEPRECATED] the `valid?` method is obsolete'
121
+ return false if @cmd_id.nil?
115
122
  true
116
123
  end
117
124
 
125
+ # Custom attribute writer method with validation
126
+ # @param [Object] cmd_id Value to be assigned
127
+ def cmd_id=(cmd_id)
128
+ if cmd_id.nil?
129
+ fail ArgumentError, 'cmd_id cannot be nil'
130
+ end
131
+
132
+ @cmd_id = cmd_id
133
+ end
134
+
118
135
  # Checks equality by comparing each attribute.
119
136
  # @param [Object] Object to be compared
120
137
  def ==(o)
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -65,6 +65,8 @@ module DaytonaToolboxApiClient
65
65
 
66
66
  if attributes.key?(:'dir')
67
67
  self.dir = attributes[:'dir']
68
+ else
69
+ self.dir = nil
68
70
  end
69
71
  end
70
72
 
@@ -73,6 +75,10 @@ module DaytonaToolboxApiClient
73
75
  def list_invalid_properties
74
76
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
75
77
  invalid_properties = Array.new
78
+ if @dir.nil?
79
+ invalid_properties.push('invalid value for "dir", dir cannot be nil.')
80
+ end
81
+
76
82
  invalid_properties
77
83
  end
78
84
 
@@ -80,9 +86,20 @@ module DaytonaToolboxApiClient
80
86
  # @return true if the model is valid
81
87
  def valid?
82
88
  warn '[DEPRECATED] the `valid?` method is obsolete'
89
+ return false if @dir.nil?
83
90
  true
84
91
  end
85
92
 
93
+ # Custom attribute writer method with validation
94
+ # @param [Object] dir Value to be assigned
95
+ def dir=(dir)
96
+ if dir.nil?
97
+ fail ArgumentError, 'dir cannot be nil'
98
+ end
99
+
100
+ @dir = dir
101
+ end
102
+
86
103
  # Checks equality by comparing each attribute.
87
104
  # @param [Object] Object to be compared
88
105
  def ==(o)
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Daytona Daemon API
2
+ #Daytona Toolbox API
3
3
 
4
- #Daytona Daemon API
4
+ #Daytona Toolbox API
5
5
 
6
6
  The version of the OpenAPI document: v0.0.0-dev
7
7