Skip to content

Commit 78eb48c

Browse files
DropboxBotEugene Che
andauthored
Automated Spec Update
bca5f1448ac6f65a17c9df95a5175cf7b878ad90 Change Notes: check_api_v2_service Namespace check_api_v2_types Namespace sharing_folders Namespace team_log_generated Namespace - Add UndoNamingConventionDetails, UndoOrganizeFolderWithTidyDetails, UndoNamingConventionType, UndoOrganizeFolderWithTidyType structs Co-authored-by: Eugene Che <[email protected]>
1 parent cc17caf commit 78eb48c

File tree

3 files changed

+281
-9
lines changed

3 files changed

+281
-9
lines changed

dropbox/sharing.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8260,6 +8260,8 @@ class SharePathError(bb.Union):
82608260
folder inside a Mac OS X package.
82618261
:ivar sharing.SharePathError.is_vault: We do not support sharing the Vault
82628262
folder.
8263+
:ivar sharing.SharePathError.is_vault_locked: We do not support sharing a
8264+
folder inside a locked Vault.
82638265
:ivar sharing.SharePathError.is_family: We do not support sharing the Family
82648266
folder.
82658267
"""
@@ -8292,6 +8294,8 @@ class SharePathError(bb.Union):
82928294
# Attribute is overwritten below the class definition
82938295
is_vault = None
82948296
# Attribute is overwritten below the class definition
8297+
is_vault_locked = None
8298+
# Attribute is overwritten below the class definition
82958299
is_family = None
82968300
# Attribute is overwritten below the class definition
82978301
other = None
@@ -8419,6 +8423,14 @@ def is_is_vault(self):
84198423
"""
84208424
return self._tag == 'is_vault'
84218425

8426+
def is_is_vault_locked(self):
8427+
"""
8428+
Check if the union tag is ``is_vault_locked``.
8429+
8430+
:rtype: bool
8431+
"""
8432+
return self._tag == 'is_vault_locked'
8433+
84228434
def is_is_family(self):
84238435
"""
84248436
Check if the union tag is ``is_family``.
@@ -12793,6 +12805,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
1279312805
SharePathError._is_osx_package_validator = bv.Void()
1279412806
SharePathError._inside_osx_package_validator = bv.Void()
1279512807
SharePathError._is_vault_validator = bv.Void()
12808+
SharePathError._is_vault_locked_validator = bv.Void()
1279612809
SharePathError._is_family_validator = bv.Void()
1279712810
SharePathError._other_validator = bv.Void()
1279812811
SharePathError._tagmap = {
@@ -12810,6 +12823,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
1281012823
'is_osx_package': SharePathError._is_osx_package_validator,
1281112824
'inside_osx_package': SharePathError._inside_osx_package_validator,
1281212825
'is_vault': SharePathError._is_vault_validator,
12826+
'is_vault_locked': SharePathError._is_vault_locked_validator,
1281312827
'is_family': SharePathError._is_family_validator,
1281412828
'other': SharePathError._other_validator,
1281512829
}
@@ -12827,6 +12841,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
1282712841
SharePathError.is_osx_package = SharePathError('is_osx_package')
1282812842
SharePathError.inside_osx_package = SharePathError('inside_osx_package')
1282912843
SharePathError.is_vault = SharePathError('is_vault')
12844+
SharePathError.is_vault_locked = SharePathError('is_vault_locked')
1283012845
SharePathError.is_family = SharePathError('is_family')
1283112846
SharePathError.other = SharePathError('other')
1283212847

0 commit comments

Comments
 (0)