@@ -250,32 +250,6 @@ def file_properties_properties_update(self,
250250 )
251251 return None
252252
253- def file_properties_templates_add_for_team (self ,
254- name ,
255- description ,
256- fields ):
257- """
258- Add a template associated with a team. See
259- :meth:`file_properties_properties_add` to add properties to a file or
260- folder. Note: this endpoint will create team-owned templates.
261-
262- :rtype: :class:`dropbox.file_properties.AddTemplateResult`
263- :raises: :class:`.exceptions.ApiError`
264-
265- If this raises, ApiError will contain:
266- :class:`dropbox.file_properties.ModifyTemplateError`
267- """
268- arg = file_properties .AddTemplateArg (name ,
269- description ,
270- fields )
271- r = self .request (
272- file_properties .templates_add_for_team ,
273- 'file_properties' ,
274- arg ,
275- None ,
276- )
277- return r
278-
279253 def file_properties_templates_add_for_user (self ,
280254 name ,
281255 description ,
@@ -302,29 +276,6 @@ def file_properties_templates_add_for_user(self,
302276 )
303277 return r
304278
305- def file_properties_templates_get_for_team (self ,
306- template_id ):
307- """
308- Get the schema for a specified template.
309-
310- :param str template_id: An identifier for template added by route See
311- :meth:`file_properties_templates_add_for_user` or
312- :meth:`file_properties_templates_add_for_team`.
313- :rtype: :class:`dropbox.file_properties.GetTemplateResult`
314- :raises: :class:`.exceptions.ApiError`
315-
316- If this raises, ApiError will contain:
317- :class:`dropbox.file_properties.TemplateError`
318- """
319- arg = file_properties .GetTemplateArg (template_id )
320- r = self .request (
321- file_properties .templates_get_for_team ,
322- 'file_properties' ,
323- arg ,
324- None ,
325- )
326- return r
327-
328279 def file_properties_templates_get_for_user (self ,
329280 template_id ):
330281 """
@@ -349,26 +300,6 @@ def file_properties_templates_get_for_user(self,
349300 )
350301 return r
351302
352- def file_properties_templates_list_for_team (self ):
353- """
354- Get the template identifiers for a team. To get the schema of each
355- template use :meth:`file_properties_templates_get_for_team`.
356-
357- :rtype: :class:`dropbox.file_properties.ListTemplateResult`
358- :raises: :class:`.exceptions.ApiError`
359-
360- If this raises, ApiError will contain:
361- :class:`dropbox.file_properties.TemplateError`
362- """
363- arg = None
364- r = self .request (
365- file_properties .templates_list_for_team ,
366- 'file_properties' ,
367- arg ,
368- None ,
369- )
370- return r
371-
372303 def file_properties_templates_list_for_user (self ):
373304 """
374305 Get the template identifiers for a team. To get the schema of each
@@ -390,32 +321,6 @@ def file_properties_templates_list_for_user(self):
390321 )
391322 return r
392323
393- def file_properties_templates_remove_for_team (self ,
394- template_id ):
395- """
396- Permanently removes the specified template created from
397- :meth:`file_properties_templates_add_for_user`. All properties
398- associated with the template will also be removed. This action cannot be
399- undone.
400-
401- :param str template_id: An identifier for a template created by
402- :meth:`file_properties_templates_add_for_user` or
403- :meth:`file_properties_templates_add_for_team`.
404- :rtype: None
405- :raises: :class:`.exceptions.ApiError`
406-
407- If this raises, ApiError will contain:
408- :class:`dropbox.file_properties.TemplateError`
409- """
410- arg = file_properties .RemoveTemplateArg (template_id )
411- r = self .request (
412- file_properties .templates_remove_for_team ,
413- 'file_properties' ,
414- arg ,
415- None ,
416- )
417- return None
418-
419324 def file_properties_templates_remove_for_user (self ,
420325 template_id ):
421326 """
@@ -442,44 +347,6 @@ def file_properties_templates_remove_for_user(self,
442347 )
443348 return None
444349
445- def file_properties_templates_update_for_team (self ,
446- template_id ,
447- name = None ,
448- description = None ,
449- add_fields = None ):
450- """
451- Update a template associated with a team. This route can update the
452- template name, the template description and add optional properties to
453- templates.
454-
455- :param str template_id: An identifier for template added by See
456- :meth:`file_properties_templates_add_for_user` or
457- :meth:`file_properties_templates_add_for_team`.
458- :param Nullable name: A display name for the template. template names
459- can be up to 256 bytes.
460- :param Nullable description: Description for the new template. Template
461- descriptions can be up to 1024 bytes.
462- :param Nullable add_fields: Property field templates to be added to the
463- group template. There can be up to 32 properties in a single
464- template.
465- :rtype: :class:`dropbox.file_properties.UpdateTemplateResult`
466- :raises: :class:`.exceptions.ApiError`
467-
468- If this raises, ApiError will contain:
469- :class:`dropbox.file_properties.ModifyTemplateError`
470- """
471- arg = file_properties .UpdateTemplateArg (template_id ,
472- name ,
473- description ,
474- add_fields )
475- r = self .request (
476- file_properties .templates_update_for_team ,
477- 'file_properties' ,
478- arg ,
479- None ,
480- )
481- return r
482-
483350 def file_properties_templates_update_for_user (self ,
484351 template_id ,
485352 name = None ,
@@ -4278,6 +4145,12 @@ def sharing_update_folder_policy(self,
42784145 )
42794146 return r
42804147
4148+ # ------------------------------------------
4149+ # Routes in team namespace
4150+
4151+ # ------------------------------------------
4152+ # Routes in team_log namespace
4153+
42814154 # ------------------------------------------
42824155 # Routes in users namespace
42834156
0 commit comments