@@ -91,10 +91,10 @@ def openapi_types():
91
91
"""
92
92
return {
93
93
'name' : (str ,), # noqa: E501
94
- 'size' : (int ,), # noqa: E501
95
94
'status' : (str ,), # noqa: E501
95
+ 'size' : (int ,), # noqa: E501
96
96
'dimension' : (int ,), # noqa: E501
97
- 'record_count ' : (int ,), # noqa: E501
97
+ 'vector_count ' : (int ,), # noqa: E501
98
98
'environment' : (str ,), # noqa: E501
99
99
}
100
100
@@ -105,10 +105,10 @@ def discriminator():
105
105
106
106
attribute_map = {
107
107
'name' : 'name' , # noqa: E501
108
- 'size' : 'size' , # noqa: E501
109
108
'status' : 'status' , # noqa: E501
109
+ 'size' : 'size' , # noqa: E501
110
110
'dimension' : 'dimension' , # noqa: E501
111
- 'record_count ' : 'record_count ' , # noqa: E501
111
+ 'vector_count ' : 'vector_count ' , # noqa: E501
112
112
'environment' : 'environment' , # noqa: E501
113
113
}
114
114
@@ -119,15 +119,12 @@ def discriminator():
119
119
120
120
@classmethod
121
121
@convert_js_args_to_python_args
122
- def _from_openapi_data (cls , name , size , status , dimension , record_count , * args , ** kwargs ): # noqa: E501
122
+ def _from_openapi_data (cls , name , status , * args , ** kwargs ): # noqa: E501
123
123
"""CollectionModel - a model defined in OpenAPI
124
124
125
125
Args:
126
126
name (str):
127
- size (int): The size of the collection in bytes.
128
127
status (str): The status of the collection.
129
- dimension (int): The dimension of the vectors stored in each record held in the collection
130
- record_count (int): The number of records stored in the collection
131
128
132
129
Keyword Args:
133
130
_check_type (bool): if True, values for parameters in openapi_types
@@ -160,6 +157,9 @@ def _from_openapi_data(cls, name, size, status, dimension, record_count, *args,
160
157
Animal class but this time we won't travel
161
158
through its discriminator because we passed in
162
159
_visited_composed_classes = (Animal,)
160
+ size (int): The size of the collection in bytes.. [optional] # noqa: E501
161
+ dimension (int): The dimension of the vectors stored in each record held in the collection. [optional] # noqa: E501
162
+ vector_count (int): The number of records stored in the collection. [optional] # noqa: E501
163
163
environment (str): The environment where the collection is hosted.. [optional] # noqa: E501
164
164
"""
165
165
@@ -189,10 +189,7 @@ def _from_openapi_data(cls, name, size, status, dimension, record_count, *args,
189
189
self ._visited_composed_classes = _visited_composed_classes + (self .__class__ ,)
190
190
191
191
self .name = name
192
- self .size = size
193
192
self .status = status
194
- self .dimension = dimension
195
- self .record_count = record_count
196
193
for var_name , var_value in kwargs .items ():
197
194
if var_name not in self .attribute_map and \
198
195
self ._configuration is not None and \
@@ -213,15 +210,12 @@ def _from_openapi_data(cls, name, size, status, dimension, record_count, *args,
213
210
])
214
211
215
212
@convert_js_args_to_python_args
216
- def __init__ (self , name , size , status , dimension , record_count , * args , ** kwargs ): # noqa: E501
213
+ def __init__ (self , name , status , * args , ** kwargs ): # noqa: E501
217
214
"""CollectionModel - a model defined in OpenAPI
218
215
219
216
Args:
220
217
name (str):
221
- size (int): The size of the collection in bytes.
222
218
status (str): The status of the collection.
223
- dimension (int): The dimension of the vectors stored in each record held in the collection
224
- record_count (int): The number of records stored in the collection
225
219
226
220
Keyword Args:
227
221
_check_type (bool): if True, values for parameters in openapi_types
@@ -254,6 +248,9 @@ def __init__(self, name, size, status, dimension, record_count, *args, **kwargs)
254
248
Animal class but this time we won't travel
255
249
through its discriminator because we passed in
256
250
_visited_composed_classes = (Animal,)
251
+ size (int): The size of the collection in bytes.. [optional] # noqa: E501
252
+ dimension (int): The dimension of the vectors stored in each record held in the collection. [optional] # noqa: E501
253
+ vector_count (int): The number of records stored in the collection. [optional] # noqa: E501
257
254
environment (str): The environment where the collection is hosted.. [optional] # noqa: E501
258
255
"""
259
256
@@ -281,10 +278,7 @@ def __init__(self, name, size, status, dimension, record_count, *args, **kwargs)
281
278
self ._visited_composed_classes = _visited_composed_classes + (self .__class__ ,)
282
279
283
280
self .name = name
284
- self .size = size
285
281
self .status = status
286
- self .dimension = dimension
287
- self .record_count = record_count
288
282
for var_name , var_value in kwargs .items ():
289
283
if var_name not in self .attribute_map and \
290
284
self ._configuration is not None and \
0 commit comments