@@ -109,15 +109,15 @@ def openapi_types():
109109 """
110110 lazy_import ()
111111 return {
112- 'user_permission' : (int ,), # noqa: E501
113- 'nature' : (str ,), # noqa: E501
114112 'name' : (str ,), # noqa: E501
115- 'created_by ' : (bool , date , datetime , dict , float , int , list , str , none_type ,), # noqa: E501
113+ 'groups_permissions ' : ([ GroupFolderRead ] ,), # noqa: E501
116114 'type' : (str ,), # noqa: E501
117- 'created_at' : (datetime ,), # noqa: E501
115+ 'created_by' : (bool , date , datetime , dict , float , int , list , str , none_type ,), # noqa: E501
116+ 'nature' : (str ,), # noqa: E501
117+ 'user_permission' : (int ,), # noqa: E501
118118 'updated_at' : (datetime ,), # noqa: E501
119119 'id' : (int ,), # noqa: E501
120- 'groups_permissions ' : ([ GroupFolderRead ] ,), # noqa: E501
120+ 'created_at ' : (datetime ,), # noqa: E501
121121 'conflicting_documents' : ([LightDocument ],), # noqa: E501
122122 'parent_id' : (int , none_type ,), # noqa: E501
123123 'default_permission' : (int ,), # noqa: E501
@@ -129,49 +129,49 @@ def discriminator():
129129
130130
131131 attribute_map = {
132- 'user_permission' : 'user_permission' , # noqa: E501
133- 'nature' : 'nature' , # noqa: E501
134132 'name' : 'name' , # noqa: E501
135- 'created_by ' : 'created_by ' , # noqa: E501
133+ 'groups_permissions ' : 'groups_permissions ' , # noqa: E501
136134 'type' : 'type' , # noqa: E501
137- 'created_at' : 'created_at' , # noqa: E501
135+ 'created_by' : 'created_by' , # noqa: E501
136+ 'nature' : 'nature' , # noqa: E501
137+ 'user_permission' : 'user_permission' , # noqa: E501
138138 'updated_at' : 'updated_at' , # noqa: E501
139139 'id' : 'id' , # noqa: E501
140- 'groups_permissions ' : 'groups_permissions ' , # noqa: E501
140+ 'created_at ' : 'created_at ' , # noqa: E501
141141 'conflicting_documents' : 'conflicting_documents' , # noqa: E501
142142 'parent_id' : 'parent_id' , # noqa: E501
143143 'default_permission' : 'default_permission' , # noqa: E501
144144 }
145145
146146 read_only_vars = {
147- 'user_permission' , # noqa: E501
148- 'nature' , # noqa: E501
149- 'created_by' , # noqa: E501
147+ 'groups_permissions' , # noqa: E501
150148 'type' , # noqa: E501
151- 'created_at' , # noqa: E501
149+ 'created_by' , # noqa: E501
150+ 'nature' , # noqa: E501
151+ 'user_permission' , # noqa: E501
152152 'updated_at' , # noqa: E501
153153 'id' , # noqa: E501
154- 'groups_permissions ' , # noqa: E501
154+ 'created_at ' , # noqa: E501
155155 'conflicting_documents' , # noqa: E501
156156 }
157157
158158 _composed_schemas = {}
159159
160160 @classmethod
161161 @convert_js_args_to_python_args
162- def _from_openapi_data (cls , user_permission , nature , name , created_by , type , created_at , updated_at , id , groups_permissions , conflicting_documents , * args , ** kwargs ): # noqa: E501
162+ def _from_openapi_data (cls , name , groups_permissions , type , created_by , nature , user_permission , updated_at , id , created_at , conflicting_documents , * args , ** kwargs ): # noqa: E501
163163 """EditFolder - a model defined in OpenAPI
164164
165165 Args:
166- user_permission (int): Aggregate of group user permissions and folder default permission
167- nature (str): Value is \" Folder\" . It is usefull to parse the tree and discriminate folders and files
168166 name (str): Name of the folder
169- created_by (bool, date, datetime, dict, float, int, list, str, none_type):
167+ groups_permissions ([GroupFolderRead]): List of group permissions
170168 type (str): DEPRECATED: Use 'nature' instead. Value is \" Folder\" . It is usefull to parse the tree and discriminate folders and files
171- created_at (datetime): Creation date
169+ created_by (bool, date, datetime, dict, float, int, list, str, none_type):
170+ nature (str): Value is \" Folder\" . It is usefull to parse the tree and discriminate folders and files
171+ user_permission (int): Aggregate of group user permissions and folder default permission
172172 updated_at (datetime): Date of the last update
173173 id (int):
174- groups_permissions ([GroupFolderRead] ): List of group permissions
174+ created_at (datetime ): Creation date
175175 conflicting_documents ([LightDocument]): Return document with naming conflict. This is only set when you move a folder
176176
177177 Keyword Args:
@@ -234,15 +234,15 @@ def _from_openapi_data(cls, user_permission, nature, name, created_by, type, cre
234234 self ._configuration = _configuration
235235 self ._visited_composed_classes = _visited_composed_classes + (self .__class__ ,)
236236
237- self .user_permission = user_permission
238- self .nature = nature
239237 self .name = name
240- self .created_by = created_by
238+ self .groups_permissions = groups_permissions
241239 self .type = type
242- self .created_at = created_at
240+ self .created_by = created_by
241+ self .nature = nature
242+ self .user_permission = user_permission
243243 self .updated_at = updated_at
244244 self .id = id
245- self .groups_permissions = groups_permissions
245+ self .created_at = created_at
246246 self .conflicting_documents = conflicting_documents
247247 for var_name , var_value in kwargs .items ():
248248 if var_name not in self .attribute_map and \
@@ -267,6 +267,7 @@ def _from_openapi_data(cls, user_permission, nature, name, created_by, type, cre
267267 def __init__ (self , name , * args , ** kwargs ): # noqa: E501
268268 """EditFolder - a model defined in OpenAPI
269269
270+ Args:
270271 name (str): Name of the folder
271272 Keyword Args:
272273 _check_type (bool): if True, values for parameters in openapi_types
0 commit comments