anyscale 0.26.70__py3-none-any.whl → 0.26.72__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 (78) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +63 -6
  2. anyscale/_private/anyscale_client/common.py +33 -3
  3. anyscale/_private/anyscale_client/fake_anyscale_client.py +27 -2
  4. anyscale/client/README.md +29 -0
  5. anyscale/client/openapi_client/__init__.py +19 -0
  6. anyscale/client/openapi_client/api/default_api.py +1307 -4
  7. anyscale/client/openapi_client/models/__init__.py +19 -0
  8. anyscale/client/openapi_client/models/apply_multi_version_update_weights_update_model.py +152 -0
  9. anyscale/client/openapi_client/models/apply_version_weight_update_model.py +181 -0
  10. anyscale/client/openapi_client/models/backend_server_api_product_models_catalog_client_models_table_metadata.py +546 -0
  11. anyscale/client/openapi_client/models/backend_server_api_product_models_data_catalogs_table_metadata.py +178 -0
  12. anyscale/client/openapi_client/models/baseimagesenum.py +70 -1
  13. anyscale/client/openapi_client/models/catalog_metadata.py +150 -0
  14. anyscale/client/openapi_client/models/column_info.py +265 -0
  15. anyscale/client/openapi_client/models/compute_node_type.py +29 -1
  16. anyscale/client/openapi_client/models/connection_metadata.py +206 -0
  17. anyscale/client/openapi_client/models/create_workspace_template_version.py +31 -3
  18. anyscale/client/openapi_client/models/data_catalog.py +45 -31
  19. anyscale/client/openapi_client/models/data_catalog_connection.py +74 -58
  20. anyscale/client/openapi_client/models/data_catalog_object_type.py +100 -0
  21. anyscale/client/openapi_client/models/data_catalog_schema.py +324 -0
  22. anyscale/client/openapi_client/models/data_catalog_table.py +437 -0
  23. anyscale/client/openapi_client/models/data_catalog_volume.py +437 -0
  24. anyscale/client/openapi_client/models/datacatalogschema_list_response.py +147 -0
  25. anyscale/client/openapi_client/models/datacatalogtable_list_response.py +147 -0
  26. anyscale/client/openapi_client/models/datacatalogvolume_list_response.py +147 -0
  27. anyscale/client/openapi_client/models/decorated_serve_deployment.py +27 -1
  28. anyscale/client/openapi_client/models/decoratedproductionservicev2_versionapimodel_response.py +121 -0
  29. anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +2 -2
  30. anyscale/client/openapi_client/models/describe_machine_pool_requests_filters.py +33 -5
  31. anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +2 -2
  32. anyscale/client/openapi_client/models/physical_resources.py +178 -0
  33. anyscale/client/openapi_client/models/schema_metadata.py +150 -0
  34. anyscale/client/openapi_client/models/sso_config.py +18 -18
  35. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +70 -1
  36. anyscale/client/openapi_client/models/table_data_preview.py +209 -0
  37. anyscale/client/openapi_client/models/volume_metadata.py +150 -0
  38. anyscale/client/openapi_client/models/worker_node_type.py +29 -1
  39. anyscale/client/openapi_client/models/workspace_template_version.py +29 -1
  40. anyscale/client/openapi_client/models/workspace_template_version_data_object.py +29 -1
  41. anyscale/commands/job_commands.py +120 -0
  42. anyscale/commands/job_queue_commands.py +99 -2
  43. anyscale/commands/service_commands.py +139 -2
  44. anyscale/commands/util.py +104 -1
  45. anyscale/commands/workspace_commands.py +123 -5
  46. anyscale/commands/workspace_commands_v2.py +17 -1
  47. anyscale/compute_config/_private/compute_config_sdk.py +25 -12
  48. anyscale/compute_config/models.py +15 -0
  49. anyscale/controllers/job_controller.py +12 -0
  50. anyscale/controllers/workspace_controller.py +67 -5
  51. anyscale/job/_private/job_sdk.py +3 -1
  52. anyscale/job/models.py +16 -0
  53. anyscale/job_queue/__init__.py +37 -1
  54. anyscale/job_queue/_private/job_queue_sdk.py +28 -1
  55. anyscale/job_queue/commands.py +61 -1
  56. anyscale/sdk/anyscale_client/__init__.py +1 -0
  57. anyscale/sdk/anyscale_client/api/default_api.py +12 -2
  58. anyscale/sdk/anyscale_client/models/__init__.py +1 -0
  59. anyscale/sdk/anyscale_client/models/baseimagesenum.py +70 -1
  60. anyscale/sdk/anyscale_client/models/compute_node_type.py +29 -1
  61. anyscale/sdk/anyscale_client/models/physical_resources.py +178 -0
  62. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +70 -1
  63. anyscale/sdk/anyscale_client/models/worker_node_type.py +29 -1
  64. anyscale/service/__init__.py +40 -0
  65. anyscale/service/_private/service_sdk.py +121 -24
  66. anyscale/service/commands.py +75 -1
  67. anyscale/service/models.py +46 -2
  68. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  69. anyscale/version.py +1 -1
  70. anyscale/workspace/_private/workspace_sdk.py +1 -0
  71. anyscale/workspace/models.py +19 -0
  72. {anyscale-0.26.70.dist-info → anyscale-0.26.72.dist-info}/METADATA +1 -1
  73. {anyscale-0.26.70.dist-info → anyscale-0.26.72.dist-info}/RECORD +78 -58
  74. {anyscale-0.26.70.dist-info → anyscale-0.26.72.dist-info}/WHEEL +0 -0
  75. {anyscale-0.26.70.dist-info → anyscale-0.26.72.dist-info}/entry_points.txt +0 -0
  76. {anyscale-0.26.70.dist-info → anyscale-0.26.72.dist-info}/licenses/LICENSE +0 -0
  77. {anyscale-0.26.70.dist-info → anyscale-0.26.72.dist-info}/licenses/NOTICE +0 -0
  78. {anyscale-0.26.70.dist-info → anyscale-0.26.72.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,546 @@
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 BackendServerApiProductModelsCatalogClientModelsTableMetadata(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
+ 'name': 'str',
37
+ 'catalog_name': 'str',
38
+ 'schema_name': 'str',
39
+ 'table_type': 'str',
40
+ 'data_source_format': 'str',
41
+ 'description': 'str',
42
+ 'owner': 'str',
43
+ 'created_at': 'int',
44
+ 'updated_at': 'int',
45
+ 'full_name': 'str',
46
+ 'columns': 'list[ColumnInfo]',
47
+ 'storage_location': 'str',
48
+ 'properties': 'object',
49
+ 'version': 'str',
50
+ 'row_count': 'int',
51
+ 'size_bytes': 'int'
52
+ }
53
+
54
+ attribute_map = {
55
+ 'name': 'name',
56
+ 'catalog_name': 'catalog_name',
57
+ 'schema_name': 'schema_name',
58
+ 'table_type': 'table_type',
59
+ 'data_source_format': 'data_source_format',
60
+ 'description': 'description',
61
+ 'owner': 'owner',
62
+ 'created_at': 'created_at',
63
+ 'updated_at': 'updated_at',
64
+ 'full_name': 'full_name',
65
+ 'columns': 'columns',
66
+ 'storage_location': 'storage_location',
67
+ 'properties': 'properties',
68
+ 'version': 'version',
69
+ 'row_count': 'row_count',
70
+ 'size_bytes': 'size_bytes'
71
+ }
72
+
73
+ def __init__(self, name=None, catalog_name=None, schema_name=None, table_type=None, data_source_format=None, description=None, owner=None, created_at=0, updated_at=0, full_name=None, columns=None, storage_location=None, properties=None, version=None, row_count=None, size_bytes=None, local_vars_configuration=None): # noqa: E501
74
+ """BackendServerApiProductModelsCatalogClientModelsTableMetadata - a model defined in OpenAPI""" # noqa: E501
75
+ if local_vars_configuration is None:
76
+ local_vars_configuration = Configuration()
77
+ self.local_vars_configuration = local_vars_configuration
78
+
79
+ self._name = None
80
+ self._catalog_name = None
81
+ self._schema_name = None
82
+ self._table_type = None
83
+ self._data_source_format = None
84
+ self._description = None
85
+ self._owner = None
86
+ self._created_at = None
87
+ self._updated_at = None
88
+ self._full_name = None
89
+ self._columns = None
90
+ self._storage_location = None
91
+ self._properties = None
92
+ self._version = None
93
+ self._row_count = None
94
+ self._size_bytes = None
95
+ self.discriminator = None
96
+
97
+ self.name = name
98
+ self.catalog_name = catalog_name
99
+ self.schema_name = schema_name
100
+ self.table_type = table_type
101
+ if data_source_format is not None:
102
+ self.data_source_format = data_source_format
103
+ if description is not None:
104
+ self.description = description
105
+ if owner is not None:
106
+ self.owner = owner
107
+ if created_at is not None:
108
+ self.created_at = created_at
109
+ if updated_at is not None:
110
+ self.updated_at = updated_at
111
+ if full_name is not None:
112
+ self.full_name = full_name
113
+ if columns is not None:
114
+ self.columns = columns
115
+ if storage_location is not None:
116
+ self.storage_location = storage_location
117
+ if properties is not None:
118
+ self.properties = properties
119
+ if version is not None:
120
+ self.version = version
121
+ if row_count is not None:
122
+ self.row_count = row_count
123
+ if size_bytes is not None:
124
+ self.size_bytes = size_bytes
125
+
126
+ @property
127
+ def name(self):
128
+ """Gets the name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
129
+
130
+ Name of the table # noqa: E501
131
+
132
+ :return: The name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
133
+ :rtype: str
134
+ """
135
+ return self._name
136
+
137
+ @name.setter
138
+ def name(self, name):
139
+ """Sets the name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
140
+
141
+ Name of the table # noqa: E501
142
+
143
+ :param name: The name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
144
+ :type: str
145
+ """
146
+ if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
147
+ raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
148
+
149
+ self._name = name
150
+
151
+ @property
152
+ def catalog_name(self):
153
+ """Gets the catalog_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
154
+
155
+ Name of the parent catalog # noqa: E501
156
+
157
+ :return: The catalog_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
158
+ :rtype: str
159
+ """
160
+ return self._catalog_name
161
+
162
+ @catalog_name.setter
163
+ def catalog_name(self, catalog_name):
164
+ """Sets the catalog_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
165
+
166
+ Name of the parent catalog # noqa: E501
167
+
168
+ :param catalog_name: The catalog_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
169
+ :type: str
170
+ """
171
+ if self.local_vars_configuration.client_side_validation and catalog_name is None: # noqa: E501
172
+ raise ValueError("Invalid value for `catalog_name`, must not be `None`") # noqa: E501
173
+
174
+ self._catalog_name = catalog_name
175
+
176
+ @property
177
+ def schema_name(self):
178
+ """Gets the schema_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
179
+
180
+ Name of the parent schema # noqa: E501
181
+
182
+ :return: The schema_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
183
+ :rtype: str
184
+ """
185
+ return self._schema_name
186
+
187
+ @schema_name.setter
188
+ def schema_name(self, schema_name):
189
+ """Sets the schema_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
190
+
191
+ Name of the parent schema # noqa: E501
192
+
193
+ :param schema_name: The schema_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
194
+ :type: str
195
+ """
196
+ if self.local_vars_configuration.client_side_validation and schema_name is None: # noqa: E501
197
+ raise ValueError("Invalid value for `schema_name`, must not be `None`") # noqa: E501
198
+
199
+ self._schema_name = schema_name
200
+
201
+ @property
202
+ def table_type(self):
203
+ """Gets the table_type of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
204
+
205
+ Type of table (e.g., 'MANAGED', 'EXTERNAL', 'VIEW') # noqa: E501
206
+
207
+ :return: The table_type of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
208
+ :rtype: str
209
+ """
210
+ return self._table_type
211
+
212
+ @table_type.setter
213
+ def table_type(self, table_type):
214
+ """Sets the table_type of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
215
+
216
+ Type of table (e.g., 'MANAGED', 'EXTERNAL', 'VIEW') # noqa: E501
217
+
218
+ :param table_type: The table_type of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
219
+ :type: str
220
+ """
221
+ if self.local_vars_configuration.client_side_validation and table_type is None: # noqa: E501
222
+ raise ValueError("Invalid value for `table_type`, must not be `None`") # noqa: E501
223
+
224
+ self._table_type = table_type
225
+
226
+ @property
227
+ def data_source_format(self):
228
+ """Gets the data_source_format of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
229
+
230
+ Data format of the table (e.g., 'DELTA', 'PARQUET') # noqa: E501
231
+
232
+ :return: The data_source_format of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
233
+ :rtype: str
234
+ """
235
+ return self._data_source_format
236
+
237
+ @data_source_format.setter
238
+ def data_source_format(self, data_source_format):
239
+ """Sets the data_source_format of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
240
+
241
+ Data format of the table (e.g., 'DELTA', 'PARQUET') # noqa: E501
242
+
243
+ :param data_source_format: The data_source_format of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
244
+ :type: str
245
+ """
246
+
247
+ self._data_source_format = data_source_format
248
+
249
+ @property
250
+ def description(self):
251
+ """Gets the description of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
252
+
253
+ Description or comment for the table # noqa: E501
254
+
255
+ :return: The description of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
256
+ :rtype: str
257
+ """
258
+ return self._description
259
+
260
+ @description.setter
261
+ def description(self, description):
262
+ """Sets the description of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
263
+
264
+ Description or comment for the table # noqa: E501
265
+
266
+ :param description: The description of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
267
+ :type: str
268
+ """
269
+
270
+ self._description = description
271
+
272
+ @property
273
+ def owner(self):
274
+ """Gets the owner of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
275
+
276
+ Owner of the table # noqa: E501
277
+
278
+ :return: The owner of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
279
+ :rtype: str
280
+ """
281
+ return self._owner
282
+
283
+ @owner.setter
284
+ def owner(self, owner):
285
+ """Sets the owner of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
286
+
287
+ Owner of the table # noqa: E501
288
+
289
+ :param owner: The owner of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
290
+ :type: str
291
+ """
292
+
293
+ self._owner = owner
294
+
295
+ @property
296
+ def created_at(self):
297
+ """Gets the created_at of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
298
+
299
+ Creation timestamp in milliseconds since epoch # noqa: E501
300
+
301
+ :return: The created_at of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
302
+ :rtype: int
303
+ """
304
+ return self._created_at
305
+
306
+ @created_at.setter
307
+ def created_at(self, created_at):
308
+ """Sets the created_at of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
309
+
310
+ Creation timestamp in milliseconds since epoch # noqa: E501
311
+
312
+ :param created_at: The created_at of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
313
+ :type: int
314
+ """
315
+
316
+ self._created_at = created_at
317
+
318
+ @property
319
+ def updated_at(self):
320
+ """Gets the updated_at of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
321
+
322
+ Last update timestamp in milliseconds since epoch # noqa: E501
323
+
324
+ :return: The updated_at of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
325
+ :rtype: int
326
+ """
327
+ return self._updated_at
328
+
329
+ @updated_at.setter
330
+ def updated_at(self, updated_at):
331
+ """Sets the updated_at of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
332
+
333
+ Last update timestamp in milliseconds since epoch # noqa: E501
334
+
335
+ :param updated_at: The updated_at of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
336
+ :type: int
337
+ """
338
+
339
+ self._updated_at = updated_at
340
+
341
+ @property
342
+ def full_name(self):
343
+ """Gets the full_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
344
+
345
+ Fully qualified name of the table # noqa: E501
346
+
347
+ :return: The full_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
348
+ :rtype: str
349
+ """
350
+ return self._full_name
351
+
352
+ @full_name.setter
353
+ def full_name(self, full_name):
354
+ """Sets the full_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
355
+
356
+ Fully qualified name of the table # noqa: E501
357
+
358
+ :param full_name: The full_name of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
359
+ :type: str
360
+ """
361
+
362
+ self._full_name = full_name
363
+
364
+ @property
365
+ def columns(self):
366
+ """Gets the columns of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
367
+
368
+ List of columns in the table # noqa: E501
369
+
370
+ :return: The columns of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
371
+ :rtype: list[ColumnInfo]
372
+ """
373
+ return self._columns
374
+
375
+ @columns.setter
376
+ def columns(self, columns):
377
+ """Sets the columns of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
378
+
379
+ List of columns in the table # noqa: E501
380
+
381
+ :param columns: The columns of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
382
+ :type: list[ColumnInfo]
383
+ """
384
+
385
+ self._columns = columns
386
+
387
+ @property
388
+ def storage_location(self):
389
+ """Gets the storage_location of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
390
+
391
+ Physical storage location of the table data # noqa: E501
392
+
393
+ :return: The storage_location of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
394
+ :rtype: str
395
+ """
396
+ return self._storage_location
397
+
398
+ @storage_location.setter
399
+ def storage_location(self, storage_location):
400
+ """Sets the storage_location of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
401
+
402
+ Physical storage location of the table data # noqa: E501
403
+
404
+ :param storage_location: The storage_location of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
405
+ :type: str
406
+ """
407
+
408
+ self._storage_location = storage_location
409
+
410
+ @property
411
+ def properties(self):
412
+ """Gets the properties of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
413
+
414
+ Additional table properties # noqa: E501
415
+
416
+ :return: The properties of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
417
+ :rtype: object
418
+ """
419
+ return self._properties
420
+
421
+ @properties.setter
422
+ def properties(self, properties):
423
+ """Sets the properties of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
424
+
425
+ Additional table properties # noqa: E501
426
+
427
+ :param properties: The properties of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
428
+ :type: object
429
+ """
430
+
431
+ self._properties = properties
432
+
433
+ @property
434
+ def version(self):
435
+ """Gets the version of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
436
+
437
+ Version identifier for versioned tables (e.g., Delta Lake) # noqa: E501
438
+
439
+ :return: The version of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
440
+ :rtype: str
441
+ """
442
+ return self._version
443
+
444
+ @version.setter
445
+ def version(self, version):
446
+ """Sets the version of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
447
+
448
+ Version identifier for versioned tables (e.g., Delta Lake) # noqa: E501
449
+
450
+ :param version: The version of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
451
+ :type: str
452
+ """
453
+
454
+ self._version = version
455
+
456
+ @property
457
+ def row_count(self):
458
+ """Gets the row_count of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
459
+
460
+ Number of rows in the table # noqa: E501
461
+
462
+ :return: The row_count of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
463
+ :rtype: int
464
+ """
465
+ return self._row_count
466
+
467
+ @row_count.setter
468
+ def row_count(self, row_count):
469
+ """Sets the row_count of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
470
+
471
+ Number of rows in the table # noqa: E501
472
+
473
+ :param row_count: The row_count of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
474
+ :type: int
475
+ """
476
+
477
+ self._row_count = row_count
478
+
479
+ @property
480
+ def size_bytes(self):
481
+ """Gets the size_bytes of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
482
+
483
+ Size of the table data in bytes # noqa: E501
484
+
485
+ :return: The size_bytes of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
486
+ :rtype: int
487
+ """
488
+ return self._size_bytes
489
+
490
+ @size_bytes.setter
491
+ def size_bytes(self, size_bytes):
492
+ """Sets the size_bytes of this BackendServerApiProductModelsCatalogClientModelsTableMetadata.
493
+
494
+ Size of the table data in bytes # noqa: E501
495
+
496
+ :param size_bytes: The size_bytes of this BackendServerApiProductModelsCatalogClientModelsTableMetadata. # noqa: E501
497
+ :type: int
498
+ """
499
+
500
+ self._size_bytes = size_bytes
501
+
502
+ def to_dict(self):
503
+ """Returns the model properties as a dict"""
504
+ result = {}
505
+
506
+ for attr, _ in six.iteritems(self.openapi_types):
507
+ value = getattr(self, attr)
508
+ if isinstance(value, list):
509
+ result[attr] = list(map(
510
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
511
+ value
512
+ ))
513
+ elif hasattr(value, "to_dict"):
514
+ result[attr] = value.to_dict()
515
+ elif isinstance(value, dict):
516
+ result[attr] = dict(map(
517
+ lambda item: (item[0], item[1].to_dict())
518
+ if hasattr(item[1], "to_dict") else item,
519
+ value.items()
520
+ ))
521
+ else:
522
+ result[attr] = value
523
+
524
+ return result
525
+
526
+ def to_str(self):
527
+ """Returns the string representation of the model"""
528
+ return pprint.pformat(self.to_dict())
529
+
530
+ def __repr__(self):
531
+ """For `print` and `pprint`"""
532
+ return self.to_str()
533
+
534
+ def __eq__(self, other):
535
+ """Returns true if both objects are equal"""
536
+ if not isinstance(other, BackendServerApiProductModelsCatalogClientModelsTableMetadata):
537
+ return False
538
+
539
+ return self.to_dict() == other.to_dict()
540
+
541
+ def __ne__(self, other):
542
+ """Returns true if both objects are not equal"""
543
+ if not isinstance(other, BackendServerApiProductModelsCatalogClientModelsTableMetadata):
544
+ return True
545
+
546
+ return self.to_dict() != other.to_dict()