3232
3333def lazy_import ():
3434 from bimdata_api_client .model .tag import Tag
35+ from bimdata_api_client .model .user import User
3536 globals ()['Tag' ] = Tag
37+ globals ()['User' ] = User
3638
3739
3840class Document (ModelNormal ):
@@ -104,6 +106,7 @@ def openapi_types():
104106 lazy_import ()
105107 return {
106108 'id' : (int ,), # noqa: E501
109+ 'created_by' : (bool , date , datetime , dict , float , int , list , str , none_type ,), # noqa: E501
107110 'project' : (int ,), # noqa: E501
108111 'name' : (str ,), # noqa: E501
109112 'file' : (str ,), # noqa: E501
@@ -114,7 +117,6 @@ def openapi_types():
114117 'ifc_id' : (int , none_type ,), # noqa: E501
115118 'user_permission' : (int ,), # noqa: E501
116119 'parent_id' : (int , none_type ,), # noqa: E501
117- 'creator' : (int , none_type ,), # noqa: E501
118120 'file_name' : (str ,), # noqa: E501
119121 'description' : (str , none_type ,), # noqa: E501
120122 'size' : (int , none_type ,), # noqa: E501
@@ -127,6 +129,7 @@ def discriminator():
127129
128130 attribute_map = {
129131 'id' : 'id' , # noqa: E501
132+ 'created_by' : 'created_by' , # noqa: E501
130133 'project' : 'project' , # noqa: E501
131134 'name' : 'name' , # noqa: E501
132135 'file' : 'file' , # noqa: E501
@@ -137,14 +140,14 @@ def discriminator():
137140 'ifc_id' : 'ifc_id' , # noqa: E501
138141 'user_permission' : 'user_permission' , # noqa: E501
139142 'parent_id' : 'parent_id' , # noqa: E501
140- 'creator' : 'creator' , # noqa: E501
141143 'file_name' : 'file_name' , # noqa: E501
142144 'description' : 'description' , # noqa: E501
143145 'size' : 'size' , # noqa: E501
144146 }
145147
146148 read_only_vars = {
147149 'id' , # noqa: E501
150+ 'created_by' , # noqa: E501
148151 'project' , # noqa: E501
149152 'tags' , # noqa: E501
150153 'created_at' , # noqa: E501
@@ -158,11 +161,12 @@ def discriminator():
158161
159162 @classmethod
160163 @convert_js_args_to_python_args
161- def _from_openapi_data (cls , id , project , name , file , tags , created_at , updated_at , model_id , ifc_id , user_permission , * args , ** kwargs ): # noqa: E501
164+ def _from_openapi_data (cls , id , created_by , project , name , file , tags , created_at , updated_at , model_id , ifc_id , user_permission , * args , ** kwargs ): # noqa: E501
162165 """Document - a model defined in OpenAPI
163166
164167 Args:
165168 id (int):
169+ created_by (bool, date, datetime, dict, float, int, list, str, none_type):
166170 project (int):
167171 name (str): Shown name of the file
168172 file (str):
@@ -205,7 +209,6 @@ def _from_openapi_data(cls, id, project, name, file, tags, created_at, updated_a
205209 through its discriminator because we passed in
206210 _visited_composed_classes = (Animal,)
207211 parent_id (int, none_type): [optional] # noqa: E501
208- creator (int, none_type): [optional] # noqa: E501
209212 file_name (str): Full name of the file. [optional] # noqa: E501
210213 description (str, none_type): Description of the file. [optional] # noqa: E501
211214 size (int, none_type): Size of the file.. [optional] # noqa: E501
@@ -237,6 +240,7 @@ def _from_openapi_data(cls, id, project, name, file, tags, created_at, updated_a
237240 self ._visited_composed_classes = _visited_composed_classes + (self .__class__ ,)
238241
239242 self .id = id
243+ self .created_by = created_by
240244 self .project = project
241245 self .name = name
242246 self .file = file
@@ -303,7 +307,6 @@ def __init__(self, name, file, *args, **kwargs): # noqa: E501
303307 through its discriminator because we passed in
304308 _visited_composed_classes = (Animal,)
305309 parent_id (int, none_type): [optional] # noqa: E501
306- creator (int, none_type): [optional] # noqa: E501
307310 file_name (str): Full name of the file. [optional] # noqa: E501
308311 description (str, none_type): Description of the file. [optional] # noqa: E501
309312 size (int, none_type): Size of the file.. [optional] # noqa: E501
0 commit comments