anyscale 0.26.10__py3-none-any.whl → 0.26.12__py3-none-any.whl

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 (31) hide show
  1. anyscale/client/README.md +1 -21
  2. anyscale/client/openapi_client/__init__.py +0 -19
  3. anyscale/client/openapi_client/api/default_api.py +114 -206
  4. anyscale/client/openapi_client/models/__init__.py +0 -19
  5. anyscale/version.py +1 -1
  6. {anyscale-0.26.10.dist-info → anyscale-0.26.12.dist-info}/METADATA +1 -1
  7. {anyscale-0.26.10.dist-info → anyscale-0.26.12.dist-info}/RECORD +12 -31
  8. anyscale/client/openapi_client/models/project_collaborators_put_message.py +0 -121
  9. anyscale/client/openapi_client/models/project_create_message.py +0 -148
  10. anyscale/client/openapi_client/models/project_delete_message.py +0 -121
  11. anyscale/client/openapi_client/models/project_patch_message.py +0 -121
  12. anyscale/client/openapi_client/models/session_autosync_sessions_update_message.py +0 -121
  13. anyscale/client/openapi_client/models/session_create_message.py +0 -148
  14. anyscale/client/openapi_client/models/session_delete_message.py +0 -121
  15. anyscale/client/openapi_client/models/session_execute_message.py +0 -121
  16. anyscale/client/openapi_client/models/session_finish_command_message.py +0 -175
  17. anyscale/client/openapi_client/models/session_kill_command_message.py +0 -121
  18. anyscale/client/openapi_client/models/session_patch_message.py +0 -121
  19. anyscale/client/openapi_client/models/session_state_change_message.py +0 -121
  20. anyscale/client/openapi_client/models/snapshot_create_message.py +0 -148
  21. anyscale/client/openapi_client/models/snapshot_delete_message.py +0 -148
  22. anyscale/client/openapi_client/models/snapshot_patch_message.py +0 -148
  23. anyscale/client/openapi_client/models/socket_message_schemas.py +0 -499
  24. anyscale/client/openapi_client/models/socket_message_types.py +0 -113
  25. anyscale/client/openapi_client/models/socketmessageschemas_response.py +0 -121
  26. anyscale/client/openapi_client/models/socketmessagetypes_response.py +0 -121
  27. {anyscale-0.26.10.dist-info → anyscale-0.26.12.dist-info}/LICENSE +0 -0
  28. {anyscale-0.26.10.dist-info → anyscale-0.26.12.dist-info}/NOTICE +0 -0
  29. {anyscale-0.26.10.dist-info → anyscale-0.26.12.dist-info}/WHEEL +0 -0
  30. {anyscale-0.26.10.dist-info → anyscale-0.26.12.dist-info}/entry_points.txt +0 -0
  31. {anyscale-0.26.10.dist-info → anyscale-0.26.12.dist-info}/top_level.txt +0 -0
