|
| 1 | +```mermaid |
| 2 | +graph LR |
| 3 | + Core_Data_Models["Core Data Models"] |
| 4 | + User_Account_Models["User Account Models"] |
| 5 | + Team_and_Group_Models["Team and Group Models"] |
| 6 | + User_Feature_Models["User Feature Models"] |
| 7 | + Space_Allocation_Models["Space Allocation Models"] |
| 8 | + User_Account_Models -- "uses" --> Core_Data_Models |
| 9 | + Team_and_Group_Models -- "uses" --> Core_Data_Models |
| 10 | + User_Feature_Models -- "uses" --> Core_Data_Models |
| 11 | + Space_Allocation_Models -- "uses" --> Core_Data_Models |
| 12 | +``` |
| 13 | +[](https://github.com/CodeBoarding/GeneratedOnBoardings)[](https://www.codeboarding.org/demo)[](mailto:contact@codeboarding.org) |
| 14 | + |
| 15 | +## Component Details |
| 16 | + |
| 17 | +This graph illustrates the core data models and their relationships within the Dropbox SDK. The central component, 'Core Data Models', provides foundational data structures and utility classes that are widely reused. Other components, such as 'User Account Models', 'Team and Group Models', 'User Feature Models', and 'Space Allocation Models', depend on and utilize these core data models to define their specific domain-related structures, ensuring consistency and reusability across the SDK. |
| 18 | + |
| 19 | +### Core Data Models |
| 20 | +Contains shared data models and utility classes used across different parts of the Dropbox SDK, promoting consistency and reusability. This includes foundational data structures for path roots, root information (user and team specific), and common data type validators, as well as shared models specific to teams and users. |
| 21 | + |
| 22 | + |
| 23 | +**Related Classes/Methods**: |
| 24 | + |
| 25 | +- `dropbox.common` (full file reference) |
| 26 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L10-L116" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRoot` (10:116)</a> |
| 27 | +- `dropbox.common.PathRoot:home` (full file reference) |
| 28 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L34-L42" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRoot:root` (34:42)</a> |
| 29 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L45-L53" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRoot:namespace_id` (45:53)</a> |
| 30 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L87-L99" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRoot:get_root` (87:99)</a> |
| 31 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L101-L113" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRoot:get_namespace_id` (101:113)</a> |
| 32 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L55-L61" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRoot.is_home` (55:61)</a> |
| 33 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L63-L69" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRoot.is_root` (63:69)</a> |
| 34 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L71-L77" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRoot.is_namespace_id` (71:77)</a> |
| 35 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L120-L188" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRootError` (120:188)</a> |
| 36 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L140-L148" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRootError:invalid_root` (140:148)</a> |
| 37 | +- `dropbox.common.PathRootError:no_permission` (full file reference) |
| 38 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L174-L185" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRootError:get_invalid_root` (174:185)</a> |
| 39 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L150-L156" target="_blank" rel="noopener noreferrer">`dropbox.common.PathRootError.is_invalid_root` (150:156)</a> |
| 40 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L192-L228" target="_blank" rel="noopener noreferrer">`dropbox.common.RootInfo` (192:228)</a> |
| 41 | +- `dropbox.common.RootInfo:root_namespace_id` (full file reference) |
| 42 | +- `dropbox.common.RootInfo:home_namespace_id` (full file reference) |
| 43 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L232-L260" target="_blank" rel="noopener noreferrer">`dropbox.common.TeamRootInfo` (232:260)</a> |
| 44 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L246-L254" target="_blank" rel="noopener noreferrer">`dropbox.common.TeamRootInfo:__init__` (246:254)</a> |
| 45 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L259-L260" target="_blank" rel="noopener noreferrer">`dropbox.common.TeamRootInfo:_process_custom_annotations` (259:260)</a> |
| 46 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L264-L282" target="_blank" rel="noopener noreferrer">`dropbox.common.UserRootInfo` (264:282)</a> |
| 47 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L275-L279" target="_blank" rel="noopener noreferrer">`dropbox.common.UserRootInfo:__init__` (275:279)</a> |
| 48 | +- <a href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/common.py#L281-L282" target="_blank" rel="noopener noreferrer">`dropbox.common.UserRootInfo:_process_custom_annotations` (281:282)</a> |
| 49 | +- `dropbox.team_common` (full file reference) |
| 50 | +- `dropbox.users_common` (full file reference) |
| 51 | + |
| 52 | + |
| 53 | +### User Account Models |
| 54 | +This component defines the data structures for various types of user accounts, including basic and full account details, and related information like names and account retrieval arguments/errors. |
| 55 | + |
| 56 | + |
| 57 | +**Related Classes/Methods**: |
| 58 | + |
| 59 | +- `dropbox.users.Account` (full file reference) |
| 60 | +- `dropbox.users.Account:__init__` (full file reference) |
| 61 | +- `dropbox.users.Account:_process_custom_annotations` (full file reference) |
| 62 | +- `dropbox.users.BasicAccount` (full file reference) |
| 63 | +- `dropbox.users.BasicAccount:__init__` (full file reference) |
| 64 | +- `dropbox.users.BasicAccount:_process_custom_annotations` (full file reference) |
| 65 | +- `dropbox.users.FullAccount` (full file reference) |
| 66 | +- `dropbox.users.FullAccount:__init__` (full file reference) |
| 67 | +- `dropbox.users.FullAccount:_process_custom_annotations` (full file reference) |
| 68 | +- `dropbox.users.Name` (full file reference) |
| 69 | +- `dropbox.users.GetAccountArg` (full file reference) |
| 70 | +- `dropbox.users.GetAccountBatchArg` (full file reference) |
| 71 | +- `dropbox.users.GetAccountBatchError` (full file reference) |
| 72 | +- `dropbox.users.GetAccountBatchError:no_account` (full file reference) |
| 73 | +- `dropbox.users.GetAccountBatchError:get_no_account` (full file reference) |
| 74 | +- `dropbox.users.GetAccountBatchError.is_no_account` (full file reference) |
| 75 | +- `dropbox.users.GetAccountError` (full file reference) |
| 76 | + |
| 77 | + |
| 78 | +### Team and Group Models |
| 79 | +This component defines data structures for team and group information, including basic team details and full group information. It interacts with an external common group summary for shared processing. |
| 80 | + |
| 81 | + |
| 82 | +**Related Classes/Methods**: |
| 83 | + |
| 84 | +- `dropbox.users.Team` (full file reference) |
| 85 | +- `dropbox.users.Team:__init__` (full file reference) |
| 86 | +- `dropbox.users.Team:_process_custom_annotations` (full file reference) |
| 87 | +- `dropbox.users.FullTeam` (full file reference) |
| 88 | +- `dropbox.users.FullTeam:__init__` (full file reference) |
| 89 | +- `dropbox.users.FullTeam:_process_custom_annotations` (full file reference) |
| 90 | +- `dropbox.sharing.GroupInfo` (full file reference) |
| 91 | +- `dropbox.sharing.GroupInfo:__init__` (full file reference) |
| 92 | +- `dropbox.sharing.GroupInfo:_process_custom_annotations` (full file reference) |
| 93 | +- `dropbox.team.GroupFullInfo` (full file reference) |
| 94 | +- `dropbox.team.GroupFullInfo:__init__` (full file reference) |
| 95 | +- `dropbox.team.GroupFullInfo:_process_custom_annotations` (full file reference) |
| 96 | + |
| 97 | + |
| 98 | +### User Feature Models |
| 99 | +This component encapsulates various user-specific features, such as file locking and Paper document handling, defining their possible values and states. |
| 100 | + |
| 101 | + |
| 102 | +**Related Classes/Methods**: |
| 103 | + |
| 104 | +- `dropbox.users.FileLockingValue` (full file reference) |
| 105 | +- `dropbox.users.FileLockingValue:enabled` (full file reference) |
| 106 | +- `dropbox.users.FileLockingValue:get_enabled` (full file reference) |
| 107 | +- `dropbox.users.FileLockingValue.is_enabled` (full file reference) |
| 108 | +- `dropbox.users.PaperAsFilesValue` (full file reference) |
| 109 | +- `dropbox.users.PaperAsFilesValue:enabled` (full file reference) |
| 110 | +- `dropbox.users.PaperAsFilesValue:get_enabled` (full file reference) |
| 111 | +- `dropbox.users.PaperAsFilesValue.is_enabled` (full file reference) |
| 112 | +- `dropbox.users.UserFeature` (full file reference) |
| 113 | +- `dropbox.users.UserFeatureValue` (full file reference) |
| 114 | +- `dropbox.users.UserFeatureValue:paper_as_files` (full file reference) |
| 115 | +- `dropbox.users.UserFeatureValue:file_locking` (full file reference) |
| 116 | +- `dropbox.users.UserFeatureValue:get_paper_as_files` (full file reference) |
| 117 | +- `dropbox.users.UserFeatureValue:get_file_locking` (full file reference) |
| 118 | +- `dropbox.users.UserFeatureValue.is_paper_as_files` (full file reference) |
| 119 | +- `dropbox.users.UserFeatureValue.is_file_locking` (full file reference) |
| 120 | + |
| 121 | + |
| 122 | +### Space Allocation Models |
| 123 | +This component describes how storage space is allocated and used, differentiating between individual and team-based allocations. |
| 124 | + |
| 125 | + |
| 126 | +**Related Classes/Methods**: |
| 127 | + |
| 128 | +- `dropbox.users.SpaceAllocation` (full file reference) |
| 129 | +- `dropbox.users.SpaceAllocation:individual` (full file reference) |
| 130 | +- `dropbox.users.SpaceAllocation:team` (full file reference) |
| 131 | +- `dropbox.users.SpaceAllocation:get_individual` (full file reference) |
| 132 | +- `dropbox.users.SpaceAllocation:get_team` (full file reference) |
| 133 | +- `dropbox.users.SpaceAllocation.is_individual` (full file reference) |
| 134 | +- `dropbox.users.SpaceAllocation.is_team` (full file reference) |
| 135 | +- `dropbox.users.IndividualSpaceAllocation` (full file reference) |
| 136 | +- `dropbox.users.TeamSpaceAllocation` (full file reference) |
| 137 | +- `dropbox.users.SpaceUsage` (full file reference) |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | +### [FAQ](https://github.com/CodeBoarding/GeneratedOnBoardings/tree/main?tab=readme-ov-file#faq) |
0 commit comments