@@ -1,499 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Managed Ray API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: 0.1.0
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from openapi_client.configuration import Configuration
19
-
20
-
21
- class SocketMessageSchemas(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'project_create_message': 'ProjectCreateMessage',
37
- 'project_delete_message': 'ProjectDeleteMessage',
38
- 'project_patch_message': 'ProjectPatchMessage',
39
- 'session_autosync_sessions_update_message': 'SessionAutosyncSessionsUpdateMessage',
40
- 'session_create_message': 'SessionCreateMessage',
41
- 'session_patch_message': 'SessionPatchMessage',
42
- 'session_delete_message': 'SessionDeleteMessage',
43
- 'session_execute_message': 'SessionExecuteMessage',
44
- 'session_state_change_message': 'SessionStateChangeMessage',
45
- 'session_kill_command_message': 'SessionKillCommandMessage',
46
- 'session_finish_command_message': 'SessionFinishCommandMessage',
47
- 'snapshot_create_message': 'SnapshotCreateMessage',
48
- 'snapshot_delete_message': 'SnapshotDeleteMessage',
49
- 'snapshot_patch_message': 'SnapshotPatchMessage',
50
- 'project_collaborators_put_message': 'ProjectCollaboratorsPutMessage'
51
- }
52
-
53
- attribute_map = {
54
- 'project_create_message': 'ProjectCreateMessage',
55
- 'project_delete_message': 'ProjectDeleteMessage',
56
- 'project_patch_message': 'ProjectPatchMessage',
57
- 'session_autosync_sessions_update_message': 'SessionAutosyncSessionsUpdateMessage',
58
- 'session_create_message': 'SessionCreateMessage',
59
- 'session_patch_message': 'SessionPatchMessage',
60
- 'session_delete_message': 'SessionDeleteMessage',
61
- 'session_execute_message': 'SessionExecuteMessage',
62
- 'session_state_change_message': 'SessionStateChangeMessage',
63
- 'session_kill_command_message': 'SessionKillCommandMessage',
64
- 'session_finish_command_message': 'SessionFinishCommandMessage',
65
- 'snapshot_create_message': 'SnapshotCreateMessage',
66
- 'snapshot_delete_message': 'SnapshotDeleteMessage',
67
- 'snapshot_patch_message': 'SnapshotPatchMessage',
68
- 'project_collaborators_put_message': 'ProjectCollaboratorsPutMessage'
69
- }
70
-
71
- def __init__(self, project_create_message=None, project_delete_message=None, project_patch_message=None, session_autosync_sessions_update_message=None, session_create_message=None, session_patch_message=None, session_delete_message=None, session_execute_message=None, session_state_change_message=None, session_kill_command_message=None, session_finish_command_message=None, snapshot_create_message=None, snapshot_delete_message=None, snapshot_patch_message=None, project_collaborators_put_message=None, local_vars_configuration=None): # noqa: E501
72
- """SocketMessageSchemas - a model defined in OpenAPI""" # noqa: E501
73
- if local_vars_configuration is None:
74
- local_vars_configuration = Configuration()
75
- self.local_vars_configuration = local_vars_configuration
76
-
77
- self._project_create_message = None
78
- self._project_delete_message = None
79
- self._project_patch_message = None
80
- self._session_autosync_sessions_update_message = None
81
- self._session_create_message = None
82
- self._session_patch_message = None
83
- self._session_delete_message = None
84
- self._session_execute_message = None
85
- self._session_state_change_message = None
86
- self._session_kill_command_message = None
87
- self._session_finish_command_message = None
88
- self._snapshot_create_message = None
89
- self._snapshot_delete_message = None
90
- self._snapshot_patch_message = None
91
- self._project_collaborators_put_message = None
92
- self.discriminator = None
93
-
94
- self.project_create_message = project_create_message
95
- self.project_delete_message = project_delete_message
96
- self.project_patch_message = project_patch_message
97
- self.session_autosync_sessions_update_message = session_autosync_sessions_update_message
98
- self.session_create_message = session_create_message
99
- self.session_patch_message = session_patch_message
100
- self.session_delete_message = session_delete_message
101
- self.session_execute_message = session_execute_message
102
- self.session_state_change_message = session_state_change_message
103
- self.session_kill_command_message = session_kill_command_message
104
- self.session_finish_command_message = session_finish_command_message
105
- self.snapshot_create_message = snapshot_create_message
106
- self.snapshot_delete_message = snapshot_delete_message
107
- self.snapshot_patch_message = snapshot_patch_message
108
- self.project_collaborators_put_message = project_collaborators_put_message
109
-
110
- @property
111
- def project_create_message(self):
112
- """Gets the project_create_message of this SocketMessageSchemas. # noqa: E501
113
-
114
-
115
- :return: The project_create_message of this SocketMessageSchemas. # noqa: E501
116
- :rtype: ProjectCreateMessage
117
- """
118
- return self._project_create_message
119
-
120
- @project_create_message.setter
121
- def project_create_message(self, project_create_message):
122
- """Sets the project_create_message of this SocketMessageSchemas.
123
-
124
-
125
- :param project_create_message: The project_create_message of this SocketMessageSchemas. # noqa: E501
126
- :type: ProjectCreateMessage
127
- """
128
- if self.local_vars_configuration.client_side_validation and project_create_message is None: # noqa: E501
129
- raise ValueError("Invalid value for `project_create_message`, must not be `None`") # noqa: E501
130
-
131
- self._project_create_message = project_create_message
132
-
133
- @property
134
- def project_delete_message(self):
135
- """Gets the project_delete_message of this SocketMessageSchemas. # noqa: E501
136
-
137
-
138
- :return: The project_delete_message of this SocketMessageSchemas. # noqa: E501
139
- :rtype: ProjectDeleteMessage
140
- """
141
- return self._project_delete_message
142
-
143
- @project_delete_message.setter
144
- def project_delete_message(self, project_delete_message):
145
- """Sets the project_delete_message of this SocketMessageSchemas.
146
-
147
-
148
- :param project_delete_message: The project_delete_message of this SocketMessageSchemas. # noqa: E501
149
- :type: ProjectDeleteMessage
150
- """
151
- if self.local_vars_configuration.client_side_validation and project_delete_message is None: # noqa: E501
152
- raise ValueError("Invalid value for `project_delete_message`, must not be `None`") # noqa: E501
153
-
154
- self._project_delete_message = project_delete_message
155
-
156
- @property
157
- def project_patch_message(self):
158
- """Gets the project_patch_message of this SocketMessageSchemas. # noqa: E501
159
-
160
-
161
- :return: The project_patch_message of this SocketMessageSchemas. # noqa: E501
162
- :rtype: ProjectPatchMessage
163
- """
164
- return self._project_patch_message
165
-
166
- @project_patch_message.setter
167
- def project_patch_message(self, project_patch_message):
168
- """Sets the project_patch_message of this SocketMessageSchemas.
169
-
170
-
171
- :param project_patch_message: The project_patch_message of this SocketMessageSchemas. # noqa: E501
172
- :type: ProjectPatchMessage
173
- """
174
- if self.local_vars_configuration.client_side_validation and project_patch_message is None: # noqa: E501
175
- raise ValueError("Invalid value for `project_patch_message`, must not be `None`") # noqa: E501
176
-
177
- self._project_patch_message = project_patch_message
178
-
179
- @property
180
- def session_autosync_sessions_update_message(self):
181
- """Gets the session_autosync_sessions_update_message of this SocketMessageSchemas. # noqa: E501
182
-
183
-
184
- :return: The session_autosync_sessions_update_message of this SocketMessageSchemas. # noqa: E501
185
- :rtype: SessionAutosyncSessionsUpdateMessage
186
- """
187
- return self._session_autosync_sessions_update_message
188
-
189
- @session_autosync_sessions_update_message.setter
190
- def session_autosync_sessions_update_message(self, session_autosync_sessions_update_message):
191
- """Sets the session_autosync_sessions_update_message of this SocketMessageSchemas.
192
-
193
-
194
- :param session_autosync_sessions_update_message: The session_autosync_sessions_update_message of this SocketMessageSchemas. # noqa: E501
195
- :type: SessionAutosyncSessionsUpdateMessage
196
- """
197
- if self.local_vars_configuration.client_side_validation and session_autosync_sessions_update_message is None: # noqa: E501
198
- raise ValueError("Invalid value for `session_autosync_sessions_update_message`, must not be `None`") # noqa: E501
199
-
200
- self._session_autosync_sessions_update_message = session_autosync_sessions_update_message
201
-
202
- @property
203
- def session_create_message(self):
204
- """Gets the session_create_message of this SocketMessageSchemas. # noqa: E501
205
-
206
-
207
- :return: The session_create_message of this SocketMessageSchemas. # noqa: E501
208
- :rtype: SessionCreateMessage
209
- """
210
- return self._session_create_message
211
-
212
- @session_create_message.setter
213
- def session_create_message(self, session_create_message):
214
- """Sets the session_create_message of this SocketMessageSchemas.
215
-
216
-
217
- :param session_create_message: The session_create_message of this SocketMessageSchemas. # noqa: E501
218
- :type: SessionCreateMessage
219
- """
220
- if self.local_vars_configuration.client_side_validation and session_create_message is None: # noqa: E501
221
- raise ValueError("Invalid value for `session_create_message`, must not be `None`") # noqa: E501
222
-
223
- self._session_create_message = session_create_message
224
-
225
- @property
226
- def session_patch_message(self):
227
- """Gets the session_patch_message of this SocketMessageSchemas. # noqa: E501
228
-
229
-
230
- :return: The session_patch_message of this SocketMessageSchemas. # noqa: E501
231
- :rtype: SessionPatchMessage
232
- """
233
- return self._session_patch_message
234
-
235
- @session_patch_message.setter
236
- def session_patch_message(self, session_patch_message):
237
- """Sets the session_patch_message of this SocketMessageSchemas.
238
-
239
-
240
- :param session_patch_message: The session_patch_message of this SocketMessageSchemas. # noqa: E501
241
- :type: SessionPatchMessage
242
- """
243
- if self.local_vars_configuration.client_side_validation and session_patch_message is None: # noqa: E501
244
- raise ValueError("Invalid value for `session_patch_message`, must not be `None`") # noqa: E501
245
-
246
- self._session_patch_message = session_patch_message
247
-
248
- @property
249
- def session_delete_message(self):
250
- """Gets the session_delete_message of this SocketMessageSchemas. # noqa: E501
251
-
252
-
253
- :return: The session_delete_message of this SocketMessageSchemas. # noqa: E501
254
- :rtype: SessionDeleteMessage
255
- """
256
- return self._session_delete_message
257
-
258
- @session_delete_message.setter
259
- def session_delete_message(self, session_delete_message):
260
- """Sets the session_delete_message of this SocketMessageSchemas.
261
-
262
-
263
- :param session_delete_message: The session_delete_message of this SocketMessageSchemas. # noqa: E501
264
- :type: SessionDeleteMessage
265
- """
266
- if self.local_vars_configuration.client_side_validation and session_delete_message is None: # noqa: E501
267
- raise ValueError("Invalid value for `session_delete_message`, must not be `None`") # noqa: E501
268
-
269
- self._session_delete_message = session_delete_message
270
-
271
- @property
272
- def session_execute_message(self):
273
- """Gets the session_execute_message of this SocketMessageSchemas. # noqa: E501
274
-
275
-
276
- :return: The session_execute_message of this SocketMessageSchemas. # noqa: E501
277
- :rtype: SessionExecuteMessage
278
- """
279
- return self._session_execute_message
280
-
281
- @session_execute_message.setter
282
- def session_execute_message(self, session_execute_message):
283
- """Sets the session_execute_message of this SocketMessageSchemas.
284
-
285
-
286
- :param session_execute_message: The session_execute_message of this SocketMessageSchemas. # noqa: E501
287
- :type: SessionExecuteMessage
288
- """
289
- if self.local_vars_configuration.client_side_validation and session_execute_message is None: # noqa: E501
290
- raise ValueError("Invalid value for `session_execute_message`, must not be `None`") # noqa: E501
291
-
292
- self._session_execute_message = session_execute_message
293
-
294
- @property
295
- def session_state_change_message(self):
296
- """Gets the session_state_change_message of this SocketMessageSchemas. # noqa: E501
297
-
298
-
299
- :return: The session_state_change_message of this SocketMessageSchemas. # noqa: E501
300
- :rtype: SessionStateChangeMessage
301
- """
302
- return self._session_state_change_message
303
-
304
- @session_state_change_message.setter
305
- def session_state_change_message(self, session_state_change_message):
306
- """Sets the session_state_change_message of this SocketMessageSchemas.
307
-
308
-
309
- :param session_state_change_message: The session_state_change_message of this SocketMessageSchemas. # noqa: E501
310
- :type: SessionStateChangeMessage
311
- """
312
- if self.local_vars_configuration.client_side_validation and session_state_change_message is None: # noqa: E501
313
- raise ValueError("Invalid value for `session_state_change_message`, must not be `None`") # noqa: E501
314
-
315
- self._session_state_change_message = session_state_change_message
316
-
317
- @property
318
- def session_kill_command_message(self):
319
- """Gets the session_kill_command_message of this SocketMessageSchemas. # noqa: E501
320
-
321
-
322
- :return: The session_kill_command_message of this SocketMessageSchemas. # noqa: E501
323
- :rtype: SessionKillCommandMessage
324
- """
325
- return self._session_kill_command_message
326
-
327
- @session_kill_command_message.setter
328
- def session_kill_command_message(self, session_kill_command_message):
329
- """Sets the session_kill_command_message of this SocketMessageSchemas.
330
-
331
-
332
- :param session_kill_command_message: The session_kill_command_message of this SocketMessageSchemas. # noqa: E501
333
- :type: SessionKillCommandMessage
334
- """
335
- if self.local_vars_configuration.client_side_validation and session_kill_command_message is None: # noqa: E501
336
- raise ValueError("Invalid value for `session_kill_command_message`, must not be `None`") # noqa: E501
337
-
338
- self._session_kill_command_message = session_kill_command_message
339
-
340
- @property
341
- def session_finish_command_message(self):
342
- """Gets the session_finish_command_message of this SocketMessageSchemas. # noqa: E501
343
-
344
-
345
- :return: The session_finish_command_message of this SocketMessageSchemas. # noqa: E501
346
- :rtype: SessionFinishCommandMessage
347
- """
348
- return self._session_finish_command_message
349
-
350
- @session_finish_command_message.setter
351
- def session_finish_command_message(self, session_finish_command_message):
352
- """Sets the session_finish_command_message of this SocketMessageSchemas.
353
-
354
-
355
- :param session_finish_command_message: The session_finish_command_message of this SocketMessageSchemas. # noqa: E501
356
- :type: SessionFinishCommandMessage
357
- """
358
- if self.local_vars_configuration.client_side_validation and session_finish_command_message is None: # noqa: E501
359
- raise ValueError("Invalid value for `session_finish_command_message`, must not be `None`") # noqa: E501
360
-
361
- self._session_finish_command_message = session_finish_command_message
362
-
363
- @property
364
- def snapshot_create_message(self):
365
- """Gets the snapshot_create_message of this SocketMessageSchemas. # noqa: E501
366
-
367
-
368
- :return: The snapshot_create_message of this SocketMessageSchemas. # noqa: E501
369
- :rtype: SnapshotCreateMessage
370
- """
371
- return self._snapshot_create_message
372
-
373
- @snapshot_create_message.setter
374
- def snapshot_create_message(self, snapshot_create_message):
375
- """Sets the snapshot_create_message of this SocketMessageSchemas.
376
-
377
-
378
- :param snapshot_create_message: The snapshot_create_message of this SocketMessageSchemas. # noqa: E501
379
- :type: SnapshotCreateMessage
380
- """
381
- if self.local_vars_configuration.client_side_validation and snapshot_create_message is None: # noqa: E501
382
- raise ValueError("Invalid value for `snapshot_create_message`, must not be `None`") # noqa: E501
383
-
384
- self._snapshot_create_message = snapshot_create_message
385
-
386
- @property
387
- def snapshot_delete_message(self):
388
- """Gets the snapshot_delete_message of this SocketMessageSchemas. # noqa: E501
389
-
390
-
391
- :return: The snapshot_delete_message of this SocketMessageSchemas. # noqa: E501
392
- :rtype: SnapshotDeleteMessage
393
- """
394
- return self._snapshot_delete_message
395
-
396
- @snapshot_delete_message.setter
397
- def snapshot_delete_message(self, snapshot_delete_message):
398
- """Sets the snapshot_delete_message of this SocketMessageSchemas.
399
-
400
-
401
- :param snapshot_delete_message: The snapshot_delete_message of this SocketMessageSchemas. # noqa: E501
402
- :type: SnapshotDeleteMessage
403
- """
404
- if self.local_vars_configuration.client_side_validation and snapshot_delete_message is None: # noqa: E501
405
- raise ValueError("Invalid value for `snapshot_delete_message`, must not be `None`") # noqa: E501
406
-
407
- self._snapshot_delete_message = snapshot_delete_message
408
-
409
- @property
410
- def snapshot_patch_message(self):
411
- """Gets the snapshot_patch_message of this SocketMessageSchemas. # noqa: E501
412
-
413
-
414
- :return: The snapshot_patch_message of this SocketMessageSchemas. # noqa: E501
415
- :rtype: SnapshotPatchMessage
416
- """
417
- return self._snapshot_patch_message
418
-
419
- @snapshot_patch_message.setter
420
- def snapshot_patch_message(self, snapshot_patch_message):
421
- """Sets the snapshot_patch_message of this SocketMessageSchemas.
422
-
423
-
424
- :param snapshot_patch_message: The snapshot_patch_message of this SocketMessageSchemas. # noqa: E501
425
- :type: SnapshotPatchMessage
426
- """
427
- if self.local_vars_configuration.client_side_validation and snapshot_patch_message is None: # noqa: E501
428
- raise ValueError("Invalid value for `snapshot_patch_message`, must not be `None`") # noqa: E501
429
-
430
- self._snapshot_patch_message = snapshot_patch_message
431
-
432
- @property
433
- def project_collaborators_put_message(self):
434
- """Gets the project_collaborators_put_message of this SocketMessageSchemas. # noqa: E501
435
-
436
-
437
- :return: The project_collaborators_put_message of this SocketMessageSchemas. # noqa: E501
438
- :rtype: ProjectCollaboratorsPutMessage
439
- """
440
- return self._project_collaborators_put_message
441
-
442
- @project_collaborators_put_message.setter
443
- def project_collaborators_put_message(self, project_collaborators_put_message):
444
- """Sets the project_collaborators_put_message of this SocketMessageSchemas.
445
-
446
-
447
- :param project_collaborators_put_message: The project_collaborators_put_message of this SocketMessageSchemas. # noqa: E501
448
- :type: ProjectCollaboratorsPutMessage
449
- """
450
- if self.local_vars_configuration.client_side_validation and project_collaborators_put_message is None: # noqa: E501
451
- raise ValueError("Invalid value for `project_collaborators_put_message`, must not be `None`") # noqa: E501
452
-
453
- self._project_collaborators_put_message = project_collaborators_put_message
454
-
455
- def to_dict(self):
456
- """Returns the model properties as a dict"""
457
- result = {}
458
-
459
- for attr, _ in six.iteritems(self.openapi_types):
460
- value = getattr(self, attr)
461
- if isinstance(value, list):
462
- result[attr] = list(map(
463
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
464
- value
465
- ))
466
- elif hasattr(value, "to_dict"):
467
- result[attr] = value.to_dict()
468
- elif isinstance(value, dict):
469
- result[attr] = dict(map(
470
- lambda item: (item[0], item[1].to_dict())
471
- if hasattr(item[1], "to_dict") else item,
472
- value.items()
473
- ))
474
- else:
475
- result[attr] = value
476
-
477
- return result
478
-
479
- def to_str(self):
480
- """Returns the string representation of the model"""
481
- return pprint.pformat(self.to_dict())
482
-
483
- def __repr__(self):
484
- """For `print` and `pprint`"""
485
- return self.to_str()
486
-
487
- def __eq__(self, other):
488
- """Returns true if both objects are equal"""
489
- if not isinstance(other, SocketMessageSchemas):
490
- return False
491
-
492
- return self.to_dict() == other.to_dict()
493
-
494
- def __ne__(self, other):
495
- """Returns true if both objects are not equal"""
496
- if not isinstance(other, SocketMessageSchemas):
497
- return True
498
-
499
- return self.to_dict() != other.to_dict()
@@ -1,113 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Managed Ray API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: 0.1.0
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from openapi_client.configuration import Configuration
19
-
20
-
21
- class SocketMessageTypes(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- allowed enum values
30
- """
31
- PROJECTCREATEMESSAGE = "ProjectCreateMessage"
32
- PROJECTDELETEMESSAGE = "ProjectDeleteMessage"
33
- PROJECTPATCHMESSAGE = "ProjectPatchMessage"
34
- SESSIONAUTOSYNCSESSIONSUPDATEMESSAGE = "SessionAutosyncSessionsUpdateMessage"
35
- SESSIONCREATEMESSAGE = "SessionCreateMessage"
36
- SESSIONPATCHMESSAGE = "SessionPatchMessage"
37
- SESSIONDELETEMESSAGE = "SessionDeleteMessage"
38
- SESSIONEXECUTEMESSAGE = "SessionExecuteMessage"
39
- SESSIONSTATECHANGEMESSAGE = "SessionStateChangeMessage"
40
- SESSIONKILLCOMMANDMESSAGE = "SessionKillCommandMessage"
41
- SESSIONFINISHCOMMANDMESSAGE = "SessionFinishCommandMessage"
42
- SNAPSHOTCREATEMESSAGE = "SnapshotCreateMessage"
43
- SNAPSHOTDELETEMESSAGE = "SnapshotDeleteMessage"
44
- SNAPSHOTPATCHMESSAGE = "SnapshotPatchMessage"
45
- PROJECTCOLLABORATORSPUTMESSAGE = "ProjectCollaboratorsPutMessage"
46
-
47
- allowable_values = [PROJECTCREATEMESSAGE, PROJECTDELETEMESSAGE, PROJECTPATCHMESSAGE, SESSIONAUTOSYNCSESSIONSUPDATEMESSAGE, SESSIONCREATEMESSAGE, SESSIONPATCHMESSAGE, SESSIONDELETEMESSAGE, SESSIONEXECUTEMESSAGE, SESSIONSTATECHANGEMESSAGE, SESSIONKILLCOMMANDMESSAGE, SESSIONFINISHCOMMANDMESSAGE, SNAPSHOTCREATEMESSAGE, SNAPSHOTDELETEMESSAGE, SNAPSHOTPATCHMESSAGE, PROJECTCOLLABORATORSPUTMESSAGE] # noqa: E501
48
-
49
- """
50
- Attributes:
51
- openapi_types (dict): The key is attribute name
52
- and the value is attribute type.
53
- attribute_map (dict): The key is attribute name
54
- and the value is json key in definition.
55
- """
56
- openapi_types = {
57
- }
58
-
59
- attribute_map = {
60
- }
61
-
62
- def __init__(self, local_vars_configuration=None): # noqa: E501
63
- """SocketMessageTypes - a model defined in OpenAPI""" # noqa: E501
64
- if local_vars_configuration is None:
65
- local_vars_configuration = Configuration()
66
- self.local_vars_configuration = local_vars_configuration
67
- self.discriminator = None
68
-
69
- def to_dict(self):
70
- """Returns the model properties as a dict"""
71
- result = {}
72
-
73
- for attr, _ in six.iteritems(self.openapi_types):
74
- value = getattr(self, attr)
75
- if isinstance(value, list):
76
- result[attr] = list(map(
77
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
78
- value
79
- ))
80
- elif hasattr(value, "to_dict"):
81
- result[attr] = value.to_dict()
82
- elif isinstance(value, dict):
83
- result[attr] = dict(map(
84
- lambda item: (item[0], item[1].to_dict())
85
- if hasattr(item[1], "to_dict") else item,
86
- value.items()
87
- ))
88
- else:
89
- result[attr] = value
90
-
91
- return result
92
-
93
- def to_str(self):
94
- """Returns the string representation of the model"""
95
- return pprint.pformat(self.to_dict())
96
-
97
- def __repr__(self):
98
- """For `print` and `pprint`"""
99
- return self.to_str()
100
-
101
- def __eq__(self, other):
102
- """Returns true if both objects are equal"""
103
- if not isinstance(other, SocketMessageTypes):
104
- return False
105
-
106
- return self.to_dict() == other.to_dict()
107
-
108
- def __ne__(self, other):
109
- """Returns true if both objects are not equal"""
110
- if not isinstance(other, SocketMessageTypes):
111
- return True
112
-
113
- return self.to_dict() != other.to_dict()